Jump to content
Калькуляторы

cisco 2421 и CallerId

Добрый день. Имеется старый голосовой шлюз, соединенный с Asterisk по Sip trunk.

Проблема: при исходящем знонке не ходят caller-id.

Часть конфига cisco:

 

Current configuration : 3804 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname IAD2421
!
boot-start-marker
boot system flash c2430-ik9o3s-mz.124-25g.bin
boot-end-marker
!
!card type command needed for slot 1
logging buffered 4096 warnings
logging monitor errors
enable password some super secret password
!
no aaa new-model
clock timezone GMT 3

!
!         
ip cef
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
interface FastEthernet0/0
ip address 10.55.48.28 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
no ip http server
no ip http secure-server
!
ip forward-protocol nd
!
!         
!
!
!
control-plane
voice-port 2/0
no vad
no comfort-noise
description some abonent
station-id name abonent
station-id number 160
caller-id enable

!
...
опущу остальные порты.
...
dial-peer voice 100 voip
description Route Calls to Asterisk
destination-pattern 1..
session protocol sipv2
session target ipv4:10.55.48.18:5060
session transport udp
dtmf-relay cisco-rtp rtp-nte h245-signal h245-alphanumeric
codec g711alaw
fax-relay ecm disable
clid strip
!
...
sip-ua 
no remote-party-id
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers trying 1000
sip-server ipv4:10.55.48.18:5060
!
!
!
line con 0
line aux 0
line vty 0 4
password ololo))
login
transport input all
!
end


Почитав интернет понял, что проблема в параметре

clid strip

Который полностью срезает CalleId при звонке в сторону Asterisk

(asterisk sip debug это подтверждает)

Но!

Если убрать эту опцию, то исходящие вообще работать перестают.

Как выяснить почему? Как эту циску дебажить?

Share this post


Link to post
Share on other sites

shader, у Вас явно стоит задача вообще не отдавать на Asterisk Caller ID, причём ещё и физически выставлять его в Null? Судя по всему, всё же нет. Используйте вариант

clid restrict

если хочется просто отключить его отображение.

 

The clid restrict command causes the calling-party number to be present in the information element, but the presentation indicator is set to "n" to prevent its presentation to the called party.

 

The clid strip command causes the calling-party number to be null in the information element, and the presentation indicator is set to "n" to prevent its presentation to the called party.

Edited by Andris

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.