Проблемы с Caller ID
Добавлено: 04 июл 2013, 16:23
Всем Приветствую всех присутствующих!! У меня такая проблема. Стоит на Hyper-v asterisk 1.8+freepbx2.11. к есть железка Grandstream GXW4232, софтофоны и ip телефоны, так вот когда начинаю звонить с аналогового телефона через эту железку на софтофон или ip телефон вместо Caller ID показывает anonymous. А когда с софтофона на ip телефон то все нормально. я так понимаю и из-за этого же не пускает в город. Но самое интересное что если с аналога оставляется сообщение на голосовую почту то там нормально определяется номер звонящего. на аналог так же легко дозванивается с любого телефона. Вот что пишет в CLI:
Помогите разобраться и сильно не ругайте(только начал осваивать)
Код: Выделить всё
== Using UDPTL TOS bits 184
== Using UDPTL CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [101@from-internal:1] Set("SIP/110-00000002", "__RINGTIMER=15") in new stack
-- Executing [101@from-internal:2] Macro("SIP/110-00000002", "exten-vm,novm,101,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/110-00000002", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/110-00000002", "TOUCH_MONITOR=1372940479.2") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/110-00000002", "AMPUSER=110") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/110-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/110-00000002", "1?Set(REALCALLERIDNUM=110)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/110-00000002", "AMPUSER=110") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/110-00000002", "AMPUSERCIDNAME=Вася") in new stack
-- Executing [s@macro-user-callerid:7] GotoIf("SIP/110-00000002", "0?report") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/110-00000002", "AMPUSERCID=110") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/110-00000002", "__DIAL_OPTIONS=tr") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/110-00000002", "CALLERID(all)="Вася" <110>") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/110-00000002", "0?limit") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/110-00000002", "0?Set(GROUP(concurrency_limit)=110)") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/110-00000002", "0?continue") in new stack
-- Executing [s@macro-user-callerid:14] Set("SIP/110-00000002", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/110-00000002", "1?continue") in new stack
-- Goto (macro-user-callerid,s,26)
-- Executing [s@macro-user-callerid:26] Set("SIP/110-00000002", "CALLERID(number)=110") in new stack
-- Executing [s@macro-user-callerid:27] Set("SIP/110-00000002", "CALLERID(name)=Вася") in new stack
-- Executing [s@macro-user-callerid:28] Set("SIP/110-00000002", "CDR(cnum)=110") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/110-00000002", "CDR(cnam)=Вася") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/110-00000002", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/110-00000002", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/110-00000002", "__EXTTOCALL=101") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/110-00000002", "__PICKUPMARK=101") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/110-00000002", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/110-00000002", "sub-record-check,s,1(exten,101,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/110-00000002", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/110-00000002", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/110-00000002", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/110-00000002", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/110-00000002", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/110-00000002", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/110-00000002", "0?exten,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/110-00000002", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/110-00000002", "NOW=1372940479") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/110-00000002", "__DAY=04") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/110-00000002", "__MONTH=07") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/110-00000002", "__YEAR=2013") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/110-00000002", "__TIMESTR=20130704-162119") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/110-00000002", "__FROMEXTEN=110") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/110-00000002", "__CALLFILENAME=exten-101-110-20130704-162119-1372940479.2") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/110-00000002", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/110-00000002", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/110-00000002", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/110-00000002", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/110-00000002", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/110-00000002", "0?record,1(exten,101,110)") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/110-00000002", "") in new stack
-- Executing [s@macro-exten-vm:7] Macro("SIP/110-00000002", "dial-one,,tr,101") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/110-00000002", "DEXTEN=101") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/110-00000002", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/110-00000002", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/110-00000002", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/110-00000002", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/110-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/110-00000002", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/110-00000002", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/110-00000002", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/110-00000002", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/110-00000002", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/110-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/110-00000002", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/110-00000002", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/110-00000002", "DEVICES=101") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/110-00000002", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/110-00000002", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/110-00000002", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/110-00000002", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/110-00000002", "THISDIAL=SIP/101") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/110-00000002", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/110-00000002", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/110-00000002", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/110-00000002", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/110-00000002", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/110-00000002", "THISPART2=SIP/101") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/110-00000002", "0?Set(THISPART2=DAHDI/101)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/110-00000002", "NEWDIAL=SIP/101&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/110-00000002", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/110-00000002", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/110-00000002", "THISDIAL=SIP/101") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/110-00000002", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/110-00000002", "DSTRING=SIP/101&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/110-00000002", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/110-00000002", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/110-00000002", "DSTRING=SIP/101") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/110-00000002", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/110-00000002", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/110-00000002", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/110-00000002", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/110-00000002", "DB(CALLTRACE/101)=110") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/110-00000002", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/110-00000002", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/110-00000002", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/110-00000002", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/110-00000002", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/110-00000002", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/110-00000002", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/110-00000002", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/110-00000002", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/110-00000002", "0?godial") in new stack
-- Executing [s@macro-dial-one:39] Set("SIP/110-00000002", "CONNECTEDLINE(name,i)=Уткин Дмитрий") in new stack
-- Executing [s@macro-dial-one:40] Set("SIP/110-00000002", "CONNECTEDLINE(num)=101") in new stack
-- Executing [s@macro-dial-one:41] Set("SIP/110-00000002", "D_OPTIONS=trI") in new stack
-- Executing [s@macro-dial-one:42] Dial("SIP/110-00000002", "SIP/101,,trI") in new stack
== Using UDPTL TOS bits 184