[Asterisk-Users] Per Extension Password for Outgoing Routing
Joel Vandal
jvandal at infoteck.qc.ca
Tue Dec 6 11:05:41 MST 2005
Hi,
> For default, the extensions only can dial to local numbers, but when
> they want to call to cell phones, long or international phones, there
> are authorized users, each one with their own password for dialing.
>
> I've checked the password for outgoing routing in Asterisk, but the
> password it's the same for everyone, or i am wrong?
>
> And the second issue, the extensions for default only can dial from
> 7.30am to 4.45pm (office hours); after that, nobody can dial out; but
> there are users which with a special sequence can dial out.
>
> is there a way to implement that functionality in Asterisk?
We have implement a similar function in the ScopServ GUI, this feature
is HotDesk.
For outgoing call, it use an AGI (exten =>
_X.,1,AGI,scopserv_hotdesk), this is a script that look in a db for
Time Schedule, dial permissions. and will ask for a password if
required. This script also allow "roaming extension".
AGI :
1- Verify if channel have permission (look in an SQL db)
2- Ask for a Password if requiored
3- DBGet channel/TimeSegment (ex: 08:00-17:00|mon-fri)
4- Parse TimeSegment
5- Execute Dial or Fail
--
Joel Vandal
ScopServ Inc.
http://www.scopserv.com \\ Web GUI for Asterisk PBX //
More information about the asterisk-users
mailing list