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

David Villasmil david.villasmil.work at gmail.com
Thu Oct 22 21:31:45 UTC 2020

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


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> 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> OR
>  data="{sip_auth_username=foo,
> sip_auth_password=bar}sofia/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
> 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


David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201022/40d1d863/attachment-0001.html>

More information about the FreeSWITCH-users mailing list