[Freeswitch-users] Scenario : registering phase

amani mansour amani.mansour2 at gmail.com
Sat Apr 9 16:38:27 MSD 2016

Good morning  ,

Can you help me please ?, I need to configure a number X in my soft phone .

I want to do a scenario in the regestering phase which  must be like this :
soft --------------------register--------------------------------> server

soft <-----------------unauthorized (first 401)----------------server

soft ---------------------register (with authorization header computed with
the nonce of the

soft <--------------------unauthorized 401 (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"/>
i have only one unauthorized then i have ok ,but how can i do to have this
result .
thank you
with best regards ,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160409/c9d6a0ca/attachment-0001.html 

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