Carlos Prieto
2005-Dec-06 10:17 UTC
[Asterisk-Users] Per Extension Password for Outgoing Routing
Hi ! I'm planning to replace a legacy Panasonic PBX with Asterisk, but there are 2 issues to resolve before that. 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.30amto 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? Thanks for the help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051206/b7616b51/attachment.htm
Innocent Evil
2005-Dec-06 10:42 UTC
[Asterisk-Users] Per Extension Password for Outgoing Routing
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=utf-8"><META content="IBISIT WebMail" name=GENERATOR></HEAD><BODY> <div>You can accomplish password per extention by using an AGI script.<br> model would be,<br> <br> keep extension and password in a table <br> Execute a simple script to authenticate before dial-out<br> <br> You can also accomplish dial-out time from an AGI script.<br> Feel free to ask if you need further help.<br> <br> Thanks,<br> <br> </div><div>--<br>You don't have any choice, you already made it before you came here.</div><br><br><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div class="msgHeaders">-----Original Message-----<br><b>From:</b> prieto.carlos@gmail.com<br><b>Sent:</b> Tue, 6 Dec 2005 12:17:19 -0500<br><b>To:</b> asterisk-users@lists.digium.com<br><b>Subject:</b> [Asterisk-Users] Per Extension Password for Outgoing Routing<br><br></div><div class="oldBody"><div><div>Hi !</div> <div> </div> <div>I'm planning to replace a legacy Panasonic PBX with Asterisk, but there are 2 issues to resolve before that.</div> <div> </div> <div>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.</div> <div> </div> <div>I've checked the password for outgoing routing in Asterisk, but the password it's the same for everyone, or i am wrong?</div> <div> </div> <div>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.</div> <div> </div> <div>is there a way to implement that functionality in Asterisk?</div> <div> </div> <div>Thanks for the help.</div> </div></div></blockquote> </BODY></HTML>
Joel Vandal
2005-Dec-06 11:05 UTC
[Asterisk-Users] Per Extension Password for Outgoing Routing
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 //
Using AGI is overkill as everything can be accomplished in the DP. Use the VMAuthenticate command for the passwords: http://www.voip-info.org/wiki-asterisk+cmd+vmauthenticate and use include based on time for the other stuff: http://www.voip-info.org/wiki-Asterisk+tips+openhours On 12/6/05, Carlos Prieto <prieto.carlos@gmail.com> wrote:> Hi ! > > I'm planning to replace a legacy Panasonic PBX with Asterisk, but there are > 2 issues to resolve before that. > > 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? > > Thanks for the help. > _______________________________________________ > --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 > > >