[Serusers] "200 - Cancelling" Message Problem

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Fri Nov 12 16:07:23 CET 2004


On Nov 12, 2004 at 10:20, Ricardo Martinez <rmartinez at redvoiss.net> wrote:
> Hello Andrei.
> 	Thanks for your reply.  I'm using Mediaproxy with the mediaproxy
> module from SER.  I'm use client_nat_test to modify the rport.
> 	if (client_nat_test("1")) {
>                 log(1, "NAT: Requerimiento de IP privada --> fixed contact
> (en rutina principal)\n");
>                 setflag(5);
>                 force_rport();
>                 fix_contact();
>                 append_hf("P-hint: fixed NAT contact for request\r\n");
>         };
> 
> Here, i'm attaching the complete debug from a call with a CANCEL request.
> (cancel_problem.txt)
> 
> 
> Can this problem be solved? or is more related with the endpoint?

Ok, so the problem is a little different from what I thought. It's not
about CANCEL reaching its destination, it's about the reply to CANCEL
not going back. This happens because you don't force_rport() all the
requests that come from natted UAs.
In the config snippet above, you only "fix" requests wiht private ip in
contacts, but CANCEL doesn't have any Contact: => it will never enter
this block.

Try to change client_nat_test("1") into client_nat_test("3").



Andrei




More information about the sr-users mailing list