Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17434

Calls from certain providers are being blocked

$
0
0

@JuanKB1024 wrote:

I have a fresh install of the distro and configured my trunk and extensions according to my trunk provider. But I’ve noticed that the PBX blocks calls from certain mobile providers. I have not been able to identify the problem so here’s the asterisk log from one of the blocked calls:

Setting global variable ‘SIPDOMAIN’ to ‘XXXXXXX’
– Executing [XXXXXXX@from-sip-external:1] NoOp(“PJSIP/anonymous-00000044”, “Received incoming SIP connection from unknown peer to XXXXXXX”) in new stack
– Executing [XXXXXXX@from-sip-external:2] Set(“PJSIP/anonymous-00000044”, “DID=XXXXXXX”) in new stack
– Executing [XXXXXXX@from-sip-external:3] Goto(“PJSIP/anonymous-00000044”, “s,1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [s@from-sip-external:1] GotoIf(“PJSIP/anonymous-00000044”, “1?setlanguage:checkanon”) in new stack
– Goto (from-sip-external,s,2)
– Executing [s@from-sip-external:2] Set(“PJSIP/anonymous-00000044”, “CHANNEL(language)=en”) in new stack
– Executing [s@from-sip-external:3] GotoIf(“PJSIP/anonymous-00000044”, “0?noanonymous”) in new stack
– Executing [s@from-sip-external:4] Goto(“PJSIP/anonymous-00000044”, “from-trunk,XXXXXXX,1”) in new stack
– Goto (from-trunk,XXXXXXX,1)
– Executing [XXXXXXX@from-trunk:1] Set(“PJSIP/anonymous-00000044”, “__DIRECTION=INBOUND”) in new stack
– Executing [XXXXXXX@from-trunk:2] Gosub(“PJSIP/anonymous-00000044”, “sub-record-check,s,1(in,XXXXXXX,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“PJSIP/anonymous-00000044”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“PJSIP/anonymous-00000044”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“PJSIP/anonymous-00000044”, “NOW=1550777860”) in new stack
– Executing [s@sub-record-check:4] Set(“PJSIP/anonymous-00000044”, “__DAY=21”) in new stack
– Executing [s@sub-record-check:5] Set(“PJSIP/anonymous-00000044”, “__MONTH=02”) in new stack
– Executing [s@sub-record-check:6] Set(“PJSIP/anonymous-00000044”, “__YEAR=2019”) in new stack
– Executing [s@sub-record-check:7] Set(“PJSIP/anonymous-00000044”, “__TIMESTR=20190221-193740”) in new stack
– Executing [s@sub-record-check:8] Set(“PJSIP/anonymous-00000044”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“PJSIP/anonymous-00000044”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“PJSIP/anonymous-00000044”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“PJSIP/anonymous-00000044”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“PJSIP/anonymous-00000044”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“PJSIP/anonymous-00000044”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“PJSIP/anonymous-00000044”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“PJSIP/anonymous-00000044”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“PJSIP/anonymous-00000044”, “Inbound Recording Check to XXXXXXX”) in new stack
– Executing [in@sub-record-check:2] Set(“PJSIP/anonymous-00000044”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“PJSIP/anonymous-00000044”, “10?Set(FROMEXTEN=3212159636)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“PJSIP/anonymous-00000044”, “recordcheck,1(dontcare,in,XXXXXXX)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/anonymous-00000044”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/anonymous-00000044”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“PJSIP/anonymous-00000044”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“PJSIP/anonymous-00000044”, “”) in new stack
– Executing [XXXXXXX@from-trunk:3] Set(“PJSIP/anonymous-00000044”, “CHANNEL(tonezone)=us”) in new stack
– Executing [XXXXXXX@from-trunk:4] Set(“PJSIP/anonymous-00000044”, “__FROM_DID=XXXXXXX”) in new stack
– Executing [XXXXXXX@from-trunk:5] Set(“PJSIP/anonymous-00000044”, “returnhere=1”) in new stack
– Executing [XXXXXXX@from-trunk:6] Gosub(“PJSIP/anonymous-00000044”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“PJSIP/anonymous-00000044”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“PJSIP/anonymous-00000044”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“PJSIP/anonymous-00000044”, “”) in new stack
– Executing [XXXXXXX@from-trunk:7] Set(“PJSIP/anonymous-00000044”, “CDR(did)=XXXXXXX”) in new stack
– Executing [XXXXXXX@from-trunk:8] GotoIf(“PJSIP/anonymous-00000044”, “0?”) in new stack
– Executing [XXXXXXX@from-trunk:9] ExecIf(“PJSIP/anonymous-00000044”, “1 ?Set(CALLERID(name)=3212159636)”) in new stack
– Executing [XXXXXXX@from-trunk:10] Set(“PJSIP/anonymous-00000044”, “__MOHCLASS=”) in new stack
– Executing [XXXXXXX@from-trunk:11] Answer(“PJSIP/anonymous-00000044”, “”) in new stack
> 0x7ff22c0550f0 – Strict RTP learning after remote address set to: IPIPIPIP:50004
== Spawn extension (from-trunk, XXXXXXX, 11) exited non-zero on ‘PJSIP/anonymous-00000044’
– Executing [h@from-trunk:1] Macro(“PJSIP/anonymous-00000044”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/anonymous-00000044”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/anonymous-00000044”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“PJSIP/anonymous-00000044”, " monior file= ") in new stack
– Executing [s@macro-hangupcall:5] AGI(“PJSIP/anonymous-00000044”, “attendedtransfer-rec-restart.php,”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
– <PJSIP/anonymous-00000044>AGI Script attendedtransfer-rec-restart.php completed, returning 0
– Executing [s@macro-hangupcall:6] Hangup(“PJSIP/anonymous-00000044”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/anonymous-00000044’ in macro ‘hangupcall’
== Spawn extension (from-trunk, h, 1) exited non-zero on ‘PJSIP/anonymous-00000044’

I need help on identifying why this specific call was blocked. When I call from another mobile phone, the call gets forwarded to the IVR without a problem.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>