[Freeswitch-users] Sofia Profile - STUN Candidate without the "ext-sip-ip" setting is not working.
Alexander Haugg
Alexander.Haugg at c4b.de
Mon Jul 13 13:40:23 UTC 2020
OK, it is solved...
The solution is the "autonat" prefix => <param name="ext-rtp-ip" value="autonat:$${external_rtp_ip}" />
-----Ursprüngliche Nachricht-----
Von: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> Im Auftrag von Alexander Haugg
Gesendet: Montag, 13. Juli 2020 15:23
An: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Betreff: Re: [Freeswitch-users] Sofia Profile - STUN Candidate without the "ext-sip-ip" setting is not working.
Hi,
I was trying some configuration scenario and look into the source code...
Is there a possibility to set the external ICE candidate without the "ext-sip-ip" and only with the "ext-rtp-ip" parameter in the sofia profile?
Thanks a lot
Alex
-----Ursprüngliche Nachricht-----
Von: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> Im Auftrag von Alexander Haugg
Gesendet: Donnerstag, 9. Juli 2020 17:44
An: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Betreff: [Freeswitch-users] Sofia Profile - STUN Candidate without the "ext-sip-ip" setting is not working.
Hi,
my problem is, I need the local SIP address and the external address for the candidates.
The setting is
vars.xml
<X-PRE-PROCESS cmd="stun-set" data="external_rtp_ip=stun:stun.freeswitch.org"/>
Sofia profile:
<param name="stun-enabled" value="true" /> <param name="stun-auto-disable" value="false" /> <param name="rtp-ip" value="1.2.3.4" /> <param name="sip-ip" value="1.2.3.4" /> <param name="ext-rtp-ip" value="$${external_rtp_ip}" /> <param name="ext-sip-ip" value="$${external_rtp_ip}" />
Call Cmd:
originate {include_external_ip=true,media_webrtc=true}sofia/gateway/GW_SBC2_B2Bua/123 &park
In this case the ICE candidates in de SDP are OK but the Contact header have the external sip address.
If I do unset the "ext-sip-ip", then the Contact header is OK but I'm missing the external ICE candidates.
What can I do that the STUN candidate will set to the SDP without the "ext-sip-ip" config?
Thanks a lot
Alex
_________________________________________________________________________
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
_________________________________________________________________________
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
More information about the FreeSWITCH-users
mailing list