[Freeswitch-users] forward calls

Daniel Dimitrov 596076 at gmail.com
Mon May 13 15:52:14 UTC 2019


Hello everyone,
I am new to freeswitch and fusionpbx . I need help to forward calls coming
from mobile A to  local phone (818) and send them to mobile B.Here is what
i have tried but it doesn't work. Also calls are coming from my provider in
public context then send to my ext in private context .


                phone:03312 818 private cx
                |
Mobile  ---- >  FS  ----------> Mobile
  A             public                B



<extension name="myphones" continue="false"
uuid="7acf4c28-45a0-47d1-b929-c9de90c73428">
    <condition field="destination_number" expression="^(03312\d{3})$">
        <action application="set"
data="origination_caller_id_number=03312${dialed_user}"/>
        <action application="set"
data="effective_caller_id_number=${dialed_user}"/>
        <action application="info" data=""/>
        <action application="bridge"
data="sofia/gateway/0a8d2462-403e-4923-ade9-10b24739adec/$1"/>
    </condition>
</extension>

appreciate any advice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190513/78d8f0c3/attachment-0001.html>


More information about the FreeSWITCH-users mailing list