Kellner, Peter
2005-Mar-28 11:19 UTC
[Asterisk-Users] problem with 1 dialing (recording says must dial 1 when I thought I did)
TRUNKMSD1=1 ; MSD digits to strip
(usually 1 or 0)
TRUNKMSD2=2 ; MSD digits to strip
(usually 1 or 0)
; logn distance calls
exten => _91NXXNXXXXXX,1,NoOp("Dialing:
"${TRUNK}/${EXTEN:${TRUNKMSD1}})
exten => _91NXXNXXXXXX,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD1}})
exten => _91NXXNXXXXXX,3,Congestion
When I dial a long distance number (916503270309 for example) I get the
message (I think from SBC) saying I must first dial a 1. Other times,
it works, like when I dial this number (914082341389).
Any ideas why would be appreciated.
Thanks,
-Peter
I have a TDM400P with two FXS and two FXO's.
My extensions.conf
TRUNKMSD1=1 ; MSD digits to strip
(usually 1 or 0)
TRUNKMSD2=2 ; MSD digits to strip
(usually 1 or 0)
; logn distance calls
exten => _91NXXNXXXXXX,1,NoOp("Dialing:
"${TRUNK}/${EXTEN:${TRUNKMSD1}})
exten => _91NXXNXXXXXX,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD1}})
exten => _91NXXNXXXXXX,3,Congestion
Julian J. M.
2005-Mar-28 11:38 UTC
[Asterisk-Users] problem with 1 dialing (recording says must dial 1 when I thought I did)
Maybe the first digit is dialed before the dialtone, try adding a 'w'
before ${EXTEN..., e.g.
exten => _91NXXNXXXXXX,2,Dial(${TRUNK}/w${EXTEN:${TRUNKMSD1}})
Julian J. M.
On Mon, 28 Mar 2005 13:19:03 -0500, Kellner, Peter
<Peter@peterkellner.net> wrote:> When I dial a long distance number (916503270309 for example) I get the
> message (I think from SBC) saying I must first dial a 1. Other times,
> it works, like when I dial this number (914082341389).
tmassey@obscorp.com
2005-Mar-28 13:24 UTC
[Asterisk-Users] problem with 1 dialing (recording says must dial 1 when I thought I did)
asterisk-users-bounces@lists.digium.com wrote on 03/28/2005 01:19:03 PM:> > TRUNKMSD1=1 ; MSD digits to strip > (usually 1 or 0) > TRUNKMSD2=2 ; MSD digits to strip > (usually 1 or 0) > > ; logn distance calls > exten => _91NXXNXXXXXX,1,NoOp("Dialing: "${TRUNK}/${EXTEN:${TRUNKMSD1}}) > exten => _91NXXNXXXXXX,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD1}}) > exten => _91NXXNXXXXXX,3,CongestionYour dial command is stripping the one. That's what the ${EXTEN:1} part does. So, yes, you are dialing the 1, but the dial command is stripping it. If you want to keep the one, use this: exten => _91NXXNXXXXXX,2,Dial(${TRUNK}/${EXTEN})> When I dial a long distance number (916503270309 for example) I get the > message (I think from SBC) saying I must first dial a 1. Other times, > it works, like when I dial this number (914082341389).I have no idea where you're located. Is it maybe that you have 10-digit dialing and that the one that works is a local call, and therefore does not need the 1? Tim Massey
Reasonably Related Threads
- Wanting to Make a PocketPC have a secure Connection to asterisk server
- Looking for inexpensive phone to use with Asterisk with message light and a button that will let me play new messages
- Asterisk@Home 0.7 released Question/Problem
- optimize a joint lieklihood with mle2
- FX Dialing Odd