<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>If you want a specific CID to show up it seems that
your only options are to</FONT></DIV>
<DIV><FONT face=Arial size=2>A) Write an AGI.</FONT></DIV>
<DIV><FONT face=Arial size=2>B) If you don't have many users that can dial
international you can use a series of GotoIf statements.</FONT></DIV>
<DIV><FONT face=Arial size=2>C) You can use the Asterisk DB.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Dovid</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=hikenboots@gmail.com href="mailto:hikenboots@gmail.com">J French</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, April 08, 2007 12:13
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [asterisk-users] Prompt for a
PIN number to make long distance call?</DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>I need to authenticate users to
make long distance calls. Basically,when the user dials a long distance
dialplan pattern, I want to prompt for his pin and look it up against a table
of pins:usernames in a file. If it exists, I'll use the username in the
cdr accountcode and permit the call. Authenticate() looked very
promising nut I couldn't get the ma options to work. Any help is
appreciated. Honestly, I'm not even sure how to read an external file
and parse it from asterisk.
<P>
<HR>
<P></P>_______________________________________________<BR>--Bandwidth and
Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing
list<BR>To UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users<BR></BLOCKQUOTE></BODY></HTML>