Проблему локализовал, но не решил. Astmanproxy отдает сообщения канала, указанного в настройке экстеншна.
При звонке с 0442 на 0122 в сообщения в канале SIP/0122 присутствуют данные о 0122 и 0442, а в канале SIP/0442 - только 0442. Это баг или фича?
Код: Выделить всё
Event: Newchannel
Privilege: call,all
Channel: SIP/0122-00005b48
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: 0122
CallerIDName: device
AccountCode:
Exten: 0442
Context: from-internal
Uniqueid: 1335369793.34621
Event: Newstate
Privilege: call,all
Channel: SIP/0122-00005b48
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 0122
CallerIDName: device
Uniqueid: 1335369793.34621
Event: NewCallerid
Privilege: call,all
Channel: SIP/0122-00005b48
CallerIDNum: 0122
CallerIDName:
Uniqueid: 1335369793.34621
CID-CallingPres: 0 (Presentation Allowed, Not Screened)
Event: Newchannel
Privilege: call,all
Channel: SIP/0442-00005b49
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum:
CallerIDName:
AccountCode:
Exten:
Context: from-internal
Uniqueid: 1335369793.34622
Event: Dial
Privilege: call,all
SubEvent: Begin
Channel: SIP/0122-00005b48
Destination: SIP/0442-00005b49
CallerIDNum: 0122
CallerIDName:
UniqueID: 1335369793.34621
DestUniqueID: 1335369793.34622
Dialstring: 0442
Event: NewCallerid
Privilege: call,all
Channel: SIP/0442-00005b49
CallerIDNum: 0442
CallerIDName:
Uniqueid: 1335369793.34622
CID-CallingPres: 0 (Presentation Allowed, Not Screened)
Event: Newstate
Privilege: call,all
Channel: SIP/0442-00005b49
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: 0442
CallerIDName:
Uniqueid: 1335369793.34622