[Freeswitch-users] sip_to_user and destination number

Sergey Safarov s.safarov at gmail.com
Sun May 3 20:54:12 MSD 2015


Hi Tanguy
I has tested case where:
1) gateway linked to public context;
2) gateway has parameter "<param name="context" value="did_processing"/>";
3) FS configuration has following dialplan.

<context name="did_processing">
      <extension name="info" continue="true">
         <condition>
            <action application="info" />
         </condition>
      </extension>

      <extension name="did_processing">
         <condition field="${sip_to_user}"
expression="^11_my_did_number_22$" break="on-true">
            <action application="transfer" data="sales XML defaul" />
         </condition>
         <condition field="${sip_to_user}"
expression="^33_my_did_number_44$" break="on-true">
            <action application="transfer" data="support XML defaul" />
         </condition>
         <condition>
            <action application="hangup" data="INCOMING_CALL_BARRED"/>
         </condition>
      </extension>
</context>

It it working correctly.




On Sun, May 3, 2015 at 7:25 PM, Tanguy <phenix at vfemail.net> wrote:

>  Hello
>
> It solved my problem. I restored my yesterday backup and i notice that my
> inbound calls are now working. Very strange
>
> I tried to remove the "extension" parameter, so inbound calls should not
> working but they are still working, and i noticed this message in the CLI
> when i updated my configuration using the fusionpbx GUI
>
> 2015-05-03 18:00:27.048335 [WARNING] sofia.c:3310 Ignoring duplicate
> gateway '0a96c3d3-0b0e-4864-b9ec-759fa4422429'
>
> The gateway is not reloaded, all modifications where ignored but if i
> reload my external profile manually with *sofia profile external restart *
> i don't have this kind of message and my gateway is properly reloaded.
>
> It seems to be a bug in fusionpbx, i will make a bug report
>
> Regards
>
>
>
>
>
>
> _________________________________________________________________________
> 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/20150503/f35ba9b6/attachment-0001.html 


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