[Freeswitch-users] How to check whether incoming call is authenticated

Russell Treleaven rtreleaven at bunnykick.ca
Mon Jan 18 14:54:31 MSK 2016


I think you want this.

<extension
name="is user authorized?"
continue="true"
>
<condition
field="${sip_authorized}"
expression="true"
break="never"
>
<anti-action
application="respond"
data="407"
></anti-action>
</condition>
</extension>


On Mon, Jan 18, 2016 at 6:40 AM, Artur Mega <findmeinwland at gmail.com> wrote:

> In our external.xml:
>     <domains>
>       <domain name="all" alias="false" parse="true"/>
>     </domains>
>
>     <param name="auth-calls" value="false"/>
>
> It means, that everyone can make call from outside to our freeswitch. Is
> it possible to know if caller already authenticated in our freeswitch?  (in
> a dialplan)
>
> Thanks.
> --
>
> Arthur
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160118/9756496d/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list