[Freeswitch-users] Sofia Profile to use for dialing gateway

Raymond xxxman2008 at 126.com
Mon Apr 24 12:13:51 MSD 2017

No, you cann't .  You should define your gateway on "right" profile( in your case, it's external profile) , So , FS will use that profile configration call out.  You may consider the profile is a container , you defined communication parameters in the container ,so FS will using what you defined and make call out (or accept call in).


At 2017-04-24 12:40:49, "Lợi Đặng" <loi.dangthanh at gmail.com> wrote:

Hi guys, I'm going to use FreeSWITH with 2 SIP Profiles, called internal and external.

When calls come to external profile (port 5080), I'm dialing out a pre-defined gateway with bridge
<action application="bridge" data="sofia/gateway/${gateway}/${destination_number}"/>

Call is normal, except FreeSWITCH used internal profile (port 5060) contacting my gateway.

I saw that internal profile is listed before external profile in profiles configuration, so I guess internal is considered higher priority or default. Calls come to internal profile have normal behavior, because FS use internal for dialing out.

For some reasons, I'm not using user directory or REGISTER at all.

So, can I choose a specific SIP Profile to use for dialing out via a gateway? just like dialing to sofia/profile_name/destination ?

Sorry if this question is duplicated elsewhere, any help would be appreciated.


Loi Dang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170424/56bc3e52/attachment-0001.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list