<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
So would the last step of the process noted below then be:<br>
<br>
exten => _1NXXXXXXXXX,5,SendDTMF(${EXTEN:0}) <br>
<br>
Or assuming I chose the correct variable EXTEN is it possible to append
this to priority noted below.<br>
<br>
Scott <br>
<br>
Jason Kawakami wrote:
<blockquote cite="mid003f01c4ab11$5d609160$2901a8c0@jkk00298l"
type="cite">
<pre wrap="">----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">I need to be able to dial a long distance provider that uses an access
number and an auth code. I would like to be able to program this so
that the user can dial 8 and then the long distance number, asterisk
will hopefully do everything in the middle.
The sequence to accessing the provider is on my traditional phone speed
dial as:
* Dial local access number
* Wait 5 seconds
* Dial the auth code
* Dial the number
</pre>
</blockquote>
<pre wrap=""><!---->
so you would build some context called [dialout-ld-auth]
with
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
and in your normal telephone context do an include =>dialout-ld-auth and an
ignorepat =>8
this assumes that the auth code for all users is 12345 and is static. if
this is not the case then the above will not work but would still be
possible.
</pre>
<blockquote type="cite">
<pre wrap="">I am not quite sure how to accomplish this with the exten.
I would prefer to avoid using a speed dial on the individual phones if
possible. This particular service is dial quite often by a number of
different people with different phones so simplicity is what I am
after. Not to mention saving me explaining the same thing a dozen times
with a variation per phone used ;-) .
To head off the comments about other ways to get LD access, I have a
specific application/need that has to be addressed.
</pre>
</blockquote>
<pre wrap=""><!---->
Hope that helps.
Jason Kawakami
<a class="moz-txt-link-abbreviated" href="http://www.optellabs.com">www.optellabs.com</a>
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Scott Henderson
==========================================
Finite Technologies Incorporated
3763 Image Drive, Anchorage, Alaska 99504
Phone: 907.337.2860, Fax: 907.333.4482
<a class="moz-txt-link-freetext" href="http://www.finite-tech.com">http://www.finite-tech.com</a>
<a class="moz-txt-link-freetext" href="http://www.chillywall.com">http://www.chillywall.com</a>
<a class="moz-txt-link-freetext" href="http://www.virtuale.cc">http://www.virtuale.cc</a>
<a class="moz-txt-link-freetext" href="http://www.mphage.com">http://www.mphage.com</a>
==========================================
</pre>
</body>
</html>