Anthony, In hopes of matching all IP's we added a very simple:

    <list name="nat" default="allow">
    </list>

To the acl.conf.xml and we added:

    <param name="apply_nat_acl" value="nat"/>

To the sip profile. Unfortunately there was no affect. What would be the correct acl to match all IP's?

David

On Nov 4, 2008, at 1:18 PM, Anthony Minessale wrote:

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 <[EMAIL PROTECTED]> 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
> [email protected]
> 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
[email protected]
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:[EMAIL PROTECTED]
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED]
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to