[Serusers] Problem : Can SER process the reINVITE messages pr operly?

Ricardo Martinez rmartinez at redvoiss.net
Wed Jul 27 22:27:24 CEST 2005


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 at tekbrain.com]
Enviado el: Miércoles, 27 de Julio de 2005 16:12
Para: Ricardo Martinez
CC: 'Greger V. Teigre'; 'serusers at 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


 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050727/592f36a7/attachment.htm>


More information about the sr-users mailing list