[asterisk-users] access control softphone registration through asterisk
Muhammad
mohammad.ghazavi at gmail.com
Sun Feb 10 14:52:11 CST 2013
This is exactly my scenario that you said in another word.
*check their "permissions" and if they are allowed to call*
how check permission with AMI?
Im not familier with dialplan. it's better to me to use AMI programming
On Sat, Feb 9, 2013 at 2:27 PM, Yves A. <yves030 at gmx.de> wrote:
> Hi,
>
> are you using realtime extensions or the classic config-file
> extension.conf ?
> One way to go yould be to implement the allowed / not allowed logic in the
> context of your sip users.
> check their "permissions" and if they are allowed to call... continue with
> the dialplan, if not, route them
> to a voiceprompt saying that the call is prohibited due to whatever
> reasons...
>
> To do so, take a look at the dialplan functions "if" and "db". Of course
> you somehow have to set a
> "flag" in asterisk, that decides about permissions... Don´t know which way
> you will programmatically
> set or clear this flag... there are hundreds of possibilites... the
> easiest way I think would be to use the
> asterisk build-in database (therefore the hint to the function db...)
>
> regards,
> yves
>
> Am 08.02.2013 22:18, schrieb Muhammad:
>
> Hi,
> I wana control my SIP register from asterisk.
> I other hand, when users login into their softphone, dont access to call
> and when I give them access, they can call.
>
> I dont know it's right way to plan my scenario/?
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130211/3f2369b3/attachment.htm>
More information about the asterisk-users
mailing list