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

George F. Phelps GeorgePhelps at gfphelps.com
Mon Jan 12 00:07:43 MSK 2015


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150111/0873d30c/attachment.html 


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