satish patel
2007-Sep-14 13:02 UTC
[asterisk-users] outgoing call restriction in extention.conf
Dear all I have asterisk PBX and 100 endpoint i want to block STD for specific users or password protect so is it possible users can set passwd on his/her phone and password automaticaly reflacted on asterisk in short i want to restrict STD call of users of outgoing Regards satish patel --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070914/7ce20338/attachment.htm
Anthony Francis
2007-Sep-14 13:46 UTC
[asterisk-users] outgoing call restriction in extention.conf
satish patel wrote:> Dear all > > I have asterisk PBX and 100 endpoint i want to block > STD for specific users or password protect so is it possible users can > set passwd on his/her phone and password automaticaly reflacted on > asterisk in short i want to restrict STD call of users of outgoing > > Regards > > satish patel > > ------------------------------------------------------------------------ > Moody friends. Drama queens. Your life? Nope! - their life, your story. > Play Sims Stories at Yahoo! Games. > <http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/> > ------------------------------------------------------------------------ > > _______________________________________________ > > Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ > > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersThis page has an example of call limiting, to make them need an access code, try using authenticate. http://www.voip-info.org/wiki/index.php?page=Asterisk+func+GROUP This site is your friend and should be your first stop when trying to do basic asterisk things. -- Thank you and have a wonderful day, Anthony Francis Rockynet VOIP (303) 444-7052 opt 2 voip at rockynet.com
Keshav K.
2007-Sep-14 18:08 UTC
[asterisk-users] outgoing call restriction in extention.conf
The best way of restricting users from STD is making different context in extensions.conf, in that context allow STD. and in sip.conf for those users make that context. extensions.conf [local] exten => _0[1-9].,1,Answer exten => _0[1-9].,2,Dial(${TRUNK}/${EXTEN:1}w) exten => _0.,3,Hangup [STD] exten => _0.,1,Answer exten => _0.,2,Dial(${TRUNK}/${EXTEN:1}w) exten => _0.,3,Hangup include => local and sample sip.conf--- if User 101 is allowed for Local only and if 102 is for STD also ---- [101] type=friend username=101 ;secret=101 host=dynamic port=5060 dtmfmode=rfc2833 canreinvite=no context=local disallow=all allow=ulaw [102] type=friend username=102 ;secret=102 host=dynamic port=5060 dtmfmode=rfc2833 canreinvite=no context=STD disallow=all allow=ulaw ---------------------------------- ---------------------------------- You can also use "Authenticate" command in your dial plan for password authenticate if you want. Regards, Kesh satish patel <satish_patel_2000_2000 at yahoo.com> wrote: Dear all I have asterisk PBX and 100 endpoint i want to block STD for specific users or password protect so is it possible users can set passwd on his/her phone and password automaticaly reflacted on asterisk in short i want to restrict STD call of users of outgoing Regards satish patel --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Regards, Kesh " Lets change the future...lets change the world." --------------------------------- Pinpoint customers who are looking for what you sell. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070914/c5d080a7/attachment.htm