Перейти к содержимому
Калькуляторы

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 это подтверждает)

Но!

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

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

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

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.

Изменено пользователем Andris

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

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

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.