Unable to call to Toll Free Number In India

Hello,

I am new to freepbx and need some help. On my freepbx I am not able to make call to any tollfree numbers
Though all other local numbers and extension to extension is working fine.

Can you please help to resolve this issue.

Let me know if any logs needed.

Version Info?

Also, please post a screenshot of your outbound route[s]

Asterisk (Ver. 1.8.22.0):
PBX Version 3.211.63-10

it says new use can not upload image.

I would check with your local carrier to see if the calls are hitting their platform. If not then I’d focus on the outbound routes you have set up.

I do not live in India so I don’t know what a toll free number looks like. :wink: In NAPA land it looks like 800xxxxxxx, 888xxxxxxx, 877xxxxxxx, 866xxxxxxx etc.

What happens when you dial a TF? Provide some console output of a failed call. What do your outbound routes look like?

Hi,

In India the toll free numbers starts with 1800XXXXXXX

below is my outbound route:

prefix = 0
match patteren = .

when I call toll free numbers it says “All Circuits are Busy”

Also if you are looking for logs can you please let me now how to capture the logs

I have checked with local carrier and from their test device if they connect to my carrier line they are able to make Toll freecalls without any issues. So no problem from their end.

Thanks

Hi @debashis is the issue was solved and even i am also facing the same issue can you help me

@sravanth1243 Please start your own thread

Hi @sravanth1243,

Issue is still not resolved… and I am waiting for some ones help on this.

From your linux CLI:

asterisk -vvvvvvvvvvr

then place a call

<— Reliably Transmitting (no NAT) to 10.xx.xx.xx:5060
—>

SIP/2.0 503 Service Unavailable

Via: SIP/2.0/UDP 10.xx.xx.xx:5060;branch=z9hG4bKda3731e8;received=10.xx.xx.xx

From: “217” sip:[email protected];tag=04fe7f68f0ff3dd9a4c3de34-68cd46b0

To: sip:[email protected];tag=as43b51aa0

Call-ID: [email protected]

CSeq: 102 INVITE

Server: FPBX-2.11.0(1.8.22.0)

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
NOTIFY, INFO, PUBLISH

Supported: replaces, timer

X-Asterisk-HangupCause: No route to destination

X-Asterisk-HangupCauseCode: 3

Content-Length: 0

=========================================================================
Connected to Asterisk 1.8.22.0 currently running on India (pid = 3108)
Verbosity is at least 10
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [018004254051@from-internal:1] Macro(“SIP/217-00003896”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/217-00003896”, “TOUCH_MONITOR=1447071637.23294”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/217-00003896”, “AMPUSER=217”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/217-00003896”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/217-00003896”, “1?Set(REALCALLERIDNUM=217)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/217-00003896”, “AMPUSER=217”) in new stack
– Executing [s@macro-user-callerid:6] Set(“SIP/217-00003896”, “AMPUSERCIDNAME=Test User”) in new stack
– Executing [s@macro-user-callerid:7] GotoIf(“SIP/217-00003896”, “0?report”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/217-00003896”, “AMPUSERCID=217”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/217-00003896”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/217-00003896”, “CALLERID(all)=“Test User” <217>”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/217-00003896”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“SIP/217-00003896”, “1?Set(GROUP(concurrency_limit)=217)”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/217-00003896”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:14] GosubIf(“SIP/217-00003896”, “7?sub-ccss,s,1(from-internal,018004254051)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/217-00003896”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/217-00003896”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/217-00003896”, “0?monitor_config,1(from-internal,018004254051):monitor_default,1(from-internal,018004254051)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/217-00003896”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/217-00003896”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/217-00003896”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“SIP/217-00003896”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [s@macro-user-callerid:28] Set(“SIP/217-00003896”, “CALLERID(number)=217”) in new stack
– Executing [s@macro-user-callerid:29] Set(“SIP/217-00003896”, “CALLERID(name)=Test User”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/217-00003896”, “CDR(cnum)=217”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/217-00003896”, “CDR(cnam)=Test User”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/217-00003896”, “CHANNEL(language)=en”) in new stack
– Executing [018004254051@from-internal:2] Set(“SIP/217-00003896”, “MOHCLASS=default”) in new stack
– Executing [018004254051@from-internal:3] ExecIf(“SIP/217-00003896”, “0?Set(TRUNKCIDOVERRIDE=12345678)”) in new stack
– Executing [018004254051@from-internal:4] Set(“SIP/217-00003896”, “_NODEST=”) in new stack
– Executing [018004254051@from-internal:5] Gosub(“SIP/217-00003896”, “sub-record-check,s,1(out,018004254051,)”) in new stack
– Executing [s@sub-record-check:1] Set(“SIP/217-00003896”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“SIP/217-00003896”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“SIP/217-00003896”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“SIP/217-00003896”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“SIP/217-00003896”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“SIP/217-00003896”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“SIP/217-00003896”, “0?out,1”) in new stack
– Executing [s@sub-record-check:14] Set(“SIP/217-00003896”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:15] Set(“SIP/217-00003896”, “NOW=1447071637”) in new stack
– Executing [s@sub-record-check:16] Set(“SIP/217-00003896”, “__DAY=09”) in new stack
– Executing [s@sub-record-check:17] Set(“SIP/217-00003896”, “__MONTH=11”) in new stack
– Executing [s@sub-record-check:18] Set(“SIP/217-00003896”, “__YEAR=2015”) in new stack
– Executing [s@sub-record-check:19] Set(“SIP/217-00003896”, “__TIMESTR=20151109-175037”) in new stack
– Executing [s@sub-record-check:20] Set(“SIP/217-00003896”, “__FROMEXTEN=217”) in new stack
– Executing [s@sub-record-check:21] Set(“SIP/217-00003896”, “__CALLFILENAME=out-018004254051-217-20151109-175037-1447071637.23294”) in new stack
– Executing [s@sub-record-check:22] Goto(“SIP/217-00003896”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] ExecIf(“SIP/217-00003896”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
– Executing [out@sub-record-check:2] GosubIf(“SIP/217-00003896”, “0?record,1(exten,018004254051,217)”) in new stack
– Executing [out@sub-record-check:3] Return(“SIP/217-00003896”, “”) in new stack
– Executing [018004254051@from-internal:6] Macro(“SIP/217-00003896”, “dialout-trunk,1,18004254051,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/217-00003896”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/217-00003896”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/217-00003896”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/217-00003896”, “DIAL_NUMBER=18004254051”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/217-00003896”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/217-00003896”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/217-00003896”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/217-00003896”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/217-00003896”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/217-00003896”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/217-00003896”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/217-00003896”, “0?Set(REALCALLERIDNUM=217)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/217-00003896”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/217-00003896”, “USEROUTCID=317”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/217-00003896”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/217-00003896”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/217-00003896”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/217-00003896”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/217-00003896”, “1?Set(CALLERID(all)=317)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/217-00003896”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/217-00003896”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/217-00003896”, “CDR(outbound_cnum)=317”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/217-00003896”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/217-00003896”, “0?sub-flp-1,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/217-00003896”, “OUTNUM=018004254051”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/217-00003896”, “custom=DAHDI/g0”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/217-00003896”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/217-00003896”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/217-00003896”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/217-00003896”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/217-00003896”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/217-00003896”, “1?Set(CONNECTEDLINE(num,i)=18004254051)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/217-00003896”, “1?Set(CONNECTEDLINE(name,i)=CID:317)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/217-00003896”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/217-00003896”, “DAHDI/g0/018004254051,300,Tt”) in new stack
[2015-11-09 17:50:37] DEBUG[25556]: sig_pri.c:1016 sig_pri_request: sig_pri_request 1
[2015-11-09 17:50:37] DEBUG[25556]: sig_pri.c:6603 sig_pri_call: CALLER NAME: NUM: 317
– Requested transfer capability: 0x00 - SPEECH
– Called DAHDI/g0/018004254051
– Span 1: Channel 0/1 got hangup request, cause 3
– Hungup ‘DAHDI/i1/018004254051-2239’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:23] NoOp(“SIP/217-00003896”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 3”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/217-00003896”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/217-00003896”, “RC=3”) in new stack
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/217-00003896”, “3,1”) in new stack
– Goto (macro-dialout-trunk,3,1)
– Executing [3@macro-dialout-trunk:1] Goto(“SIP/217-00003896”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] NoOp(“SIP/217-00003896”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 3 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:2] Set(“SIP/217-00003896”, “CALLERID(number)=217”) in new stack
– Executing [018004254051@from-internal:7] Macro(“SIP/217-00003896”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“SIP/217-00003896”, “”) in new stack
– Executing [s@macro-outisbusy:2] GotoIf(“SIP/217-00003896”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“SIP/217-00003896”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“SIP/217-00003896”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
– <SIP/217-00003896> Playing ‘all-circuits-busy-now.ulaw’ (language ‘en’)
– <SIP/217-00003896> Playing ‘pls-try-call-later.ulaw’ (language ‘en’)
– Executing [s@macro-outisbusy:5] Congestion(“SIP/217-00003896”, “20”) in new stack
[2015-11-09 17:50:41] WARNING[25556]: channel.c:4753 ast_prod: Prodding channel ‘SIP/217-00003896’ failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/217-00003896’ in macro ‘outisbusy’
== Spawn extension (from-internal, 018004254051, 7) exited non-zero on ‘SIP/217-00003896’
– Executing [h@from-internal:1] Hangup(“SIP/217-00003896”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/217-00003896’