We had someone ask today for the ability to dial longdistance using a personal calling card (ie operator assisted Long Distance).
Which for North American means dialing 0+areacode+7digits
for International it means dialing 01+number
We are able to get this to work but we are having some strange messages. All other calls work fine (ie 011+num, 1+num, local calls etc)
Our config is the following - We have an Asterisk 1.2.13 server that places all calls using SIP via a Cisco 2800 Router with PRI ports to our campus wide Nortel SL100 Switch.
The Long distance Dialplan is as follows (10.1.2.6 is the cisco router)
exten => _0NXXNXXXXXX,1,NoOp("LD: Call for "${EXTEN})
exten => _0NXXNXXXXXX,2,Dial(SIP/${EXTEN}@10.1.2.6,60,t)
exten => _1NXXNXXXXXX,1,NoOp("LD: Call for "${EXTEN})
exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN}@10.1.2.6,60,t)
When the call is placed it seems to get put on hold momentarily, we then get a message about a pbx_transfer, then the call reconects.
See the console log.
– Executing NoOp(“SIP/5555555-b7c32528”, ""LD: Call for “04033211234”) in new stack
– Executing Dial(“SIP/5555555-b7c32528”, “SIP/04033211234@10.1.2.6|60|t”) in new stack
– Called 04033211234@10.1.2.6
– SIP/10.1.2.6-088df960 is making progress passing it to SIP/5555555-b7c32528
– SIP/10.1.2.6-088df960 answered SIP/5555555-b7c32528
– Started music on hold, class ‘default’, on channel ‘SIP/5555555-b7c32528’
– Playing ‘pbx-transfer’ (language ‘en’)
– Unable to find extension ‘’ in context ‘default’
– Playing ‘pbx-invalid’ (language ‘en’)
– Stopped music on hold on SIP/5555555-b7c32528
== Spawn extension (UnRestrictedCalling, 04033211234, 3) exited non-zero on ‘SIP/5555555-b7c32528’
Any ideas on why this is occuring and is there an workarounds?