[Freeswitch-users] Wrong IP on ACK?

Anthony Minessale anthony.minessale at gmail.com
Tue Nov 4 12:18:44 PST 2008


keep in mind that the spec says when a contact addr has a new ip that you
are supposed to
change the ip for all the rest of the messages to that new location.  So we
are doing what we are supposed to.

If you want to force the behavior you can use the nat hack to lock onto the
first ip/port the dialog used.

make an acl called ast in acl.conf.xml with the asterisk box ip in it

add apply_nat_acl=ast to the sip profile params.

Then when anything from that acl matches FS will use the nat hacks to lock
on the address
it sends packets to.



On Tue, Nov 4, 2008 at 11:55 AM, David Aldworth <daldworth at teliax.com>wrote:

> It was in there when the server got brought up.
>
> Here is the full .xml settings:
>
>   <settings>
>     <param name="debug" value="0"/>
>     <param name="sip-trace" value="no"/>
>     <param name="rfc2833-pt" value="101"/>
>     <param name="sip-port" value="5060"/>
>     <param name="dialplan" value="XML"/>
>     <param name="context" value="public"/>
>     <param name="dtmf-duration" value="100"/>
>     <param name="codec-prefs" value="$${outbound_codec_prefs}"/>
>     <param name="hold-music" value="$${hold_music}"/>
>     <param name="use-rtp-timer" value="true"/>
>     <param name="rtp-timer-name" value="soft"/>
>     <param name="multiple-registrations" value="true"/>
>     <param name="manage-presence" value="true"/>
>     <param name="aggressive-nat-detection" value="true"/>
>     <param name="NDLB-force-rport" value="true"/>
>     <param name="inbound-codec-negotiation" value="generous"/>
>     <param name="nonce-ttl" value="60"/>
>     <param name="auth-calls" value="true"/>
>     <param name="rtp-timeout-sec" value="1800"/>
>     <param name="rtp-ip" value="$${local_ip_v4}"/>
>     <param name="sip-ip" value="$${local_ip_v4}"/>
>     <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>     <param name="ext-sip-ip" value="$${external_sip_ip}"/>
>     <param name="rtp-timeout-sec" value="300"/>
>     <param name="rtp-hold-timeout-sec" value="1800"/>
>   </settings>
>
>
> On Nov 4, 2008, at 10:52 AM, Brian West wrote:
>
> > Make sure you restart the profile for it to take effect.
> >
> > /b
> >
> > On Nov 4, 2008, at 11:49 AM, David Aldworth wrote:
> >
> >> That is actually already on.
> >>
> >> Any idea?
> >
> >
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081104/9061e3f0/attachment-0002.html 


More information about the FreeSWITCH-users mailing list