[Freeswitch-users] bridge to internal phone and cell through a gateway

Sean Devoy sdevoy at bizfocused.com
Wed Sep 22 16:20:19 UTC 2021

Thanks, I have leg_delay working in other places. I am trying without it for now.  I just can’t bridge to an internal phone and an external gateway phone in a single bridge.
Anything special there?

From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Brian West
Sent: Wednesday, September 22, 2021 12:15 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway

You're looking for leg_delay, set it inside [] on the legs you want to delay originate on, so you can originate like this:


gets tricky with sofia_contact unless you use xml_curl to dynamically build the url.


On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy <sdevoy at bizfocused.com<mailto:sdevoy at bizfocused.com>> wrote:
Hi All,
I have searched for an answer and can’t find anything to explain my problem.

Underlying request/problem:  The user wants to ring their desk and after 5 second leg delay (not shown) add their cell phone, then voicemail on the FS server.

I did a test with this bridge and it works fine:
<action application="bridge" data=”{sip_from_uri=${outbound_caller_id_number}@,sip_from_user=${outbound_caller_id_number},sip_from_host=}sofia/gateway/voip-innovations-outbound/141nnnnnn99”/<mailto:%7bsip_from_uri=$%7boutbound_caller_id_number%7d at,sip_from_user=$%7boutbound_caller_id_number%7d,sip_from_host=”/>>

And this one works:
<action application="bridge" data={presence_id=220 at fs.bizfocused.com}${sofia_contact(220 at fs2.bizfocused.com)}<mailto:%7bpresence_id=220 at fs.bizfocused.com%7d$%7bsofia_contact(220 at fs2.bizfocused.com)%7d,>  />

But I can’t do both to work.  Is it possible to bridge to internal and external phones?


The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>


Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com<mailto:brian at freeswitch.com>

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210922/e8df2fda/attachment-0001.html>

More information about the FreeSWITCH-users mailing list