[Freeswitch-users] NAT: SDP with local IP in o-line unicast_address

Brian West brian at freeswitch.org
Fri Nov 7 16:16:18 MSK 2014


what do you have local-network-acl, ext-rtp-ip and ext-sip-ip?

On Fri, Nov 7, 2014 at 6:23 AM, Peter Steinbach <lists at telefaks.de> wrote:

> Hell,
>
> we have the following problem:
>
> Our Freswitch is behind NAT. We are sending faxes to a SIP provider.
> Dependend on the destination number, the faxes are received or not.
> Faxes are always sent via the same SIP provider and the same dialplan,
> but I expect, they may be routed differently via other, subsequent SIP
> providers.
>
> Regarding the SDP I can see, that the c-line does contain the our
> external IP, but the o-Line does contain the local IP in the
> unicast_address field.
> We are routing the call via a defined gateway in the external profile,
> which has external_sip_ip set and external_rtp_ip set.
> Dialplan is:
> <action application="export" data="t38_passthru=true"/>
> <action application="set" data="proxy_media=true"/>
> <action application="bridge"
> data="sofia/gateway/QSC/06912345678 at sip.qsc.de"/>
>
> Here is the SDP
> ====================================
> v=0.
> o=FreeSWITCH 1037989557 1037989558 IN IP4 192.168.206.241.
> s=FreeSWITCH.
> c=IN IP4 212.xxx.xxx.106.
> t=0 0.
> m=audio 12056 RTP/AVP 0 8.
> a=rtpmap:0 PCMU/8000/1.
> a=rtpmap:8 PCMA/8000/1.
> a=maxptime:240.
> ====================================
>
> I suspect, that the following SIP providers may have a problem with the
> o-line with the local IP.
> So - Is there any way to control this? E.g. via Dialplan variable?
>
> ACL also seems to be fine
> 2014-11-07 12:31:10.599563 [NOTICE] switch_utils.c:324 Adding
> 192.168.0.0/16 (allow) [] to list rfc1918.auto
> 2014-11-07 12:31:10.599563 [NOTICE] switch_utils.c:324 Adding
> 192.168.0.0/16 (allow) [] to list nat.auto
>
> I see the same behaviour also in
> https://freeswitch.org/jira/browse/FS-5909 "ext-xxx-ip ignored with
> proxy_media turned on"
> There is a link for a patch, which is no longer available. Did this go
> into the main release? Does anybody have this patch?
>
>
> --
> With kind regards
> Peter
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141107/6e980799/attachment.html 


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