[Serusers] ACK Problem : Not routed to NAT'd port

Andres andres at telesip.net
Thu Nov 15 16:06:41 CET 2007


>
> I don't understand why the the ACK message is routed to port 5060 and 
> not to
> the port 62447 like the INVITE or the final OK.  Is this maybe a
> configuration problem?.
>
Its probably a config issue.  When the call is answered, your SER has to 
rewrite the Contact with the right port

U 100.100.100.99:5060 -> 100.100.100.50:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
100.100.100.50;rport=5060;branch=z9hG4bK404c94810000005a43b2b7ee000053dc0000 

010f.
Contact: <sip:551100000684 at 100.100.100.231;user=phone>.

If not, then the ACK is not going to go to the right port (62447).

This will normally be accomplished by your onreply_route.

For example:
onreply_route[1] {
            fix_nated_contact();
        };


> My ser.cfg is based on the onsip.org configuration documents  plus some
> modifications by me.
>
> Can someone help me here
> Thanks in advance
> Ricardo Martinez.-
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>Serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>  
>


-- 
Andres
Technical Support
http://www.telesip.net




More information about the sr-users mailing list