thanks steve,<br>
<br>
the reason i cannot remove the restriction on the telco line is that an
analog fone is connected to the phone jack of the x101p and some
visitors occasionally use the fone and they're supposed to only call
local toll free numbers.<br>
<br>
Your suggestion of doing the restrictions within asterisk is good but i
have yet to buy an FXS port for the analog fone so i cannot do so.<br>
<br>
and for the extensions connected via softphones to asterisk, i wanted
asterisk to take care of opening the lock before dialing the desired
phone number.<br>
<br>
i was thinking of using the "SendDTMF" but i dont know how to get the zap line go off hook.<br><br><div><span class="gmail_quote">On 11/27/05, <b class="gmail_sendername">Steve Totaro</b> <<a href="mailto:stotaro@totarotechnologies.com">
stotaro@totarotechnologies.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">><br>> hi,<br>><br>> can anyone please guide me as to how i can implement this in
<br>> extensions.conf:<br>><br>> my PSTN line normally has its longdistance capability "locked" which<br>can<br>> be opened by dialing some keys and the PIN.<br>><br>> if i wanted some users to be allowed to call long distance using the
<br>zap<br>> channel, how can i initially offhook then send some DTMF then Flash<br>twice<br>> before proceeding with the dialing EXTEN.<br><br><br>Do you want asterisk to take care of the DTMF for you? When you say
<br>users, do you mean certain extensions?<br><br>Why not cancel your restrictions with the telco and implement<br>restrictions within asterisk. You can use authenticate before your dial<br>statement to prompt for a pin when dialing long distance or you can
<br>create different contexts for phones that you want to access long<br>distance and for phones that you don't<br><br>Thanks,<br>Steve<br>_______________________________________________<br>--Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>