[Serusers] "200 - Cancelling" Message Problem
Ricardo Martinez
rmartinez at redvoiss.net
Fri Nov 12 17:49:21 CET 2004
Dear Andrei.
Thanks for your response. That solved my problem.
Thanks you very much
Ricardo.-
-----Mensaje original-----
De: Andrei Pelinescu-Onciul
[mailto:pelinescu-onciul at fokus.fraunhofer.de]
Enviado el: Viernes, 12 de Noviembre de 2004 11:07
Para: Ricardo Martinez
CC: 'serusers at lists.iptel.org'
Asunto: Re: [Serusers] "200 - Cancelling" Message Problem
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