Trunk External Calling issue from Branch location

Hi, I have newly installed Free PBX in our Head office and Branch Office. Inter Unit calling is working good. and Head office User Make external Call through BSNL SIP PRI trunk line. But B location Branch office user could n’t call external users through HO BSNLl PRI line. Please see the Astrix log and Network diagram. Please help me to resolve this issue.
Thanks in advance.

Astrixs Log as : –

Executing [08667732259@from-sip-external:1] NoOp(“SIP/192.168.9.21-00000399”, “Received incoming SIP connection from unknown peer to 08667732259”) in new stack
– Executing [08667732259@from-sip-external:2] Set(“SIP/192.168.9.21-00000399”, “DID=08667732259”) in new stack
– Executing [08667732259@from-sip-external:3] Goto(“SIP/192.168.9.21-00000399”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“SIP/192.168.9.21-00000399”, “1?setlanguage:checkanon”) in new stack
– Goto (from-sip-external,s,2)
– Executing [s@from-sip-external:2] Set(“SIP/192.168.9.21-00000399”, “CHANNEL(language)=en”) in new stack
– Executing [s@from-sip-external:3] GotoIf(“SIP/192.168.9.21-00000399”, “0?noanonymous”) in new stack
– Executing [s@from-sip-external:4] Goto(“SIP/192.168.9.21-00000399”, “from-trunk,08667732259,1”) in new stack
– Goto (from-trunk,08667732259,1)
– Executing [08667732259@from-trunk:1] NoOp(“SIP/192.168.9.21-00000399”, “Catch-All DID Match - Found 08667732259 - You probably want a DID for this.”) in new stack
– Executing [08667732259@from-trunk:2] Set(“SIP/192.168.9.21-00000399”, “__FROM_DID=08667732259”) in new stack
– Executing [08667732259@from-trunk:3] Goto(“SIP/192.168.9.21-00000399”, “ext-did,s,1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] Set(“SIP/192.168.9.21-00000399”, “__DIRECTION=INBOUND”) in new stack
– Executing [s@ext-did:2] Gosub(“SIP/192.168.9.21-00000399”, “sub-record-check,s,1(in,s,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/192.168.9.21-00000399”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/192.168.9.21-00000399”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/192.168.9.21-00000399”, “NOW=1686655475”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/192.168.9.21-00000399”, “__DAY=13”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/192.168.9.21-00000399”, “__MONTH=06”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/192.168.9.21-00000399”, “__YEAR=2023”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/192.168.9.21-00000399”, “__TIMESTR=20230613-165435”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/192.168.9.21-00000399”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/192.168.9.21-00000399”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/192.168.9.21-00000399”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/192.168.9.21-00000399”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/192.168.9.21-00000399”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/192.168.9.21-00000399”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/192.168.9.21-00000399”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/192.168.9.21-00000399”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“SIP/192.168.9.21-00000399”, “Inbound Recording Check to s”) in new stack
– Executing [in@sub-record-check:2] Set(“SIP/192.168.9.21-00000399”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“SIP/192.168.9.21-00000399”, “13?Set(FROMEXTEN=+914222351131)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“SIP/192.168.9.21-00000399”, “recordcheck,1(dontcare,in,s)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/192.168.9.21-00000399”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/192.168.9.21-00000399”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/192.168.9.21-00000399”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“SIP/192.168.9.21-00000399”, “”) in new stack
– Executing [s@ext-did:3] Set(“SIP/192.168.9.21-00000399”, “CHANNEL(tonezone)=us”) in new stack
– Executing [s@ext-did:4] ExecIf(“SIP/192.168.9.21-00000399”, “0?Set(__FROM_DID=s)”) in new stack
– Executing [s@ext-did:5] Set(“SIP/192.168.9.21-00000399”, “returnhere=1”) in new stack
– Executing [s@ext-did:6] Gosub(“SIP/192.168.9.21-00000399”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/192.168.9.21-00000399”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/192.168.9.21-00000399”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/192.168.9.21-00000399”, “”) in new stack
– Executing [s@ext-did:7] Set(“SIP/192.168.9.21-00000399”, “CDR(did)=08667732259”) in new stack
– Executing [s@ext-did:8] GotoIf(“SIP/192.168.9.21-00000399”, “0?”) in new stack
– Executing [s@ext-did:9] ExecIf(“SIP/192.168.9.21-00000399”, “0 ?Set(CALLERID(name)=+914222351131)”) in new stack
– Executing [s@ext-did:10] Set(“SIP/192.168.9.21-00000399”, “__MOHCLASS=”) in new stack
– Executing [s@ext-did:11] Set(“SIP/192.168.9.21-00000399”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [s@ext-did:12] GotoIf(“SIP/192.168.9.21-00000399”, “1?post-reverse-charge”) in new stack
– Goto (ext-did,s,14)
– Executing [s@ext-did:14] NoOp(“SIP/192.168.9.21-00000399”, “”) in new stack
– Executing [s@ext-did:15] Set(“SIP/192.168.9.21-00000399”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:16] Set(“SIP/192.168.9.21-00000399”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:17] Set(“SIP/192.168.9.21-00000399”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [s@ext-did:18] Set(“SIP/192.168.9.21-00000399”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [s@ext-did:19] NoOp(“SIP/192.168.9.21-00000399”, “CallerID Entry Point”) in new stack
– Executing [s@ext-did:20] Goto(“SIP/192.168.9.21-00000399”, “ext-trunk,1,1”) in new stack
– Goto (ext-trunk,1,1)
– Executing [1@ext-trunk:1] Set(“SIP/192.168.9.21-00000399”, “TDIAL_SUFFIX=@KGFL”) in new stack
– Executing [1@ext-trunk:2] Set(“SIP/192.168.9.21-00000399”, “TDIAL_STRING=PJSIP”) in new stack
– Executing [1@ext-trunk:3] Set(“SIP/192.168.9.21-00000399”, “DIAL_TRUNK=1”) in new stack
– Executing [1@ext-trunk:4] Goto(“SIP/192.168.9.21-00000399”, “ext-trunk,tdial,1”) in new stack
– Goto (ext-trunk,tdial,1)
– Executing [tdial@ext-trunk:1] Set(“SIP/192.168.9.21-00000399”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [tdial@ext-trunk:2] GotoIf(“SIP/192.168.9.21-00000399”, “1?nomax”) in new stack
– Goto (ext-trunk,tdial,4)
– Executing [tdial@ext-trunk:4] ExecIf(“SIP/192.168.9.21-00000399”, “1?Set(CALLERID(name-pres)=allowed_not_screened)”) in new stack
– Executing [tdial@ext-trunk:5] ExecIf(“SIP/192.168.9.21-00000399”, “1?Set(CALLERID(num-pres)=allowed_not_screened)”) in new stack
– Executing [tdial@ext-trunk:6] Set(“SIP/192.168.9.21-00000399”, “DIAL_NUMBER=08667732259”) in new stack
– Executing [tdial@ext-trunk:7] GosubIf(“SIP/192.168.9.21-00000399”, “0?sub-flp-1,s,1()”) in new stack
– Executing [tdial@ext-trunk:8] Set(“SIP/192.168.9.21-00000399”, “OUTNUM=08667732259”) in new stack
– Executing [tdial@ext-trunk:9] Set(“SIP/192.168.9.21-00000399”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [tdial@ext-trunk:10] Dial(“SIP/192.168.9.21-00000399”, “PJSIP/08667732259@KGFL,300,T”) in new stack
– Called PJSIP/08667732259@KGFL
– No one is available to answer at this time (1:0/0/0)
– Executing [tdial@ext-trunk:11] Set(“SIP/192.168.9.21-00000399”, “CALLERID(number)=+914222351131”) in new stack
– Executing [tdial@ext-trunk:12] Set(“SIP/192.168.9.21-00000399”, “CALLERID(name)=+914222351131”) in new stack
– Executing [tdial@ext-trunk:13] Hangup(“SIP/192.168.9.21-00000399”, “”) in new stack
== Spawn extension (ext-trunk, tdial, 13) exited non-zero on ‘SIP/192.168.9.21-00000399’

Be sure the trunk between A and B location has context set to “from-internal” on both sides.

Agree it should be from-internal but wondering why it’s from unknown peer

Can you show trunk settings and status please

Is this PBX 192.168.9.21 sending the call to 5160 ?
Can we see the trunk KGFL from both sides

Looks like it’s coming on 5060 SIP not 5160 PJSIP

Yes you are correct. I have changed the Port in 192.168.9.21:5160. Now working GOOD.
Thanks a lot… :grinning:

Yesterday it was worked. no changes done. but today not working… any idea…

Executing [08667732259@from-sip-external:1] NoOp(“PJSIP/anonymous-0000007d”, “Received incoming SIP connection from unknown peer to 08667732259”) in new stack
– Executing [08667732259@from-sip-external:2] Set(“PJSIP/anonymous-0000007d”, “DID=08667732259”) in new stack
– Executing [08667732259@from-sip-external:3] Goto(“PJSIP/anonymous-0000007d”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“PJSIP/anonymous-0000007d”, “1?setlanguage:checkanon”) in new stack
– Goto (from-sip-external,s,2)
– Executing [s@from-sip-external:2] Set(“PJSIP/anonymous-0000007d”, “CHANNEL(language)=en”) in new stack
– Executing [s@from-sip-external:3] GotoIf(“PJSIP/anonymous-0000007d”, “0?noanonymous”) in new stack
– Executing [s@from-sip-external:4] Goto(“PJSIP/anonymous-0000007d”, “from-trunk,08667732259,1”) in new stack
– Goto (from-trunk,08667732259,1)
– Executing [08667732259@from-trunk:1] NoOp(“PJSIP/anonymous-0000007d”, “Catch-All DID Match - Found 08667732259 - You probably want a DID for this.”) in new stack
– Executing [08667732259@from-trunk:2] Set(“PJSIP/anonymous-0000007d”, “__FROM_DID=08667732259”) in new stack
– Executing [08667732259@from-trunk:3] Goto(“PJSIP/anonymous-0000007d”, “ext-did,s,1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] Set(“PJSIP/anonymous-0000007d”, “__DIRECTION=INBOUND”) in new stack
– Executing [s@ext-did:2] Gosub(“PJSIP/anonymous-0000007d”, “sub-record-check,s,1(in,s,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“PJSIP/anonymous-0000007d”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“PJSIP/anonymous-0000007d”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“PJSIP/anonymous-0000007d”, “NOW=1686718992”) in new stack
– Executing [s@sub-record-check:4] Set(“PJSIP/anonymous-0000007d”, “__DAY=14”) in new stack
– Executing [s@sub-record-check:5] Set(“PJSIP/anonymous-0000007d”, “__MONTH=06”) in new stack
– Executing [s@sub-record-check:6] Set(“PJSIP/anonymous-0000007d”, “__YEAR=2023”) in new stack
– Executing [s@sub-record-check:7] Set(“PJSIP/anonymous-0000007d”, “__TIMESTR=20230614-103312”) in new stack
– Executing [s@sub-record-check:8] Set(“PJSIP/anonymous-0000007d”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“PJSIP/anonymous-0000007d”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“PJSIP/anonymous-0000007d”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“PJSIP/anonymous-0000007d”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“PJSIP/anonymous-0000007d”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“PJSIP/anonymous-0000007d”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“PJSIP/anonymous-0000007d”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“PJSIP/anonymous-0000007d”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“PJSIP/anonymous-0000007d”, “Inbound Recording Check to s”) in new stack
– Executing [in@sub-record-check:2] Set(“PJSIP/anonymous-0000007d”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“PJSIP/anonymous-0000007d”, “13?Set(FROMEXTEN=+914222351131)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“PJSIP/anonymous-0000007d”, “recordcheck,1(dontcare,in,s)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/anonymous-0000007d”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/anonymous-0000007d”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“PJSIP/anonymous-0000007d”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“PJSIP/anonymous-0000007d”, “”) in new stack
– Executing [s@ext-did:3] Set(“PJSIP/anonymous-0000007d”, “CHANNEL(tonezone)=us”) in new stack
– Executing [s@ext-did:4] ExecIf(“PJSIP/anonymous-0000007d”, “0?Set(__FROM_DID=s)”) in new stack
– Executing [s@ext-did:5] Set(“PJSIP/anonymous-0000007d”, “returnhere=1”) in new stack
– Executing [s@ext-did:6] Gosub(“PJSIP/anonymous-0000007d”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“PJSIP/anonymous-0000007d”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“PJSIP/anonymous-0000007d”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“PJSIP/anonymous-0000007d”, “”) in new stack
– Executing [s@ext-did:7] Set(“PJSIP/anonymous-0000007d”, “CDR(did)=08667732259”) in new stack
– Executing [s@ext-did:8] GotoIf(“PJSIP/anonymous-0000007d”, “0?”) in new stack
– Executing [s@ext-did:9] ExecIf(“PJSIP/anonymous-0000007d”, “0 ?Set(CALLERID(name)=+914222351131)”) in new stack
– Executing [s@ext-did:10] Set(“PJSIP/anonymous-0000007d”, “__MOHCLASS=”) in new stack
– Executing [s@ext-did:11] Set(“PJSIP/anonymous-0000007d”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [s@ext-did:12] GotoIf(“PJSIP/anonymous-0000007d”, “1?post-reverse-charge”) in new stack
– Goto (ext-did,s,14)
– Executing [s@ext-did:14] NoOp(“PJSIP/anonymous-0000007d”, “”) in new stack
– Executing [s@ext-did:15] Set(“PJSIP/anonymous-0000007d”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:16] Set(“PJSIP/anonymous-0000007d”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:17] Set(“PJSIP/anonymous-0000007d”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [s@ext-did:18] Set(“PJSIP/anonymous-0000007d”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [s@ext-did:19] NoOp(“PJSIP/anonymous-0000007d”, “CallerID Entry Point”) in new stack
– Executing [s@ext-did:20] Goto(“PJSIP/anonymous-0000007d”, “ext-trunk,1,1”) in new stack
– Goto (ext-trunk,1,1)
– Executing [1@ext-trunk:1] Set(“PJSIP/anonymous-0000007d”, “TDIAL_SUFFIX=@KGFL”) in new stack
– Executing [1@ext-trunk:2] Set(“PJSIP/anonymous-0000007d”, “TDIAL_STRING=PJSIP”) in new stack
– Executing [1@ext-trunk:3] Set(“PJSIP/anonymous-0000007d”, “DIAL_TRUNK=1”) in new stack
– Executing [1@ext-trunk:4] Goto(“PJSIP/anonymous-0000007d”, “ext-trunk,tdial,1”) in new stack
– Goto (ext-trunk,tdial,1)
– Executing [tdial@ext-trunk:1] Set(“PJSIP/anonymous-0000007d”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [tdial@ext-trunk:2] GotoIf(“PJSIP/anonymous-0000007d”, “1?nomax”) in new stack
– Goto (ext-trunk,tdial,4)
– Executing [tdial@ext-trunk:4] ExecIf(“PJSIP/anonymous-0000007d”, “1?Set(CALLERID(name-pres)=allowed_not_screened)”) in new stack
– Executing [tdial@ext-trunk:5] ExecIf(“PJSIP/anonymous-0000007d”, “1?Set(CALLERID(num-pres)=allowed_not_screened)”) in new stack
– Executing [tdial@ext-trunk:6] Set(“PJSIP/anonymous-0000007d”, “DIAL_NUMBER=08667732259”) in new stack
– Executing [tdial@ext-trunk:7] GosubIf(“PJSIP/anonymous-0000007d”, “0?sub-flp-1,s,1()”) in new stack
– Executing [tdial@ext-trunk:8] Set(“PJSIP/anonymous-0000007d”, “OUTNUM=08667732259”) in new stack
– Executing [tdial@ext-trunk:9] Set(“PJSIP/anonymous-0000007d”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [tdial@ext-trunk:10] Dial(“PJSIP/anonymous-0000007d”, “PJSIP/08667732259@KGFL,300,T”) in new stack
– Called PJSIP/08667732259@KGFL
– No one is available to answer at this time (1:0/0/0)
– Executing [tdial@ext-trunk:11] Set(“PJSIP/anonymous-0000007d”, “CALLERID(number)=+914222351131”) in new stack
– Executing [tdial@ext-trunk:12] Set(“PJSIP/anonymous-0000007d”, “CALLERID(name)=+914222351131”) in new stack
– Executing [tdial@ext-trunk:13] Hangup(“PJSIP/anonymous-0000007d”, “”) in new stack
== Spawn extension (ext-trunk, tdial, 13) exited non-zero on ‘PJSIP/anonymous-0000007d’
– Channel SIP/382-0000020e left ‘simple_bridge’ basic-bridge
– Channel SIP/117-0000020d left ‘simple_bridge’ basic-bridge
== Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘SIP/117-0000020d’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 7) exited non-zero on ‘SIP/117-0000020d’ in macro ‘exten-vm’

The call was not recognized as coming from system B. Try setting Match (Permit) for the incoming trunk to
192.168.9.21

If no luck, turn on pjsip logger and post the incoming INVITE and next few lines of the log.

After changing some SIP port to 5060 : Error comes as below

Executing [09994431486@from-trunk-sip-KGFL_NEW:1] Set(“SIP/KGFL_NEW-00000479”, “GROUP()=OUT_2”) in new stack
– Executing [09994431486@from-trunk-sip-KGFL_NEW:2] Goto(“SIP/KGFL_NEW-00000479”, “from-trunk,09994431486,1”) in new stack
– Goto (from-trunk,09994431486,1)
– Executing [09994431486@from-trunk:1] Set(“SIP/KGFL_NEW-00000479”, “__DIRECTION=INBOUND”) in new stack
– Executing [09994431486@from-trunk:2] Set(“SIP/KGFL_NEW-00000479”, “CHANNEL(tonezone)=us”) in new stack
– Executing [09994431486@from-trunk:3] Set(“SIP/KGFL_NEW-00000479”, “__FROM_DID=09994431486”) in new stack
– Executing [09994431486@from-trunk:4] Goto(“SIP/KGFL_NEW-00000479”, “s,1”) in new stack
– Goto (from-trunk,s,1)
– Executing [s@from-trunk:1] Set(“SIP/KGFL_NEW-00000479”, “__DIRECTION=INBOUND”) in new stack
– Executing [s@from-trunk:2] Gosub(“SIP/KGFL_NEW-00000479”, “sub-record-check,s,1(in,s,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/KGFL_NEW-00000479”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/KGFL_NEW-00000479”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/KGFL_NEW-00000479”, “NOW=1686726009”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/KGFL_NEW-00000479”, “__DAY=14”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/KGFL_NEW-00000479”, “__MONTH=06”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/KGFL_NEW-00000479”, “__YEAR=2023”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/KGFL_NEW-00000479”, “__TIMESTR=20230614-123009”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/KGFL_NEW-00000479”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/KGFL_NEW-00000479”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/KGFL_NEW-00000479”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/KGFL_NEW-00000479”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/KGFL_NEW-00000479”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/KGFL_NEW-00000479”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/KGFL_NEW-00000479”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/KGFL_NEW-00000479”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“SIP/KGFL_NEW-00000479”, “Inbound Recording Check to s”) in new stack
– Executing [in@sub-record-check:2] Set(“SIP/KGFL_NEW-00000479”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“SIP/KGFL_NEW-00000479”, “13?Set(FROMEXTEN=+914222351131)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“SIP/KGFL_NEW-00000479”, “recordcheck,1(dontcare,in,s)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/KGFL_NEW-00000479”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/KGFL_NEW-00000479”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/KGFL_NEW-00000479”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“SIP/KGFL_NEW-00000479”, “”) in new stack
– Executing [s@from-trunk:3] Set(“SIP/KGFL_NEW-00000479”, “CHANNEL(tonezone)=us”) in new stack
– Executing [s@from-trunk:4] ExecIf(“SIP/KGFL_NEW-00000479”, “0?Set(__FROM_DID=s)”) in new stack
– Executing [s@from-trunk:5] Set(“SIP/KGFL_NEW-00000479”, “returnhere=1”) in new stack
– Executing [s@from-trunk:6] Gosub(“SIP/KGFL_NEW-00000479”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/KGFL_NEW-00000479”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/KGFL_NEW-00000479”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/KGFL_NEW-00000479”, “”) in new stack
– Executing [s@from-trunk:7] Set(“SIP/KGFL_NEW-00000479”, “CDR(did)=09994431486”) in new stack
– Executing [s@from-trunk:8] GotoIf(“SIP/KGFL_NEW-00000479”, “0?”) in new stack
– Executing [s@from-trunk:9] ExecIf(“SIP/KGFL_NEW-00000479”, “0 ?Set(CALLERID(name)=+914222351131)”) in new stack
– Executing [s@from-trunk:10] Set(“SIP/KGFL_NEW-00000479”, “__MOHCLASS=”) in new stack
– Executing [s@from-trunk:11] Set(“SIP/KGFL_NEW-00000479”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [s@from-trunk:12] GotoIf(“SIP/KGFL_NEW-00000479”, “1?post-reverse-charge”) in new stack
– Goto (from-trunk,s,14)
– Executing [s@from-trunk:14] NoOp(“SIP/KGFL_NEW-00000479”, “”) in new stack
– Executing [s@from-trunk:15] Set(“SIP/KGFL_NEW-00000479”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [s@from-trunk:16] Set(“SIP/KGFL_NEW-00000479”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [s@from-trunk:17] Set(“SIP/KGFL_NEW-00000479”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [s@from-trunk:18] Set(“SIP/KGFL_NEW-00000479”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [s@from-trunk:19] NoOp(“SIP/KGFL_NEW-00000479”, “CallerID Entry Point”) in new stack
– Executing [s@from-trunk:20] Goto(“SIP/KGFL_NEW-00000479”, “ext-trunk,2,1”) in new stack
– Goto (ext-trunk,2,1)
– Executing [2@ext-trunk:1] Set(“SIP/KGFL_NEW-00000479”, “TDIAL_STRING=SIP/KGFL_NEW”) in new stack
– Executing [2@ext-trunk:2] Set(“SIP/KGFL_NEW-00000479”, “DIAL_TRUNK=2”) in new stack
– Executing [2@ext-trunk:3] Goto(“SIP/KGFL_NEW-00000479”, “ext-trunk,tdial,1”) in new stack
– Goto (ext-trunk,tdial,1)
– Executing [tdial@ext-trunk:1] Set(“SIP/KGFL_NEW-00000479”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [tdial@ext-trunk:2] GotoIf(“SIP/KGFL_NEW-00000479”, “1?nomax”) in new stack
– Goto (ext-trunk,tdial,4)
– Executing [tdial@ext-trunk:4] ExecIf(“SIP/KGFL_NEW-00000479”, “1?Set(CALLERID(name-pres)=allowed_not_screened)”) in new stack
– Executing [tdial@ext-trunk:5] ExecIf(“SIP/KGFL_NEW-00000479”, “1?Set(CALLERID(num-pres)=allowed_not_screened)”) in new stack
– Executing [tdial@ext-trunk:6] Set(“SIP/KGFL_NEW-00000479”, “DIAL_NUMBER=09994431486”) in new stack
– Executing [tdial@ext-trunk:7] GosubIf(“SIP/KGFL_NEW-00000479”, “0?sub-flp-2,s,1()”) in new stack
– Executing [tdial@ext-trunk:8] Set(“SIP/KGFL_NEW-00000479”, “OUTNUM=09994431486”) in new stack
– Executing [tdial@ext-trunk:9] Set(“SIP/KGFL_NEW-00000479”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [tdial@ext-trunk:10] Dial(“SIP/KGFL_NEW-00000479”, “SIP/KGFL_NEW/09994431486,300,T”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/KGFL_NEW/09994431486
– Got SIP response 603 “Decline” back from 192.168.9.21:5060
– SIP/KGFL_NEW-0000047a is busy
== Everyone is busy/congested at this time (1:1/0/0)
– Executing [tdial@ext-trunk:11] Set(“SIP/KGFL_NEW-00000479”, “CALLERID(number)=+914222351131”) in new stack
– Executing [tdial@ext-trunk:12] Set(“SIP/KGFL_NEW-00000479”, “CALLERID(name)=+914222351131”) in new stack
– Executing [tdial@ext-trunk:13] Hangup(“SIP/KGFL_NEW-00000479”, “”) in new stack
== Spawn extension (ext-trunk, tdial, 13) exited non-zero on ‘SIP/KGFL_NEW-00000479’

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.