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

sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone

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

/b


On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy <sdevoy@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}@64.136.173.30,sip_from_user=${outbound_caller_id_number},sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/141nnnnnn99”/>

 

And this one works:

<action application="bridge" data={presence_id=220@fs.bizfocused.com}${sofia_contact(220@fs2.bizfocused.com)}  />

 

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

 

Thanks,

Sean

_________________________________________________________________________

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@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com


--

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

https://www.facebook.com/signalwireinc?src=email https://twitter.com/freeswitch