Check in which profile you defined the gateway: conf/sip_profiles/internal/ or conf/sip_profiles/external/ David Ponzone Direction Technique email: david.ponzone@ipeva.fr <mailto:david.ponzone@ipeva.fr> tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr <blocked::http://www.ipeva.fr/> - www.ipeva-studio.com <blocked::http://www.ipeva-studio.com/> Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
Le 24 avr. 2017 à 06:40, Lợi Đặng <loi.dangthanh@gmail.com> a écrit :
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.
rgds, Loi Dang _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org