[asterisk-users] FX Dialing Odd

Rob Schall rschall at callone.net
Mon Jun 4 14:38:06 MST 2007


Thanks Eric.

That is exactly what the problem was. I actually added a D(1) instead of
the w, but either would work I'm sure. Its odd that you couldn't get a
better error than that. I mean, asterisk should be able to tell what was
actually sent and received by the other end. I shouldn't say it
"should", but it would be nice if it could tell. :)

Rob


Eric "ManxPower" Wieling wrote:
> Asterisk does NOT wait for dialtone when going offhook on an FXO port.
> Asterisk is sending digits to the telco too quickly.
>
> Add a "w" (.5 second wait) before the extension to be dialed.  Example:
>
> exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/w${EXTEN:${TRUNKMSD}},,wW)
>
> Rob Schall wrote:
>> Here's a possible bug, or more likely, I'm just missing something.
>>
>> We have a pots card in one of our asterisk boxes. Its a simple asterisk
>> setup with one FXO/FXS card and basic static extensions file, etc. When
>> we dial out over the pots line, 4 out of 5 times, it will work. However,
>> every 4 or 5 times, we get an error back from the provider that says
>> "The number you have dialed..... blah blah blah". The interesting there
>> there, is that the number it quotes us, adds our local area code in
>> front of it. And this only seems to happen on long distance context
>> numbers. So when we dial 630-XXX-XXXX, sometimes we are sent to
>> 312-681-XXX-XXXX.
>>
>> Here's our configs:
>> zaptel.conf
>> loadzone=us
>> defaultzone=us
>> fxoks=1-2
>> fxsks=3
>>
>> zapata.conf
>> [trunkgroups]
>>
>> [channels]
>>
>> language=en
>> context=internal
>>
>> usecallerid=yes
>> hidecallerid=no
>> callwaiting=yes
>> usecallingpres=yes
>> callwaitingcallerid=yes
>> threewaycalling=yes
>> transfer=yes
>> cancallforward=yes
>> callreturn=yes
>> echocancel=yes
>> callgroup=1
>> pickupgroup=1
>> immediate=no
>>
>> ;define channels
>> context=internal
>> signalling=fxo_ks
>> channel => 1-2
>>
>> context=zapchans
>> signalling=fxs_ks
>> group=1
>> channel => 3
>>
>> extensions.conf
>> [general]
>> static=yes
>> writeprotect=no
>> clearglobalvars=no priorityjumping=no
>>
>> [globals]
>> CONSOLE=Console/dsp                             ; Console interface
>> for demo
>> ;TRUNK=Zap/g1                                   ; Trunk interface
>> TRUNK=Zap/3                                     ; Trunk interface
>> TRUNKMSD=1                                      ; MSD digits to strip
>> (usually 1 or 0)
>>
>> [trunkint]
>> exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})
>> exten => _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>>
>> [trunkld]
>> exten => _91NXXNXXXXXX,1,Verbose("LD")
>> exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}},,wW)
>> exten => _91NXXNXXXXXX,n,Hangup()
>>
>> [trunklocal]
>> exten => _9NXXXXXX,1,Verbose("LOCAL")
>> exten => _9NXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}},,wW)
>> exten => _9NXXXXXX,n,Hangup()
>>
>> [trunktollfree]
>> exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>> exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>> exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>> exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>>
>> [outgoing]
>> include => trunklocal
>> include => trunktollfree
>> include => trunkld
>>
>> ;ZAP Channels
>> [zapchans]
>> exten => 3,1,Dial(ZAP/1-1)
>> exten => 3,2,Hangup()
>> exten => 4,1,Dial(ZAP/2-1)
>> exten => 4,2,Hangup()
>>
>> exten => s,1,Answer()
>> exten => s,2,NoOp(${CHANNEL:4:1})
>> exten => s,3,Goto(${CHANNEL:4:1},1)
>> exten => s,4,Hangup()
>>
>> [incoming]
>> include =>internal
>>
>> [internal]
>> include => outgoing
>>
>> exten => 9999,1,Dial(Zap/3/1630XXXXXXX,,wW)
>> exten => 9999,2,Hangup()
>>
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list