Yeah, and unlocked ATAs are not available in the market here.<br>
I even had to pay almost twice the cost of my X101p clone for shipping<br><br><div><span class="gmail_quote">On 11/28/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;">Wow, what a pain. I would just pickup an FXS and be done with it.<br>
<br>><br>><br>> Thanks Steve,<br>><br>> But this will not work for me because after "yourcodehere" the line<br>will<br>> give a confirmation tone (similar to a congestion tone only faster)<br>then
<br>> after flashing or certain period will turn into a busytone and to get<br>the<br>> dialtone again i need to Flash again before i can dial ${EXTEN}.<br>><br>><br>><br>> On 11/28/05, Steve Totaro <
<a href="mailto:stotaro@totarotechnologies.com">stotaro@totarotechnologies.com</a>> wrote:<br>><br>> How about this?<br>><br>> exten => 1234567890,1,Dial(Zap/g1/yourcodehere${EXTEN})<br>> -or-
<br>> exten => 1234567890,1,Dial(Zap/g1/yourcodeherewwww${EXTEN})<br>><br>> I have not seen restrictions set before dialing since local<br>numbers<br>> would not fall under the restriction but that is what you said.
<br>> Usually<br>> you dial the number first and if it is a long distance call,<br>they<br>> prompt<br>> for a code with a tone or something. The second example shoud<br>give<br>> you<br>> a two second pause before dialing the rest of the number (wwww).
<br>><br>> Thanks,<br>> Steve<br>><br>><br>> ><br>> > thanks steve,<br>> ><br>> > the reason i cannot remove the restriction on the telco line<br>
is<br>> that<br>> an<br>> > analog fone is connected to the phone jack of the x101p and<br>some<br>> visitors<br>> > occasionally use the fone and they're supposed to only call
<br>local<br>> toll<br>> > free numbers.<br>> ><br>> > Your suggestion of doing the restrictions within asterisk is<br>good<br>> but<br>> i<br>> > have yet to buy an FXS port for the analog fone so i cannot do
<br>so.<br>> ><br>> > and for the extensions connected via softphones to asterisk, i<br>> wanted<br>> > asterisk to take care of opening the lock before dialing the<br>> desired<br>
> phone<br>> > number.<br>> ><br>> > i was thinking of using the "SendDTMF" but i dont know how to<br>get<br>> the<br>> zap<br>> > line go off hook.
<br>> ><br>> ><br>> > On 11/27/05, Steve Totaro < <a href="mailto:stotaro@totarotechnologies.com">stotaro@totarotechnologies.com</a><br>> <mailto:<a href="mailto:stotaro@totarotechnologies.com">
stotaro@totarotechnologies.com</a>><br>> > <mailto:<a href="mailto:stotaro@totarotechnologies.com">stotaro@totarotechnologies.com</a>> > wrote:<br>> ><br>> > ><br>> > > hi,
<br>> > ><br>>
> > can anyone please guide
me as to how i can implement<br>this<br>> in<br>> > > extensions.conf:<br>> > ><br>>
> > my PSTN line normally has
its longdistance capability<br>> "locked"<br>> > 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<br>distance<br>> using<br>> > the<br>> > zap<br>>
> > channel, how can i
initially offhook then send some<br>DTMF<br>> then<br>> > 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?<br>When<br>> you<br>> say<br>> > users, do you mean certain extensions?<br>> ><br>>
> Why not cancel your
restrictions with the telco and<br>> implement<br>>
> restrictions within
asterisk. You can use authenticate<br>> before<br>> your<br>> > dial<br>>
> statement to prompt for a pin
when dialing long distance<br>or<br>> you<br>> can<br>>
> create different contexts for
phones that you want to<br>access<br>> long<br>> > distance and for phones that you don't<br>> ><br>> > Thanks,<br>> > Steve<br><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>