bridge to internal phone and cell through a gateway
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"/<mailto:%7bsip_from_uri=$%7boutbound_caller_id_number%7d@64.136.173.30,sip_from_user=$%7boutbound_caller_id_number%7d,sip_from_host=64.136.173.30%7dsofia/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)}<mailto:%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> /> But I can't do both to work. Is it possible to bridge to internal and external phones? Thanks, Sean
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)} <%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> />
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
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@lists.freeswitch.org> On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help <freeswitch-users@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: 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<mailto: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”/<mailto:%7bsip_from_uri=$%7boutbound_caller_id_number%7d@64.136.173.30,sip_from_user=$%7boutbound_caller_id_number%7d,sip_from_host=64.136.173.30%7dsofia/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)}<mailto:%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> /> 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<mailto: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<mailto: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<mailto:sales@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@freeswitch.com<mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/> [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg]<https://www.facebook.com/freeswitch>[https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa]<https://twitter.com/freeswitch>
Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy <sdevoy@bizfocused.com> wrote:
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@lists.freeswitch.org> *On Behalf Of *Brian West *Sent:* Wednesday, September 22, 2021 12:15 PM *To:* FreeSWITCH Users Help <freeswitch-users@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:
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)} <%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> />
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
<https://www.facebook.com/freeswitch> <https://twitter.com/freeswitch> _________________________________________________________________________
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number. Why does this not work: <action application="bridge" data={presence_id=220@fs.bizfocused.com}${sofia_contact(220@fs.bizfocused.com)}, {sip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/14105551212<mailto:%7bpresence_id=220@fs-bfis2.bizfocused.com%7d$%7bsofia_contact(220@fs-bfis2.bizfocused.com)%7d,%20%7bsip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30%7dsofia/gateway/voip-innovations-outbound/14105551212>”/> but either half does works fine. From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Brian West Sent: Wednesday, September 22, 2021 1:10 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: 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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@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: 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<mailto: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”/<mailto:%7bsip_from_uri=$%7boutbound_caller_id_number%7d@64.136.173.30,sip_from_user=$%7boutbound_caller_id_number%7d,sip_from_host=64.136.173.30%7dsofia/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)}<mailto:%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> /> 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<mailto: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<mailto: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<mailto:sales@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@freeswitch.com<mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/> [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg]<https://www.facebook.com/freeswitch>[https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa]<https://twitter.com/freeswitch> _________________________________________________________________________ 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<mailto: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<mailto: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<mailto:sales@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@freeswitch.com<mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/> [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg]<https://www.facebook.com/freeswitch>[https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa]<https://twitter.com/freeswitch>
I was going to suggest seeing what ${sofia_contact(220@fs.bizfocused.com)} expands to, but it looks like {} is a problem - it's {variable_scope=thread_global} so I think you can't have multiple ones, and definitely not in the middle of the dial string. Rewrite it with local variables [] like this: <action application="bridge" data="[presence_id=220@fs.bizfocused.com ]${sofia_contact(220@fs.bizfocused.com)}, [sip_from_uri= 4104207777@64.136.173.30 ,sip_from_user=4104207777,sip_from_host=64.136.173.30]sofia/gateway/voip-innovations-outbound/14105551212"/> -Avi Marcus BestFone On Wed, Sep 22, 2021 at 10:46 PM Sean Devoy <sdevoy@bizfocused.com> wrote:
I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number.
Why does this *not* work:
<action application="bridge" data={presence_id=220@fs.bizfocused.com}${sofia_contact(220@fs.bizfocused.com)}, {sip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/14105551212 <%7bpresence_id=220@fs-bfis2.bizfocused.com%7d$%7bsofia_contact(220@fs-bfis2.bizfocused.com)%7d,%20%7bsip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30%7dsofia/gateway/voip-innovations-outbound/14105551212> ”/>
but either half does works fine.
*From:* FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> *On Behalf Of *Brian West *Sent:* Wednesday, September 22, 2021 1:10 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] bridge to internal phone and cell through a gateway
Use XML Curl to dynamically build your dial strings ?
On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy <sdevoy@bizfocused.com> wrote:
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@lists.freeswitch.org> *On Behalf Of *Brian West *Sent:* Wednesday, September 22, 2021 12:15 PM *To:* FreeSWITCH Users Help <freeswitch-users@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:
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)} <%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> />
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
<https://www.facebook.com/freeswitch> <https://twitter.com/freeswitch>
_________________________________________________________________________
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
<https://www.facebook.com/freeswitch> <https://twitter.com/freeswitch> _________________________________________________________________________
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
Thank you Avi. That fixed the problem. Now both calls get placed. From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Avi Marcus Sent: Wednesday, September 22, 2021 4:10 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway I was going to suggest seeing what ${sofia_contact(220@fs.bizfocused.com<mailto:220@fs.bizfocused.com>)} expands to, but it looks like {} is a problem - it's {variable_scope=thread_global} so I think you can't have multiple ones, and definitely not in the middle of the dial string. Rewrite it with local variables [] like this: <action application="bridge" data="[presence_id=220@fs.bizfocused.com<mailto:220@fs.bizfocused.com>]${sofia_contact(220@fs.bizfocused.com<mailto:220@fs.bizfocused.com>)}, [sip_from_uri=4104207777@64.136.173.30<mailto:4104207777@64.136.173.30>,sip_from_user=4104207777,sip_from_host=64.136.173.30]sofia/gateway/voip-innovations-outbound/14105551212"/> -Avi Marcus BestFone On Wed, Sep 22, 2021 at 10:46 PM Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number. Why does this not work: <action application="bridge" data={presence_id=220@fs.bizfocused.com}${sofia_contact(220@fs.bizfocused.com)}, {sip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/14105551212<mailto:%7bpresence_id=220@fs-bfis2.bizfocused.com%7d$%7bsofia_contact(220@fs-bfis2.bizfocused.com)%7d,%20%7bsip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30%7dsofia/gateway/voip-innovations-outbound/14105551212>”/> but either half does works fine. From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> On Behalf Of Brian West Sent: Wednesday, September 22, 2021 1:10 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: 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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@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: 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<mailto: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”/<mailto:%7bsip_from_uri=$%7boutbound_caller_id_number%7d@64.136.173.30,sip_from_user=$%7boutbound_caller_id_number%7d,sip_from_host=64.136.173.30%7dsofia/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)}<mailto:%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> /> 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<mailto: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<mailto: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<mailto:sales@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@freeswitch.com<mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/> <https://www.facebook.com/freeswitch> _________________________________________________________________________ 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<https://www.facebook.com/freeswitch> <https://www.facebook.com/freeswitch> <https://www.facebook.com/freeswitch> -- <https://www.facebook.com/freeswitch> <https://www.facebook.com/freeswitch> Brian West | Co-founder and Developer<https://www.facebook.com/freeswitch> Need Commercial support? email sales@freeswitch.com <https://www.facebook.com/freeswitch> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://www.facebook.com/freeswitch> Email: brian@freeswitch.com<https://www.facebook.com/freeswitch> Mobile: 918-424-9378<https://www.facebook.com/freeswitch> Website: https://www.FreeSWITCH.com<https://www.facebook.com/freeswitch> <https://www.facebook.com/freeswitch> _________________________________________________________________________ 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<https://www.facebook.com/freeswitch>
Perhaps it would help if you specify what “doesn’t work” expands to? The call to the cell phone “steals” the supervision because of early media? It doesn’t place the call at all? John Boteler Bote Communications From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Sean Devoy Sent: Wednesday, 22 September, 2021 15:46 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number. Why does this not work: <action application="bridge" data={presence_id=220@fs.bizfocused.com}${sofia_contact(220@fs.bizfocused.com)}, {sip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/14105551212 <mailto:%7bpresence_id=220@fs-bfis2.bizfocused.com%7d$%7bsofia_contact(220@fs-bfis2.bizfocused.com)%7d,%20%7bsip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30%7dsofia/gateway/voip-innovations-outbound/14105551212> ”/> but either half does works fine. From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 1:10 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy <sdevoy@bizfocused.com <mailto:sdevoy@bizfocused.com> > wrote: 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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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: 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 <mailto: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=” <mailto:%7bsip_from_uri=$%7boutbound_caller_id_number%7d@64.136.173.30,sip_from_user=$%7boutbound_caller_id_number%7d,sip_from_host=64.136.173.30%7dsofia/gateway/voip-innovations-outbound/141nnnnnn99”/> {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= <mailto:%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> {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 <mailto: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 <mailto: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 <mailto:sales@freeswitch.com> FreeSWITCH Solutions | <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian@freeswitch.com <mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com <https://www.facebook.com/freeswitch> <https://twitter.com/freeswitch> _________________________________________________________________________ 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 <mailto: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 <mailto: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 <mailto:sales@freeswitch.com> FreeSWITCH Solutions | <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian@freeswitch.com <mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com <https://www.facebook.com/freeswitch> <https://twitter.com/freeswitch>
Wow I can’t believe I did that. I hate when I support people who report “it didn’t work.” I apologize for my lapse in sensibility. I will gather more info and update this. But first, I think Avi may have provided a fix. From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Bote Man Sent: Wednesday, September 22, 2021 5:58 PM To: 'FreeSWITCH Users Help' <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Perhaps it would help if you specify what “doesn’t work” expands to? The call to the cell phone “steals” the supervision because of early media? It doesn’t place the call at all? John Boteler Bote Communications From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> On Behalf Of Sean Devoy Sent: Wednesday, 22 September, 2021 15:46 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number. Why does this not work: <action application="bridge" data={presence_id=220@fs.bizfocused.com}${sofia_contact(220@fs.bizfocused.com)}, {sip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/14105551212<mailto:%7bpresence_id=220@fs-bfis2.bizfocused.com%7d$%7bsofia_contact(220@fs-bfis2.bizfocused.com)%7d,%20%7bsip_from_uri=4104207777@64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30%7dsofia/gateway/voip-innovations-outbound/14105551212>”/> but either half does works fine. From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> On Behalf Of Brian West Sent: Wednesday, September 22, 2021 1:10 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy <sdevoy@bizfocused.com<mailto:sdevoy@bizfocused.com>> wrote: 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@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>> On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@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: 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<mailto: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”/<mailto:%7bsip_from_uri=$%7boutbound_caller_id_number%7d@64.136.173.30,sip_from_user=$%7boutbound_caller_id_number%7d,sip_from_host=64.136.173.30%7dsofia/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)}<mailto:%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> /> 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<mailto: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<mailto: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<mailto:sales@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@freeswitch.com<mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/> [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg]<https://www.facebook.com/freeswitch>[https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa]<https://twitter.com/freeswitch> _________________________________________________________________________ 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<mailto: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<mailto: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<mailto:sales@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@freeswitch.com<mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/> [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg]<https://www.facebook.com/freeswitch>[https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa]<https://twitter.com/freeswitch>
It should work fine to bridge to user/ or Sofia/internal and Sofia/external. A trick you can try is enterprise originate with :_: between endpoints to put each dial out in its own thread. I think it introduces UUID connection difficulties though, for linking the channels together in the CDRs. On Wed, Sep 22, 2021, 7:21 PM Sean Devoy <sdevoy@bizfocused.com> wrote:
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@lists.freeswitch.org> *On Behalf Of *Brian West *Sent:* Wednesday, September 22, 2021 12:15 PM *To:* FreeSWITCH Users Help <freeswitch-users@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:
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)} <%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> />
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
<https://www.facebook.com/freeswitch> <https://twitter.com/freeswitch> _________________________________________________________________________
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
That gets four dimensional and confusing for many... just pay close attention to each thing being in its own world :) /b On Wed, Sep 22, 2021 at 12:59 PM Avi Marcus <avi@avimarcus.net> wrote:
It should work fine to bridge to user/ or Sofia/internal and Sofia/external.
A trick you can try is enterprise originate with :_: between endpoints to put each dial out in its own thread. I think it introduces UUID connection difficulties though, for linking the channels together in the CDRs.
On Wed, Sep 22, 2021, 7:21 PM Sean Devoy <sdevoy@bizfocused.com> wrote:
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@lists.freeswitch.org> *On Behalf Of *Brian West *Sent:* Wednesday, September 22, 2021 12:15 PM *To:* FreeSWITCH Users Help <freeswitch-users@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:
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)} <%7bpresence_id=220@fs.bizfocused.com%7d$%7bsofia_contact(220@fs2.bizfocused.com)%7d,> />
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
<https://www.facebook.com/freeswitch> <https://twitter.com/freeswitch> _________________________________________________________________________
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
_________________________________________________________________________
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
participants (4)
-
Avi Marcus
-
Bote Man
-
Brian West
-
Sean Devoy