Reply To: RE: chan_sip.c: Got SIP response 502 "Bad Gateway" back from XXX.XXX.XXX.XX:5060

VitalPBX Community Support General Discussion chan_sip.c: Got SIP response 502 "Bad Gateway" back from XXX.XXX.XXX.XX:5060 Reply To: RE: chan_sip.c: Got SIP response 502 "Bad Gateway" back from XXX.XXX.XXX.XX:5060

    Brian49
    Participant

    I hope this is what you have requested: Many thanks

    2020-01-05 10:44:24] VERBOSE[2081] asterisk.c: Remote UNIX connection

    [2020-01-05 10:44:24] VERBOSE[6294] asterisk.c: Remote UNIX connection disconnected

    [2020-01-05 10:44:33] VERBOSE[2134][C-0000002f] netsock2.c: Using SIP RTP TOS bits 184

    [2020-01-05 10:44:33] VERBOSE[2134][C-0000002f] netsock2.c: Using SIP RTP CoS mark 5

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [31038536@cos-all:1] NoOp(“SIP/10-00000055”, “More than on digit pattern”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [31038536@cos-all:2] Gosub(“SIP/10-00000055”, “s,1(310XXXXX)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:1] Set(“SIP/10-00000055”, “EXTENSION=310XXXXX”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:2] NoOp(“SIP/10-00000055”, “Dialing 310XXXXX from 10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:3] Gosub(“SIP/10-00000055”, “sub-set-global-vars,s,1(16f38558dd3265e8,310XXXXX,parking-1)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-global-vars:1] NoOp(“SIP/10-00000055”, “Setting Global Vars”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-global-vars:2] Set(“SIP/10-00000055”, “TENANT_PATH=16f38558dd3265e8”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-global-vars:3] Set(“SIP/10-00000055”, “PREFIX=”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-global-vars:4] Set(“SIP/10-00000055”, “__PICKUPMARK=310XXXXX”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-global-vars:5] Set(“SIP/10-00000055”, “__PARKINGLOT=parking-1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-global-vars:6] Set(“SIP/10-00000055”, “__DYNAMIC_FEATURES=custom-features”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-global-vars:7] Set(“SIP/10-00000055”, “ICALL=no”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-global-vars:8] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:4] Gosub(“SIP/10-00000055”, “sub-set-call-vars,s,1(16f38558dd3265e8,31038536,1,cos-all,ARS-all)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:1] NoOp(“SIP/10-00000055”, “Setting Call Vars”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:2] Set(“SIP/10-00000055”, “_TENANT=16f38558dd3265e8”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:3] Set(“SIP/10-00000055”, “_CALL_DESTINATION=31038536”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:4] Set(“SIP/10-00000055”, “_COS_ID=1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:5] Set(“SIP/10-00000055”, “_COS_NAME=cos-all”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:6] Set(“SIP/10-00000055”, “__TRANSFER_CONTEXT=cos-all”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:7] Set(“SIP/10-00000055”, “_ARS=ARS-all”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:8] Set(“SIP/10-00000055”, “CDR(tenant)=vitalpbx”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:9] Set(“SIP/10-00000055”, “CDR(destination)=310XXXXX”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:10] Set(“SIP/10-00000055”, “__CALLID=1578185073.125”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-set-call-vars:11] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:5] Gosub(“SIP/10-00000055”, “sub-construct-cid,s,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:1] NoOp(“SIP/10-00000055”, “Building CID”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:2] Set(“SIP/10-00000055”, “_CALL_SOURCE=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:3] Set(“SIP/10-00000055”, “_CS=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:4] GotoIf(“SIP/10-00000055”, “0?return”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:5] Gosub(“SIP/10-00000055”, “sub-get-device-tree,s,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:1] NoOp(“SIP/10-00000055”, “Configuring Device Tree”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:2] Set(“SIP/10-00000055”, “DEV_TECHNOLOGY=SIP”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:3] GosubIf(“SIP/10-00000055”, “0?s-local,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:4] GotoIf(“SIP/10-00000055”, “0?return”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:5] GotoIf(“SIP/10-00000055”, “0?pjsip”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:6] GotoIf(“SIP/10-00000055”, “0?:digital”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (sub-get-device-tree,s,12)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:12] Set(“SIP/10-00000055”, “DEV_USER=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:13] Set(“SIP/10-00000055”, “INTERFACE=SIP/10”) in new stack< /span>

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:14] Set(“SIP/10-00000055”, “DEV_TREE=devices/SIP/10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-get-device-tree:15] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:6] GotoIf(“SIP/10-00000055”, “0?return”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:7] Set(“SIP/10-00000055”, “_CALL_SOURCE=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:8] Set(“SIP/10-00000055”, “_CS=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:9] ExecIf(“SIP/10-00000055”, “1?Set(CALLERID(all)=”Brian10″ <10>)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:10] Set(“SIP/10-00000055”, “_CID_CONSTRUCTED=yes”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:11] NoOp(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:12] Set(“SIP/10-00000055”, “CDR(source)=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-construct-cid:13] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:6] Gosub(“SIP/10-00000055”, “set-global-tenant-vars,s,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@set-global-tenant-vars:1] NoOp(“SIP/10-00000055”, “Setting Global Vars for vitalpbx Tenant”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@set-global-tenant-vars:2] Set(“SIP/10-00000055”, “__TENANT_PATH=16f38558dd3265e8”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@set-global-tenant-vars:3] Set(“SIP/10-00000055”, “__TENANT_PREFIX=”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@set-global-tenant-vars:4] Set(“SIP/10-00000055”, “__QUEUE_AGENTS_CONTEXT=queue-call-to-agents”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@set-global-tenant-vars:5] Set(“SIP/10-00000055”, “__FOLLOWME_CONTEXT=ext-followme”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@set-global-tenant-vars:6] Set(“SIP/10-00000055”, “__HINTS_CONTEXT=extension-hints”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@set-global-tenant-vars:7] Set(“SIP/10-00000055”, “__DEFAULT_COS=cos-all”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@set-global-tenant-vars:8] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:7] GotoIf(“SIP/10-00000055”, “0?local-dialing”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:8] NoOp(“SIP/10-00000055”, “Check if is an Emergency Call”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:9] GotoIf(“SIP/10-00000055”, “0?emergency-calls,310XXXXX,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:10] Gosub(“SIP/10-00000055”, “sub-lockphone-check,s,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-lockphone-check:1] NoOp(“SIP/10-00000055”, “SUB: LOCK PHONE CHECK”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-lockphone-check:2] GotoIf(“SIP/10-00000055”, “0?unlock”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-lockphone-check:3] GotoIf(“SIP/10-00000055”, “0?unlock”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-lockphone-check:4] GotoIf(“SIP/10-00000055”, “0?unlock”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-lockphone-check:5] GotoIf(“SIP/10-00000055”, “0?unlock”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-lockphone-check:6] GotoIf(“SIP/10-00000055”, “0?:unlock”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (sub-lockphone-check,s,12)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-lockphone-check:12] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:11] Gosub(“SIP/10-00000055”, “sub-local-dialing,s,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-local-dialing:1] NoOp(“SIP/10-00000055”, “Trying to determine if is a local extension”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-local-dialing:2] GotoIf(“SIP/10-00000055”, “0?:return”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (sub-local-dialing,s,4)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-local-dialing:4] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:12] GotoIf(“SIP/10-00000055”, “0?end-call”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@cos-all:13] Goto(“SIP/10-00000055”, “cos-all-post,310XXXXX,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (cos-all-post,310XXXXX,1)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@cos-all-post:1] NoOp(“SIP/10-00000055”, “alloutbound”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@cos-all-post:2] Gosub(“SIP/10-00000055”, “sub-setup-call-type,s,1(outgoing)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:1] NoOp(“SIP/10-00000055”, “Determinating Call Type”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:2] GotoIf(“SIP/10-00000055”, “0?return”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:3
    ] Gosub(“SIP/10-00000055”, “s-outgoing,1()”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:1] NoOp(“SIP/10-00000055”, “Outgoing Call”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:2] Set(“SIP/10-00000055”, “__CALL_TYPE=3”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:3] Set(“SIP/10-00000055”, “__CALL_TYPE_LABEL=OUT”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:4] GosubIf(“SIP/10-00000055”, “0?s-transit,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:5] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:4] Set(“SIP/10-00000055”, “__CALL_TYPE_CONFIGURED=yes”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:5] Set(“SIP/10-00000055”, “CDR(calltype)=3”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:6] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@cos-all-post:3] NoOp(“SIP/10-00000055”, “Start to Dial Trunks”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@cos-all-post:4] Set(“SIP/10-00000055”, “DNID=31038536”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@cos-all-post:5] Goto(“SIP/10-00000055”, “s-2,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (cos-all-post,s-2,1)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-2@cos-all-post:1] Set(“SIP/10-00000055”, “__CONFIGURED_BY_TENANT=yes”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-2@cos-all-post:2] Gosub(“SIP/10-00000055”, “sub-construct-cid,s-external,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:1] NoOp(“SIP/10-00000055”, “Setting External CID”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:2] Set(“SIP/10-00000055”, “EXTENSION_NUMBER=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:3] GotoIf(“SIP/10-00000055”, “0?return”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:4] GotoIf(“SIP/10-00000055”, “0?return”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:5] Set(“SIP/10-00000055”, “EMERGENCY_CALL=no”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:6] Set(“SIP/10-00000055”, “EMERGENCY_CID=”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:7] ExecIf(“SIP/10-00000055”, “1?Set(EMERGENCY_CID=”Brian10″ <10>)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:8] ExecIf(“SIP/10-00000055”, “1?Set(CALLERID(all)=”Brian10″ <10>)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:9] GotoIf(“SIP/10-00000055”, “0?:info”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (sub-construct-cid,s-external,11)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:11] NoOp(“SIP/10-00000055”, “CID Name: Brian10, CID Number: 10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:12] Set(“SIP/10-00000055”, “SEND_CID=yes”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:13] ExecIf(“SIP/10-00000055”, “0?Set(CALLERID(name-pres)=prohib_passed_screen)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:14] ExecIf(“SIP/10-00000055”, “0?Set(CALLERID(num-pres)=prohib_passed_screen)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:15] Set(“SIP/10-00000055”, “__EXT_CID_CONSTRUCTED=yes”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:16] Set(“SIP/10-00000055”, “CDR(source)=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-external@sub-construct-cid:17] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-2@cos-all-post:3] Gosub(“SIP/10-00000055”, “trk-2,310XXXXX,1(from-trk-grp)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2:1] Set(“SIP/10-00000055”, “_NTD=31038536”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2:2] Gosub(“SIP/10-00000055”, “trk-2-dial,310XXXXX,1(from-trk-grp)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:1] NoOp(“SIP/10-00000055”, “Trunk: MNF1291”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:2] NoOp(“SIP/10-00000055”, “Dialing: 31038536”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:3] Set(“SIP/10-00000055”, “CDR(trunk)=2”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:4] Gosub(“SIP/10-00000055”, “sub-setup-call-type,s,1(outgoing,no)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:1] NoOp(“SIP/10-00000055”, “Determinating Call Type”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:2] GotoIf(“SIP/10-00000055”, “0?return”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:3] Gosub(“SIP/10-00000055”, “s-outgoing,1(no)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-
    type:1] NoOp(“SIP/10-00000055”, “Outgoing Call”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:2] Set(“SIP/10-00000055”, “__CALL_TYPE=3”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:3] Set(“SIP/10-00000055”, “__CALL_TYPE_LABEL=OUT”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:4] GosubIf(“SIP/10-00000055”, “0?s-transit,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-outgoing@sub-setup-call-type:5] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:4] Set(“SIP/10-00000055”, “__CALL_TYPE_CONFIGURED=yes”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:5] Set(“SIP/10-00000055”, “CDR(calltype)=3”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-setup-call-type:6] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:5] NoOp(“SIP/10-00000055”, “Configuring Trunk Parameters”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:6] ExecIf(“SIP/10-00000055”, “1?Set(CHANNEL(musicclass)=default):”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:7] Set(“SIP/10-00000055”, “__TRUNK_MOH_SET=yes”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:8] Set(“SIP/10-00000055”, “__TRKDIALOPTIONS=r”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:9] Set(“SIP/10-00000055”, “ORIGINATOR=10”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:10] Set(“SIP/10-00000055”, “RING_TIME=90”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:11] Set(“SIP/10-00000055”, “CALLED=310XXXXX”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:12] Dial(“SIP/10-00000055”, “SIP/095XXXXX/310XXXXX,90,rU(sub-call-recording^16f38558dd3265e8^10^310XXXXX^no)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] netsock2.c: Using SIP RTP TOS bits 184

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] netsock2.c: Using SIP RTP CoS mark 5

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] app_dial.c: Called SIP/095XXXXX/310XXXXX

    [2020-01-05 10:44:33] VERBOSE[2134][C-0000002f] chan_sip.c: Got SIP response 502 “Bad Gateway” back from 125.213.160.81:5060

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] app_dial.c: SIP/095XXXXX-00000056 is circuit-busy

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:13] NoOp(“SIP/10-00000055”, “After Dial”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:14] GotoIf(“SIP/10-00000055”, “1?come-back”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (trk-2-dial,310XXXXX,16)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2-dial:16] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [310XXXXX@trk-2:3] GotoIf(“SIP/10-00000055”, “1?come-back”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (trk-2,310XXXXX,5)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [31038536@trk-2:5] Return(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-2@cos-all-post:4] NoOp(“SIP/10-00000055”, “Hangup Cause: 27, Dial Status: CONGESTION”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-2@cos-all-post:5] NoCDR(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-2@cos-all-post:6] GotoIf(“SIP/10-00000055”, “0?end_call”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s-2@cos-all-post:7] Gosub(“SIP/10-00000055”, “sub-hangup-cause,s,1(27)”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-hangup-cause:1] NoOp(“SIP/10-00000055”, “Executing Hangup Cause 27”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-hangup-cause:2] GotoIf(“SIP/10-00000055”, “0?hangup”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-hangup-cause:3] NoCDR(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-hangup-cause:4] Answer(“SIP/10-00000055”, “”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-hangup-cause:5] GotoIf(“SIP/10-00000055”, “0?invalid_route,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-hangup-cause:6] GotoIf(“SIP/10-00000055”, “0?busy,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [s@sub-hangup-cause:7] GotoIf(“SIP/10-00000055”, “1?out_of_service,1”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx_builtins.c: Goto (sub-hangup-cause,out_of_service,1)

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [out_of_service@sub-hangup-cause:1] NoOp(“SIP/10-00000055”, “Out of Service”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] pbx.c: Executing [out_of_service@sub-hangup-cause:2] Playback(“SIP/10-00000055”, “im-sorry&discon-or-out-of-service”) in new stack

    [2020-01-05 10:44:33] VERBOSE[6317][C-0000002f] file.c: <SIP/10-00000055> Playing ‘im-sorry.ulaw’ (language ‘en’)

    [2020-01-05 10:44:34] VERBOSE[6317][C-0000002f] file.c: <SIP/10-00000055> Playing ‘discon-or-out-of-service.ulaw’ (language ‘en’)

    0