[asterisk-users] Toll free numbers
Eric Rousse
eric.rousse at telmatik.com
Fri Dec 29 11:10:28 MST 2006
Hi,
For some reason, I seem to have issues with dailing toll free numbers
and can't seem to find out why, sometimes, I get a busy signal. Some
other times I get weird errors from the phone.
The error below was a simple busy signal.
Here's couple of my info relevant to the problem:
-- Reconfigured channel 1, PRI Signalling signalling
-- Reconfigured channel 2, PRI Signalling signalling
-- Executing Dial("SIP/107-9da02970", "Zap/g1/18889554562") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/18889554562
-- Zap/1-1 is proceeding passing it to SIP/107-9da02970
-- PROGRESS with cause code 28 received
-- Zap/1-1 is making progress passing it to SIP/107-9da02970
-- Hungup 'Zap/1-1'
== Spawn extension (internal, 918889554562, 1) exited non-zero on
'SIP/107-9da02970'
from the console I get this error Progress with cause code 28 received.
In my extensions.conf file I got this in my internal context which is
used by my sip phones:
[internal]
include => trunktollfree
include => outgoing
exten => _XXX,1,Macro(incoming,SIP/${EXTEN},${EXTEN})
exten => 200,1,Answer
exten => 200,2,MusicOnHold()
exten => 999,1,Playback(demo-echotest)
exten => 999,2,Echo
exten => 999,3,Playback(demo-echodone)
exten => 1000,1, Dial(IAX2/1000,30)
;Agent login
exten => 3001,1,AgentCallbackLogin(||${CALLERIDNUM}@internal)
;Agent logout
exten => 3002,1,AgentCallbackLogin(||l)
exten=> 2020,1,Answer
exten=> 2020,2,Ringing
exten=> 2020,3,Wait(2)
exten=> 2020,4,Queue(queue1)
exten=> 2020,5,Hangup
It's a bit messy but it's mainly for testing.
In trunktollfree, I got this:
[trunktollfree]
;
; Long distance context accessed through trunk interface
;
exten => _91800.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91888.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91877.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91866.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
zaptel.conf:
span=1,0,0,esf,b8zs
bchan=1-23
dchan=24
loadzone = us
defaultzone=us
And I'm using a PRI line on my server, outgoing calls are working good,
it's just my toll free calls that doesn't go through, I've probably
misconfigured something I guess...
Thanks!
More information about the asterisk-users
mailing list