Thanks again Alberto.
    Are you using the ser.cfg from onsip.org?  I'm using it, and i can't make it work with reinvite to a nat'd endpoints.  Can you give me some hints here?.
    For example what version of mediaproxy are you using?.  If you're using the onsip.org configuration, Did you modified this configuration to make it work for reINVITE's?
Hope you can help me,
 
Thanks again
Regards,
 
Ricardo Martinez.-
-----Mensaje original-----
De: Alberto Cruz [mailto:acruz@tekbrain.com]
Enviado el: Miércoles, 27 de Julio de 2005 16:50
Para: Ricardo Martinez
CC: 'serusers@lists.iptel.org'
Asunto: Re: [Serusers] Problem : Can SER process the reINVITE messages pr operly?
Importancia: Alta

Yes it is working fine.

Regards

Ricardo Martinez wrote:
Alberto.
    Thanks for your answer.  You mean that your platform works well with the reINVITE's to a NAT'd endpoint?.
 
Regards,
Ricardo.-
-----Mensaje original-----
De: Alberto Cruz [mailto:acruz@tekbrain.com]
Enviado el: Miércoles, 27 de Julio de 2005 16:12
Para: Ricardo Martinez
CC: 'Greger V. Teigre'; 'serusers@lists.iptel.org'
Asunto: Re: [Serusers] Problem : Can SER process the reINVITE messages pr operly?
Importancia: Alta

Ricardo this block is working fine to me:

        #-------------------------------------------------
        # subsequent messages withing a dialog should take the
        # path determined by record-routing
        #-------------------------------------------------
        if (loose_route()) {
                append_hf("P-hint: rr-enforced\r\n");
                # The following lines are added due media proxy
                if (has_totag()&&(method=="INVITE" || method=="ACK")) {
                        if (client_nat_test("3") || search("^Route:.*;nat=yes")) {
                                # Mark as NAT'ed
                                setflag(6);
                                use_media_proxy();
                        };
                };
                if ((method=="BYE") && ((client_nat_test("3") || search("^Route:.*;nat=yes")))) {
                        fix_nated_contact();
                        force_rport();
                };
                # end media session for BYE and CANCEL is done above
                # before entering the loose route. no need to call it here
                route(1);
                break;
        };

Maybe you have something wrong at your mediaproxy.ini file.

Regards

Alberto Cruz