Ricardo and Alberto,
The ser.cfg from
onsip.org works fine with reinvites to nat'ed endpoints. However,
Ricardo, you have a corner case where the logic does not work (Asterisk is reinviting with
another public media ip). We are looking at how we can update the
ONsip.org config files
to also handle this special case. I'm in the process of reviewing Ricardo's
latest experiences and will get back to you as soon as I can.
g-)
----- Original Message -----
From: Ricardo Martinez
To: 'Alberto Cruz'
Cc: 'serusers(a)lists.iptel.org'
Sent: Wednesday, July 27, 2005 11:27 PM
Subject: 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 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(a)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(a)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
------------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers