[Asterisk-Users] Re: Re: Re: Long distance provider with access number and auth code

Scott Henderson scott at finite-tech.com
Tue Oct 5 18:36:54 MST 2004


Well I combined information in the previous message with the changes in 
the docs and came up with the following:

exten => _1NXXNXXXXXX,1,Dial,Zap/R1/2673700     ; Dial ITI Switch
exten => _1NXXNXXXXXX,2,Wait(10)
exten => _1NXXNXXXXXX,3,SendDTMF(auth_code)    ; Send auth code
exten => _1NXXNXXXXXX,4,Wait(10)
exten => _1NXXNXXXXXX,5,SendDTMF(${EXTEN:0})    ; Send number

This shows a long "wait" time because I was experimenting with options.  
Basically this doesn't work and I am at a loss as to why.  I can seem to 
figure out how to debug what is happening so I can see what digits are 
being sent bu if I had to guess I don't thing it is getting past 
priority one because I hear dial tone from the LD switch in approx 7 
sec. and then nothing until the LD switch times out and provides a voice 
error message.  So I have to wonder if the "wait" is working at all.  
This seems to follow from the documentation and is close to the 
suggestion provided.  I removed the "8" for the time being to make my 
dialing one digit shorter.  StripMSD can now be handled wit the EXTEN:1 
option.

Any thoughts would be helpful.

Scott

Jason Kawakami wrote:

>----- Original Message ----- 
><snip>
>  
>
>>So would the last step of the process noted below then be:
>>
>>exten => _1NXXXXXXXXX,5,SendDTMF(${EXTEN:0})
>>
>>Or assuming I chose the correct variable EXTEN is it possible to append
>>this to priority noted below.
>>    
>>
><snip>
>  
>
>>>exten => _81NXXXXXXXXX,1,StripMSD,1
>>>exten => _1NXXXXXXXXX,2,Dial,Zap/g1/BYEXTENSION
>>>exten => _1NXXXXXXXXX,3,Wait(5)
>>>exten => _1NXXXXXXXXX,4,SendDTMF(12345)            ;where 12345 is the
>>>      
>>>
>auth
>  
>
>>>code
>>>      
>>>
><snip>
>
>you are actually sending the TN in priority 2 to the ZAP channel (I made an
>assumption here).  so you need to send the auth code first then the TN?  if
>so, then it would read
>
>exten => _81NXXXXXXXXX,1,StripMSD,1
>exten => _1NXXXXXXXXX,2,Dial,Zap/g1/12345                 ;where 12345 is
>the auth code
>exten => _1NXXXXXXXXX,3,Wait(5)
>exten => _1NXXXXXXXXX,4,SendDTMF(${EXTEN})
>
>haven't seen it this way from a carrier before, I have always sent the
>number on the trunk first and then authenticate once I get a tone prompt.
>
>should work I think though.
>
>Jason
>
>
>
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>

-- 
Scott Henderson
==========================================
Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.337.2860, Fax: 907.333.4482
http://www.finite-tech.com
http://www.chillywall.com
http://www.virtuale.cc
http://www.mphage.com
==========================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041005/8e85ea7d/attachment.htm


More information about the asterisk-users mailing list