[Freeswitch-users] double 401
amani mansour
amani.mansour2 at gmail.com
Thu Apr 7 19:01:38 MSD 2016
Hi ,
i want to oblige an extension example 400 to not be registered .
so
soft --------------------register--------------------------------> server
soft <-----------------unauthorized (first 401)----------------server
soft ---------------------register (with authorization header computed with
the nonce of the
401)----------------------------------------------------->server
soft <--------------------unauthorized (with stale ==False) ---->server
i did this in dialplan/default.xml:
<extension name="fail register">
<condition field="caller_id_number" expression="^400$">
<action application="respond" data="401"/>
<action application="hangup"/>
</condition>
</extension>
i have only one unauthorized then i have ok ,but how can i do to have this
result .
thank you
with best regards ,
amani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160407/3edc71d5/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list