[Serusers] onsip NAT doc

Greger V. Teigre greger at teigre.com
Thu Apr 7 07:31:15 CEST 2005


The nat=yes is specifically to catch re-INVITEs. You should therefore only 
test for its presence under the loose_route() section.
g-)

Iqbal wrote:
> Hi
>
> I was looking through the doc, and wanted to know do I need to lines
> 64,65 and 84 (page 30)
>
> In line 64 I am testing for client_nat(3) and INVITE and then adding
> record_route_preset header
>
> then in the loose_route section I am checking again for INVITE
> nat_test(3) and seeing og nat=yes is added to route line, and then
> setting the flag = 6, can I not just do this in line 65, i.e set the
> flag above, and then in 84 say something like
>
> if isflagset(6) use mediaproxy
>
> Iqbal
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers 




More information about the sr-users mailing list