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

Scott Henderson scott at finite-tech.com
Tue Oct 5 15:04:00 MST 2004


Actually the order is: switch access number, auth code and number to dial.

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/da007c8d/attachment.htm


More information about the asterisk-users mailing list