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@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.