Diff between the transfer and bridge application?
Hi, I am playing around with my demo installation of FreeSwitch and have a question regarding dialplans and dialplan applications. I’ve looked in the wiki but I am not sure of the practical differens between the transfer and bridge application? For example, you can “route” an inbound call to extension 1001 with both these configs: 1. <action application="transfer" data="1001 XML default"/> 2. <action application="bridge" data="user/1001"/> Is the only diff that the transfer application executes the dialplan for the new extension but not in the bride case? With Best Regards, Fred
Transfer is used to restart the dialplan processing with the data provided... Application=²transfer² data=²extension DIALPLAN context² where extension is the same as ³destination_number² field for the dialplan conditions... The XML in your example refers to XML dialplan, this could be a different dialplan module such as ENUM... The context is the dialplan context ie: default or public in the example configs... Bridge sends the call to an endpoint.. User/1001 is a special endpoint processor that translates via the user director to a bridge string of where that user is registered... On 1/17/14 5:09 AM, "Fredrik Åhlén" <fredrik.h.ahlen@gmail.com> wrote:
Hi, I am playing around with my demo installation of FreeSwitch and have a question regarding dialplans and dialplan applications. I¹ve looked in the wiki but I am not sure of the practical differens between the transfer and bridge application?
For example, you can ³route² an inbound call to extension 1001 with both these configs: 1. <action application="transfer" data="1001 XML default"/> 2. <action application="bridge" data="user/1001"/>
Is the only diff that the transfer application executes the dialplan for the new extension but not in the bride case?
With Best Regards, Fred
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH
Re: [Freeswitch-users] Diff between the transfer and bridge application?I run freeswitch in the multi domain mode. I am getting complaints about cross domain calls. For example, a DID should go to ext 21@xxx1.voice2net.ca and it does but it also goes to 21@xxx2.voice2net.ca My dial plan bridges as follows; <action application="bridge" data="{sip_invite_domain=xxx1.voice2net.ca,presence_id=21@xxx1.voice2net.ca}user/21@xxx1.voice2net.ca"/> Registrations are fine and most calling works perfectly, but I get this a few times a day. I commented out the following to support multiple domains <!--all inbound reg will look in this domain for the users --> <!--<param name="force-register-domain" value="$${domain}"/>--> <!--force the domain in subscriptions to this value --> <!--<param name="force-subscription-domain" value="$${domain}"/>--> <!--all inbound reg will stored in the db using this domain --> <!--<param name="force-register-db-domain" value="$${domain}"/>--> Any thoughts?? Darcy Primrose
show your 'sofia status' always show your user directory configuration On Fri, Jan 17, 2014 at 1:43 PM, fs <fs@voice2net.ca> wrote:
I run freeswitch in the multi domain mode. I am getting complaints about cross domain calls. For example, a DID should go to ext 21@xxx1.voice2net.ca and it does but it also goes to 21@xxx2.voice2net.ca
My dial plan bridges as follows;
<action application="bridge" data="{sip_invite_domain=xxx1.voice2net.ca ,presence_id=21@xxx1.voice2net.ca}user/21@xxx1.voice2net.ca"/>
Registrations are fine and most calling works perfectly, but I get this a few times a day.
I commented out the following to support multiple domains
<!--all inbound reg will look in this domain for the users --> <!--<param name="force-register-domain" value="$${domain}"/>--> <!--force the domain in subscriptions to this value --> <!--<param name="force-subscription-domain" value="$${domain}"/>--> <!--all inbound reg will stored in the db using this domain --> <!--<param name="force-register-db-domain" value="$${domain}"/>-->
Any thoughts??
Darcy Primrose
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Re: [Freeswitch-users] Diff between the transfer and bridge application?Thanks for clearing that out. /Fred From: Ken Rice Sent: Friday, January 17, 2014 4:35 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Diff between the transfer and bridge application? Transfer is used to restart the dialplan processing with the data provided... Application=”transfer” data=”extension DIALPLAN context” where extension is the same as “destination_number” field for the dialplan conditions... The XML in your example refers to XML dialplan, this could be a different dialplan module such as ENUM... The context is the dialplan context ie: default or public in the example configs... Bridge sends the call to an endpoint.. User/1001 is a special endpoint processor that translates via the user director to a bridge string of where that user is registered... On 1/17/14 5:09 AM, "Fredrik Åhlén" <wlmailhtml:fredrik.h.ahlen@gmail.com> wrote: Hi, I am playing around with my demo installation of FreeSwitch and have a question regarding dialplans and dialplan applications. I’ve looked in the wiki but I am not sure of the practical differens between the transfer and bridge application? For example, you can “route” an inbound call to extension 1001 with both these configs: 1. <action application="transfer" data="1001 XML default"/> 2. <action application="bridge" data="user/1001"/> Is the only diff that the transfer application executes the dialplan for the new extension but not in the bride case? With Best Regards, Fred ------------------------------------------------------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: wlmailhtml:consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list wlmailhtml:FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Fredrik Åhlén
-
fs
-
Ken Rice
-
Vik Killa