From: Ricardo MartinezTo: 'Alberto Cruz'Sent: Wednesday, July 27, 2005 11:27 PMSubject: RE: [Serusers] Problem : Can SER process the reINVITE messages properly?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 againRegards,Ricardo Martinez.------Mensaje original-----Yes it is working fine.
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
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-----Ricardo this block is working fine to me:
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
#-------------------------------------------------
# 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
_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers