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.
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.
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.
i was thinking of using the "SendDTMF" but i dont know how to get the zap line go off hook.
On 11/27/05, Steve Totaro <
[EMAIL PROTECTED]> wrote:
>
> hi,
>
> can anyone please guide me as to how i can implement this in
> extensions.conf:
>
> my PSTN line normally has its longdistance capability "locked" which
can
> be opened by dialing some keys and the PIN.
>
> if i wanted some users to be allowed to call long distance using the
zap
> channel, how can i initially offhook then send some DTMF then Flash
twice
> before proceeding with the dialing EXTEN.
Do you want asterisk to take care of the DTMF for you? When you say
users, do you mean certain extensions?
Why not cancel your restrictions with the telco and implement
restrictions within asterisk. You can use authenticate before your dial
statement to prompt for a pin when dialing long distance or you can
create different contexts for phones that you want to access long
distance and for phones that you don't
Thanks,
Steve
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
