[Freeswitch-users] How to bridge to external using URL, which is correct?

mario_fs mario_fs at mgtech.com
Fri Oct 23 17:10:41 UTC 2020


Thank you. I did wind up using the first one, but may try the second one to see if original callerid will be passed. FYI here is what I am doing:

1 Call inbound to FS.
2 Bridge to local phones, iPads, and an 18 second delay to external unregistered ITSP extension.
3 The unregistered extension at the ITSP fowards to 2 other registered extensions on same account which ring cell phones.

The only bummer is that callerid is not forwarded even though I am providing it in the bridge. The only way to get caller ID to pass is to use VPN and register iPhones as local extensions but can’t keep VPN on permanently.

I setup VPN per app on IO but it will not work with Bria. I am changing from calling the 2 mobile numbers directly because sometimes mobile VM is tripped because of 30 second max ringing instead of allowing FS to handle it and we miss messages. Now the timeout is handled via the bridge parameters.

Mario G 

> On Oct 22, 2020, at 2:31 PM, David Villasmil <david.villasmil.work at gmail.com> wrote:
> 
> I’m not really sure I understand what you’re trying to do.
> 
> If you already have a gateway pointing to your service provider, i.e.: it is registered on your provider, simply doing
> 
> sofia/gateway/GATEWAYNAME/+1234567890 
> 
> Should work. That’s just saying “call +1234567890 using the gateway named GATEWAYNAME which is the xml gateway you created which registers on the service provider.
> 
> About using internal/external and calling directly like 
> 
> sofia/internal/+1234567890 at SERVICEPROVIDER_IP
> 
> Is just saying send a call to ip SERVICEPROVIDER_IP with phone number +1234567890 using the internal profile, which is bound to whatever port it is using (usually 5060). This one doesn’t do authentication. (Unless you add it like you said, setting user/pass on the bridge, but I’ve never done it that way)
> 
> On Thu, 22 Oct 2020 at 18:40, mario_fs <mario_fs at mgtech.com <mailto:mario_fs at mgtech.com>> wrote:
> I am trying to bridge an incoming call to an external number(s). I currently have this working for years to normal cell phones. I want to change it to call my ITSP instead of a mobile number but having problems. I have ready the wiki and many posts but they have many variations. Have tried with registered and unregistered. I am missing something.
> 
> The question is what is the correct/best format, I can register the outbound # since it’s my account, the inbound is already registered.
> Thanks very much! Mario G
> 
>  I tried #1 below and it does not work. 
> 
> 1. sofia/gateway/${dial_gateway}/sip:number at itsp.com <>. <- NOGO
> 
> 2. WIki has these but I am really puzzled but the use of “internal": 
> data="sofia/internal/9998881111 at sip.yourprovider.com <mailto:sofia/internal/9998881111 at sip.yourprovider.com>”
> OR
>  data="{sip_auth_username=foo,sip_auth_password=bar}sofia/internal/9998881111 at sip.yourprovider.com <mailto:sip_auth_password=bar%7Dsofia/internal/9998881111 at sip.yourprovider.com>”/>
> 
> Wiki also shows this example which I use to call cell #, but does not work for directions ITSP call:
> sofia/gateway/asterlink/18005551212
> 
> And found this:
> action application="bridge" data="sofia/gateway/providerA/$1
> _________________________________________________________________________
> 
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com <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 <https://signalwire.community/>
> 
> Professional FreeSWITCH Services
> sales at freeswitch.com <mailto:sales at freeswitch.com>
> https://freeswitch.com <https://freeswitch.com/>
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss <https://freeswitch.com/oss>
> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
> https://cluecon.com <https://cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> https://freeswitch.com <https://freeswitch.com/>-- 
> Regards,
> 
> David Villasmil
> email: david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
> _________________________________________________________________________
> 
> 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
> https://freeswitch.com
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com

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


More information about the FreeSWITCH-users mailing list