How to pass a call from one FS to another FS ??
Provide a dial plan entry in the second FS that handles the call appropriately after the deflect or transfer.
uuid_deflect or uuid_transfer, depending on whether the call has been answered by the first FS instance or not. See the wiki.
* *>>* 2.Receive a call from another FS
* This question can be separated into two part: *>>* 1.Pass a call to another FS
You haven't explained what you're trying to do - a general question warrants a general answer. I am assuming the call is arriving at one FS system, and (before or after answering it), you want to move it to another FS system. That's the question I've answered above. The wiki documents the syntax.
SorrySorry,let me explain my question. When User1( User of FS1 ) call User2( User of FS2 ) , FS1 will pass the call to FS2 before answering, and then User1 can talk with User2. -Brad
Brad Tuan <brad.tuan@gmail.com> wrote:
When User1( User of FS1 ) call User2( User of FS2 ) ,
FS1 will pass the call to FS2 before answering,
You just need to write a dial plan extension that matches the call on FS1 and bridges it to FS2. For example: <include> <extension name="remoteFreeswitch"> <condition field="destination_number" expression="^014(\d+)$"> <action application="bridge" data="sofia/external/$1@fs2.example.org:5080"/> </condition> </extension> </include> Dialing any extension with the prefix 014 will call that extension (with the prefix removed) on fs2.example.org at port 5080. If FS2 has the default configuration installed, the call will land in the public context of fs2, where you can transfer it to the default context or take other actions depending on the extension called.
participants (2)
-
Brad Tuan
-
Jason White