Here are 2 traces. First one is a call from Alcatel to IP. CallerID/Name works fine both directions. The second is a call from IP to Alcatel which does not work. The IP phone receives the name/number from Alcatel and updates fine but the Alcatel only receives the number from FreePBX. the name sent up by
– Accepting call from ‘5007’ to ‘3088’ on channel 0/1, span 1
– Executing [[email protected]:1] Set(“DAHDI/i1/5007-1045”, “DID=3088”) in new stack
– Executing [[email protected]:2] Goto(“DAHDI/i1/5007-1045”, “s,1”) in new stack
– Goto (from-zaptel,s,1)
– Executing [[email protected]:1] NoOp(“DAHDI/i1/5007-1045”, “Entering from-dahdi with DID == 3088”) in new stack
– Executing [[email protected]:2] Ringing(“DAHDI/i1/5007-1045”, “”) in new stack
– Executing [[email protected]:3] Set(“DAHDI/i1/5007-1045”, “DID=3088”) in new stack
– Executing [[email protected]:4] NoOp(“DAHDI/i1/5007-1045”, “DID is now 3088”) in new stack
– Executing [[email protected]:5] GotoIf(“DAHDI/i1/5007-1045”, “1?dahdiok:checkzap”) in new stack
– Goto (from-zaptel,s,9)
– Executing [[email protected]:9] NoOp(“DAHDI/i1/5007-1045”, “Is a DAHDi Channel”) in new stack
– Executing [[email protected]:10] Set(“DAHDI/i1/5007-1045”, “CHAN=i1/5007-1045”) in new stack
– Executing [[email protected]:11] Set(“DAHDI/i1/5007-1045”, “CHAN=i1/5007”) in new stack
– Executing [[email protected]:12] Macro(“DAHDI/i1/5007-1045”, “from-dahdi-i1/5007,3088,1”) in new stack
[2012-05-08 16:55:07] WARNING[16794]: app_macro.c:309 _macro_exec: No such context ‘macro-from-dahdi-i1/5007’ for macro ‘from-dahdi-i1/5007’
– Executing [[email protected]:13] NoOp(“DAHDI/i1/5007-1045”, “Returned from Macro from-dahdi-i1/5007”) in new stack
– Executing [[email protected]:14] Goto(“DAHDI/i1/5007-1045”, “from-pstn,3088,1”) in new stack
– Goto (from-pstn,3088,1)
– Executing [[email protected]:1] Set(“DAHDI/i1/5007-1045”, “__FROM_DID=3088”) in new stack
– Executing [[email protected]:2] Gosub(“DAHDI/i1/5007-1045”, “app-blacklist-check,s,1()”) in new stack
– Executing [[email protected]:1] GotoIf(“DAHDI/i1/5007-1045”, “0?blacklisted”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i1/5007-1045”, “CALLED_BLACKLIST=1”) in new stack
– Executing [[email protected]:3] Return(“DAHDI/i1/5007-1045”, “”) in new stack
– Executing [[email protected]:3] Set(“DAHDI/i1/5007-1045”, “CDR(did)=3088”) in new stack
– Executing [[email protected]:4] ExecIf(“DAHDI/i1/5007-1045”, “0 ?Set(CALLERID(name)=5007)”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i1/5007-1045”, “__CALLINGPRES_SV=allowed_passed_screen”) in new stack
– Executing [[email protected]:6] Set(“DAHDI/i1/5007-1045”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [[email protected]:7] Goto(“DAHDI/i1/5007-1045”, “from-did-direct,3088,1”) in new stack
– Goto (from-did-direct,3088,1)
– Executing [[email protected]:1] Set(“DAHDI/i1/5007-1045”, “__RINGTIMER=20”) in new stack
– Executing [[email protected]:2] Macro(“DAHDI/i1/5007-1045”, “exten-vm,novm,3088,0,0,0”) in new stack
– Executing [[email protected]:1] Macro(“DAHDI/i1/5007-1045”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“DAHDI/i1/5007-1045”, “AMPUSER=5007”) in new stack
– Executing [[email protected]:2] GotoIf(“DAHDI/i1/5007-1045”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“DAHDI/i1/5007-1045”, “1?Set(REALCALLERIDNUM=5007)”) in new stack
– Executing [[email protected]:4] Set(“DAHDI/i1/5007-1045”, “AMPUSER=”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i1/5007-1045”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:6] GotoIf(“DAHDI/i1/5007-1045”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [[email protected]:13] GotoIf(“DAHDI/i1/5007-1045”, “0?continue”) in new stack
– Executing [[email protected]:14] Set(“DAHDI/i1/5007-1045”, “__TTL=64”) in new stack
– Executing [[email protected]:15] GotoIf(“DAHDI/i1/5007-1045”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,26)
– Executing [[email protected]:26] Set(“DAHDI/i1/5007-1045”, “CALLERID(number)=5007”) in new stack
– Executing [[email protected]:27] Set(“DAHDI/i1/5007-1045”, “CALLERID(name)=IT12 5007”) in new stack
– Executing [[email protected]:28] Set(“DAHDI/i1/5007-1045”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i1/5007-1045”, “RingGroupMethod=none”) in new stack
– Executing [[email protected]:3] Set(“DAHDI/i1/5007-1045”, “__EXTTOCALL=3088”) in new stack
– Executing [[email protected]:4] Set(“DAHDI/i1/5007-1045”, “__PICKUPMARK=3088”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i1/5007-1045”, “RT=”) in new stack
– Executing [[email protected]:6] Gosub(“DAHDI/i1/5007-1045”, “sub-record-check,s,1(exten,3088,)”) in new stack
– Executing [[email protected]:1] GotoIf(“DAHDI/i1/5007-1045”, “1?check”) in new stack
– Goto (sub-record-check,s,6)
– Executing [[email protected]:6] Set(“DAHDI/i1/5007-1045”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:7] GotoIf(“DAHDI/i1/5007-1045”, “1?next”) in new stack
– Goto (sub-record-check,s,10)
– Executing [[email protected]:10] ExecIf(“DAHDI/i1/5007-1045”, “0?Return()”) in new stack
– Executing [[email protected]:11] GotoIf(“DAHDI/i1/5007-1045”, “0?exten,1”) in new stack
– Executing [[email protected]:12] Set(“DAHDI/i1/5007-1045”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:13] ExecIf(“DAHDI/i1/5007-1045”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:14] Set(“DAHDI/i1/5007-1045”, “NOW=1336492507”) in new stack
– Executing [[email protected]:15] Set(“DAHDI/i1/5007-1045”, “__DAY=08”) in new stack
– Executing [[email protected]:16] Set(“DAHDI/i1/5007-1045”, “__MONTH=05”) in new stack
– Executing [[email protected]:17] Set(“DAHDI/i1/5007-1045”, “__YEAR=2012”) in new stack
– Executing [[email protected]:18] Set(“DAHDI/i1/5007-1045”, “__TIMESTR=20120508-165507”) in new stack
– Executing [[email protected]:19] Set(“DAHDI/i1/5007-1045”, “__FROMEXTEN=5007”) in new stack
– Executing [[email protected]:20] Set(“DAHDI/i1/5007-1045”, “__CALLFILENAME=exten-3088-5007-20120508-165507-1336492507.16482”) in new stack
– Executing [[email protected]:21] Goto(“DAHDI/i1/5007-1045”, “exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [[email protected]:1] GotoIf(“DAHDI/i1/5007-1045”, “0?callee”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i1/5007-1045”, “__REC_POLICY_MODE=dontcare”) in new stack
– Executing [[email protected]:3] GotoIf(“DAHDI/i1/5007-1045”, “1?caller”) in new stack
– Goto (sub-record-check,exten,10)
– Executing [[email protected]:10] Set(“DAHDI/i1/5007-1045”, “REC_POLICY_MODE=”) in new stack
– Executing [[email protected]:11] GosubIf(“DAHDI/i1/5007-1045”, “0?record,1(exten,3088,5007)”) in new stack
– Executing [[email protected]:12] Return(“DAHDI/i1/5007-1045”, “”) in new stack
– Executing [[email protected]:7] Macro(“DAHDI/i1/5007-1045”, “dial-one,trw,3088”) in new stack
– Executing [[email protected]:1] Set(“DAHDI/i1/5007-1045”, “DEXTEN=3088”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i1/5007-1045”, “DIALSTATUS_CW=”) in new stack
– Executing [[email protected]:3] GosubIf(“DAHDI/i1/5007-1045”, “0?screen,1()”) in new stack
– Executing [[email protected]:4] GosubIf(“DAHDI/i1/5007-1045”, “0?cf,1()”) in new stack
– Executing [[email protected]:5] GotoIf(“DAHDI/i1/5007-1045”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,8)
– Executing [[email protected]:8] GotoIf(“DAHDI/i1/5007-1045”, “0?nodial”) in new stack
– Executing [[email protected]:9] GotoIf(“DAHDI/i1/5007-1045”, “0?continue”) in new stack
– Executing [[email protected]:10] Set(“DAHDI/i1/5007-1045”, “EXTHASCW=ENABLED”) in new stack
– Executing [[email protected]:11] GotoIf(“DAHDI/i1/5007-1045”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,23)
– Executing [[email protected]:23] GotoIf(“DAHDI/i1/5007-1045”, “1?next3:continue”) in new stack
– Goto (macro-dial-one,s,24)
– Executing [[email protected]:24] ExecIf(“DAHDI/i1/5007-1045”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
– Executing [[email protected]:25] GotoIf(“DAHDI/i1/5007-1045”, “0?nodial”) in new stack
– Executing [[email protected]:26] GosubIf(“DAHDI/i1/5007-1045”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [[email protected]:1] Set(“DAHDI/i1/5007-1045”, “DSTRING=”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i1/5007-1045”, “DEVICES=3088”) in new stack
– Executing [[email protected]:3] ExecIf(“DAHDI/i1/5007-1045”, “0?Return()”) in new stack
– Executing [[email protected]:4] ExecIf(“DAHDI/i1/5007-1045”, “0?Set(DEVICES=088)”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i1/5007-1045”, “LOOPCNT=1”) in new stack
– Executing [[email protected]:6] Set(“DAHDI/i1/5007-1045”, “ITER=1”) in new stack
– Executing [[email protected]:7] Set(“DAHDI/i1/5007-1045”, “THISDIAL=SIP/3088”) in new stack
– Executing [[email protected]:8] GosubIf(“DAHDI/i1/5007-1045”, “1?zap2dahdi,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“DAHDI/i1/5007-1045”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“DAHDI/i1/5007-1045”, “NEWDIAL=”) in new stack
– Executing [[email protected]:3] Set(“DAHDI/i1/5007-1045”, “LOOPCNT2=1”) in new stack
– Executing [[email protected]:4] Set(“DAHDI/i1/5007-1045”, “ITER2=1”) in new stack
– Executing [[email protected]:5] Set(“DAHDI/i1/5007-1045”, “THISPART2=SIP/3088”) in new stack
– Executing [[email protected]:6] ExecIf(“DAHDI/i1/5007-1045”, “0?Set(THISPART2=DAHDI/3088)”) in new stack
– Executing [[email protected]:7] Set(“DAHDI/i1/5007-1045”, “NEWDIAL=SIP/3088&”) in new stack
– Executing [[email protected]:8] Set(“DAHDI/i1/5007-1045”, “ITER2=2”) in new stack
– Executing [[email protected]:9] GotoIf(“DAHDI/i1/5007-1045”, “0?begin2”) in new stack
– Executing [[email protected]:10] Set(“DAHDI/i1/5007-1045”, “THISDIAL=SIP/3088”) in new stack
– Executing [[email protected]:11] Return(“DAHDI/i1/5007-1045”, “”) in new stack
– Executing [[email protected]:9] Set(“DAHDI/i1/5007-1045”, “DSTRING=SIP/3088&”) in new stack
– Executing [[email protected]:10] Set(“DAHDI/i1/5007-1045”, “ITER=2”) in new stack
– Executing [[email protected]:11] GotoIf(“DAHDI/i1/5007-1045”, “0?begin”) in new stack
– Executing [[email protected]:12] Set(“DAHDI/i1/5007-1045”, “DSTRING=SIP/3088”) in new stack
– Executing [[email protected]:13] Return(“DAHDI/i1/5007-1045”, “”) in new stack
– Executing [[email protected]:27] GotoIf(“DAHDI/i1/5007-1045”, “0?nodial”) in new stack
– Executing [[email protected]:28] GotoIf(“DAHDI/i1/5007-1045”, “0?skiptrace”) in new stack
– Executing [[email protected]:29] GosubIf(“DAHDI/i1/5007-1045”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [[email protected]:1] Set(“DAHDI/i1/5007-1045”, “DB(CALLTRACE/3088)=5007”) in new stack
– Executing [[email protected]:2] Return(“DAHDI/i1/5007-1045”, “”) in new stack
– Executing [[email protected]:30] Set(“DAHDI/i1/5007-1045”, “D_OPTIONS=trw”) in new stack
– Executing [[email protected]:31] ExecIf(“DAHDI/i1/5007-1045”, “0?SIPAddHeader(Alert-Info: )”) in new stack
– Executing [[email protected]:32] ExecIf(“DAHDI/i1/5007-1045”, “0?SIPAddHeader()”) in new stack
– Executing [[email protected]:33] ExecIf(“DAHDI/i1/5007-1045”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [[email protected]:34] GosubIf(“DAHDI/i1/5007-1045”, “0?qwait,1()”) in new stack
– Executing [[email protected]:35] Set(“DAHDI/i1/5007-1045”, “__CWIGNORE=”) in new stack
– Executing [[email protected]:36] Set(“DAHDI/i1/5007-1045”, “__KEEPCID=TRUE”) in new stack
– Executing [[email protected]:37] GotoIf(“DAHDI/i1/5007-1045”, “0?usegoto,1”) in new stack
– Executing [[email protected]:38] GotoIf(“DAHDI/i1/5007-1045”, “1?godial”) in new stack
– Goto (macro-dial-one,s,42)
– Executing [[email protected]:42] Dial(“DAHDI/i1/5007-1045”, “SIP/3088,trw”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/3088
– SIP/3088-00000ff0 is ringing
– SIP/3088-00000ff0 answered DAHDI/i1/5007-1045
– Executing [[email protected]:1] Macro(“DAHDI/i1/5007-1045”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“DAHDI/i1/5007-1045”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] Hangup(“DAHDI/i1/5007-1045”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘DAHDI/i1/5007-1045’ in macro ‘hangupcall’
== Spawn extension (macro-dial-one, h, 1) exited non-zero on ‘DAHDI/i1/5007-1045’
== Spawn extension (macro-dial-one, s, 42) exited non-zero on ‘DAHDI/i1/5007-1045’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on ‘DAHDI/i1/5007-1045’ in macro ‘exten-vm’
== Spawn extension (from-did-direct, 3088, 2) exited non-zero on ‘DAHDI/i1/5007-1045’
– Hungup ‘DAHDI/i1/5007-1045’
2nd:
Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Macro(“SIP/3088-00000ff1”, “user-callerid,LIMIT,”) in new stack
– Executing [[email protected]:1] Set(“SIP/3088-00000ff1”, “AMPUSER=3088”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/3088-00000ff1”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/3088-00000ff1”, “1?Set(REALCALLERIDNUM=3088)”) in new stack
– Executing [[email protected]:4] Set(“SIP/3088-00000ff1”, “AMPUSER=3088”) in new stack
– Executing [[email protected]:5] Set(“SIP/3088-00000ff1”, “AMPUSERCIDNAME=TEST”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/3088-00000ff1”, “0?report”) in new stack
– Executing [[email protected]:7] Set(“SIP/3088-00000ff1”, “AMPUSERCID=3088”) in new stack
– Executing [[email protected]:8] Set(“SIP/3088-00000ff1”, “CALLERID(all)=“TEST” <3088>”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/3088-00000ff1”, “0?limit”) in new stack
– Executing [[email protected]:10] ExecIf(“SIP/3088-00000ff1”, “1?Set(GROUP(concurrency_limit)=3088)”) in new stack
– Executing [[email protected]:11] GosubIf(“SIP/3088-00000ff1”, “7?sub-ccss,s,1(from-internal,5007)”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/3088-00000ff1”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“SIP/3088-00000ff1”, “CCSS_SETUP=TRUE”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/3088-00000ff1”, “0?monitor_config,1(from-internal,5007):monitor_default,1(from-internal,5007)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/3088-00000ff1”, “0?is_exten”) in new stack
– Executing [[email protected]:2] StackPop(“SIP/3088-00000ff1”, “”) in new stack
– Executing [[email protected]:3] Return(“SIP/3088-00000ff1”, “FALSE”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/3088-00000ff1”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:13] GotoIf(“SIP/3088-00000ff1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,26)
– Executing [[email protected]:26] Set(“SIP/3088-00000ff1”, “CALLERID(number)=3088”) in new stack
– Executing [[email protected]:27] Set(“SIP/3088-00000ff1”, “CALLERID(name)=TEST”) in new stack
– Executing [[email protected]:28] Set(“SIP/3088-00000ff1”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“SIP/3088-00000ff1”, “INTRACOMPANYROUTE=YES”) in new stack
– Executing [[email protected]:3] Set(“SIP/3088-00000ff1”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:4] Set(“SIP/3088-00000ff1”, “_NODEST=”) in new stack
– Executing [[email protected]:5] Gosub(“SIP/3088-00000ff1”, “sub-record-check,s,1(out,5007,)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/3088-00000ff1”, “1?check”) in new stack
– Goto (sub-record-check,s,6)
– Executing [[email protected]:6] Set(“SIP/3088-00000ff1”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/3088-00000ff1”, “1?next”) in new stack
– Goto (sub-record-check,s,10)
– Executing [[email protected]:10] ExecIf(“SIP/3088-00000ff1”, “0?Return()”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/3088-00000ff1”, “0?out,1”) in new stack
– Executing [[email protected]:12] Set(“SIP/3088-00000ff1”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/3088-00000ff1”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:14] Set(“SIP/3088-00000ff1”, “NOW=1336492514”) in new stack
– Executing [[email protected]:15] Set(“SIP/3088-00000ff1”, “__DAY=08”) in new stack
– Executing [[email protected]:16] Set(“SIP/3088-00000ff1”, “__MONTH=05”) in new stack
– Executing [[email protected]:17] Set(“SIP/3088-00000ff1”, “__YEAR=2012”) in new stack
– Executing [[email protected]:18] Set(“SIP/3088-00000ff1”, “__TIMESTR=20120508-165514”) in new stack
– Executing [[email protected]:19] Set(“SIP/3088-00000ff1”, “__FROMEXTEN=3088”) in new stack
– Executing [[email protected]:20] Set(“SIP/3088-00000ff1”, “__CALLFILENAME=out-5007-3088-20120508-165514-1336492514.16484”) in new stack
– Executing [[email protected]:21] Goto(“SIP/3088-00000ff1”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] ExecIf(“SIP/3088-00000ff1”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/3088-00000ff1”, “0?record,1(exten,5007,3088)”) in new stack
– Executing [[email protected]:3] Return(“SIP/3088-00000ff1”, “”) in new stack
– Executing [[email protected]:6] Macro(“SIP/3088-00000ff1”, “dialout-trunk,1,5007,”) in new stack
– Executing [[email protected]:1] Set(“SIP/3088-00000ff1”, “DIAL_TRUNK=1”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/3088-00000ff1”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/3088-00000ff1”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/3088-00000ff1”, “DIAL_NUMBER=5007”) in new stack
– Executing [[email protected]:5] Set(“SIP/3088-00000ff1”, “DIAL_TRUNK_OPTIONS=trw”) in new stack
– Executing [[email protected]:6] Set(“SIP/3088-00000ff1”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/3088-00000ff1”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/3088-00000ff1”, “1?skipoutcid”) in new stack
– Goto (macro-dialout-trunk,s,12)
– Executing [[email protected]:12] GosubIf(“SIP/3088-00000ff1”, “0?sub-flp-1,s,1()”) in new stack
– Executing [[email protected]:13] Set(“SIP/3088-00000ff1”, “OUTNUM=5007”) in new stack
– Executing [[email protected]:14] Set(“SIP/3088-00000ff1”, “custom=DAHDI/g0”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/3088-00000ff1”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)trw)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/3088-00000ff1”, “0?Set(DIAL_TRUNK_OPTIONS=trwM(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/3088-00000ff1”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/3088-00000ff1”, “0?custom-freepbx-a2billing,5007,1:2”) in new stack
– Goto (macro-dialout-trunk-predial-hook,s,2)
– Executing [[email protected]:2] MacroExit(“SIP/3088-00000ff1”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/3088-00000ff1”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/3088-00000ff1”, “1?Set(CONNECTEDLINE(num,i)=5007)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/3088-00000ff1”, “1?Set(CONNECTEDLINE(name,i)=CID:3088)”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/3088-00000ff1”, “0?customtrunk”) in new stack
– Executing [[email protected]:22] Dial(“SIP/3088-00000ff1”, “DAHDI/g0/5007,300,trw”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called DAHDI/g0/5007
– DAHDI/i1/5007-1046 is proceeding passing it to SIP/3088-00000ff1
– DAHDI/i1/5007-1046 is ringing
– DAHDI/i1/5007-1046 is making progress passing it to SIP/3088-00000ff1
– DAHDI/i1/5007-1046 answered SIP/3088-00000ff1
– Span 1: Channel 0/1 got hangup request, cause 16
– Executing [[email protected]:1] Macro(“SIP/3088-00000ff1”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/3088-00000ff1”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] Hangup(“SIP/3088-00000ff1”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘SIP/3088-00000ff1’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/3088-00000ff1’
– Hungup ‘DAHDI/i1/5007-1046’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/3088-00000ff1’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 5007, 6) exited non-zero on ‘SIP/3088-00000ff1’