[Freeswitch-users] Dialplan - bridging with transfer of destination_number

Petr Both both at antek.it
Tue May 29 16:31:35 UTC 2018


Hi list,

I'm already searching in FS manual several hours but cannot find the 
solution.

My task is to receive SIP call from remote SIP device (registered to FS 
like User: 1005 at 192.168.8.6), using DIALPLAN route it back to SIP 
channel with the same (or increased) destination_number back to the 
remote SIP device. I.e. make such simple loopback in FS.

Tested DIALPLAN extension is

<extension name="Loopback">
     <condition field="destination_number" expression="^(5000)$">
     <action application="bridge" data="sofia/$${domain}/1005"/>
</extension>

The call is looped back to SIP channel but with destination_number 1005. 
Is there any way to enforce to this bridged outbound call the 
destination_number based on destination number of inbound call (which 
comes with destination number 5000) ?

Thank you in advance

Petr B.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180529/f5283dc2/attachment.html>


More information about the FreeSWITCH-users mailing list