[Freeswitch-users] How to Bridge To Local Extensions?

George F. Phelps GeorgePhelps at gfphelps.com
Mon Jan 12 03:27:56 MSK 2015


David Govea,

 

Thanks for your input.  I tried that coding yesterday, and the call failed.  I wasn’t 100 percent sure I was using the correct coding.  When I call, I hear spoken error “231” and then the call hangs up.

 

I created a pastebin.com of the failed call log, at:

 

http://pastebin.com/BeWhhgSU

 

A reminder that this “transfer” statement works:

 

<action application="transfer" data="1001 XML default"/>

 

Thanks,

 

George

 

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of David Villasmil Govea
Sent: Sunday, January 11, 2015 4:19 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] How to Bridge To Local Extensions?

 

https://wiki.freeswitch.org/wiki/Dialplan_XML#Example_6:_Calling_registered_user

That's:

<action application="bridge" data="sofia/internal/1001%YOUR_IP" />

Note the % sign..., not @

On Jan 11, 2015 10:09 PM, "George F. Phelps" <GeorgePhelps at gfphelps.com> wrote:

Can someone help me with my question?

 

Thanks,

 

George

 

From: George F. Phelps [mailto:GeorgePhelps at gfphelps.com] 
Sent: Saturday, January 10, 2015 12:02 PM
To: freeswitch-users at lists.freeswitch.org
Subject: How to Bridge To Local Extensions?

 

The “transfer” statement, shown below, works (in my inbound dialplan):

 

<action application="transfer" data="1001 XML default"/>

 

What is the correct syntax for using “bridge” instead of “transfer”?  The following statement does not work for me:

 

<action application="bridge" data="sofia/internal/1001"/>

 

My extensions are effectively default values and in the default directory location.  For example:

 

more /usr/local/freeswitch/conf/directory/default/1001.xml

 

<include>

  <user id="1001">

    <params>

      <param name="password" value="XXXX"/>

      <param name="vm-password" value="1001"/>

    </params>

    <variables>

      <variable name="toll_allow" value="domestic,international,local"/>

      <variable name="accountcode" value="1001"/>

      <variable name="user_context" value="default"/>

      <variable name="effective_caller_id_name" value="Extension 1001"/>

      <variable name="effective_caller_id_number" value="1001"/>

      <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>

      <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>

      <variable name="callgroup" value="techsupport"/>

    </variables>

  </user>

</include>

 

My goal is to configure simultaneous ringing for multiple extensions:

 

<action application="bridge" data="{ignore_early_media=true}sofia/internal/1001,sofia/internal/1002"/>

 

Thanks,

 

George

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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/20150111/ed403caf/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6528 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150111/ed403caf/attachment-0001.bin 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list