CallerID по каналу IAX
Есть такая схема
--ISDN/PRI->Asterisk A<--IAX2-->Asterisk B-->ISDN/PRI
Трассировка при звонке с Asterisk A на Asterisk B
-- Executing [5515@gr_1:2] Verbose("SIP/4600-08288aa8", "4600") in new stack
4600-r*CLI>
-- Executing [5515@gr_1:3] Dial("SIP/4600-08288aa8", "IAX2/sem/5515") in new stack
[Jun 26 11:40:41] DEBUG[13641]: chan_iax2.c:2949 create_addr: prepending 8 to prefs
-- Called sem/5515
-- Call accepted by 10.10.1.3 (format alaw)
-- Format for call is alaw
-- IAX2/semenovka-16384 is ringing
Трассировка со стороны Asterisk B
> requested format = alaw,
> requested prefs = (alaw|ulaw|g726|gsm|ilbc|g729|g723),
> actual format = alaw,
> host prefs = (alaw|ulaw|g726|gsm|ilbc|g729|g723),
> priority = mine
-- Executing [5515@default:1] Macro("IAX2/simf-3", "stdexten|5515|Zap/g1/5515") in new stack
-- Executing [s@macro-stdexten:1] Verbose("IAX2/simf-3", "") in new stack
voip-ngdu-r*CLI>
-- Executing [s@macro-stdexten:2] Dial("IAX2/simf-3", "Zap/g1/5515|20") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/5515
-- Zap/1-1 is ringing
как видно не передается CallerID в IAX транке , подскажите что покрутить в iax.conf и увидеть
CallerID со стороны Asterisk B
iax.conf Asterisk A
[sem]
type=friend
host=dynamic
trunk=yes
sendani=yes
secret=welcome
context=incoming_sem
deny=0.0.0.0/0.0.0.0
permit=10.10.1.3/255.255.255.255
iax.conf Asterisk B
[simf]
type=friend
host=dynamic
trunk=yes
sendani=yes
secret=welcome
context=incoming_simf
deny=0.0.0.0/0.0.0.0
permit=10.20.24.5/255.255.255.255
|