Discussion:
[Freeswitch-users] Diff between the transfer and bridge application?
Fredrik Åhlén
2014-01-17 11:09:24 UTC
Permalink
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140117/a40a6121/attachment.html
Ken Rice
2014-01-17 15:35:09 UTC
Permalink
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...
Post by Fredrik Åhlén
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
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
_________________________________________________________________________
consulting at 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 at 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140117/dc704880/attachment-0001.html
fs
2014-01-17 18:43:46 UTC
Permalink
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 at xxx1.voice2net.ca and it does but it also goes to 21 at xxx2.voice2net.ca

My dial plan bridges as follows;

<action application="bridge" data="{sip_invite_domain=xxx1.voice2net.ca,presence_id=21 at xxx1.voice2net.ca}user/21 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140117/55209804/attachment-0001.html
Vik Killa
2014-01-20 13:31:12 UTC
Permalink
show your 'sofia status' always show your user directory configuration
Post by fs
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 at xxx1.voice2net.ca and it does but it also goes to 21 at xxx2.voice2net.ca
My dial plan bridges as follows;
<action application="bridge" data="{sip_invite_domain=xxx1.voice2net.ca
,presence_id=21 at xxx1.voice2net.ca}user/21 at 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
_________________________________________________________________________
consulting at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140120/67c974c8/attachment.html
Fredrik Åhlén
2014-01-17 22:30:22 UTC
Permalink
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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140117/d9680955/attachment-0001.html
Loading...