Hi, Flavio!
I've attached a patch for the rtpproxy module, that for every error, it
prints the buffer received from the Rtpproxy server. What I want to see
is if the message is totally broken, or only some parts of it are
malformed. Could you please apply this patch, and paste us the output
when the error occurs again?
Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 12/13/2012 07:01 PM, Flavio Goncalves wrote:
I'm having an issue with timeout notification of rtpproxy.
Usually sessions are disconnected properly with rtpproxy timeout
notification:
INFO:do_timeout_notification: notification timeout sent
1715.2112525045 : Success (The dialog hash is presented correctly with
period .)
However, In some cases (3 to 7 per day in 25000 calls) we got the
following message from rtpproxy module. RTP Proxy in this case send
the dialog id with a # in the middle. I can't reproduce the problem in
the lab.
Dec 12 16:42:4 ERROR:rtpproxy:timeout_listener_process: Wrong formated
message received from rtpproxy - invalid dialog entry [1727216578#0123634]
In this case there is a hash in the middle of the dialog identifier (a
str2int function generates this error in the rtpproxy module denying
the request and throwing the error message.
No errors in OpenSIPS log
No errors in rtpproxy log (debug enabled)
Any ideas?
Flavio E. Goncalves
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Index: modules/rtpproxy/timeout_process.c
===================================================================
--- modules/rtpproxy/timeout_process.c (revision 9424)
+++ modules/rtpproxy/timeout_process.c (working copy)
@@ -327,6 +327,7 @@
if(p == NULL) {
LM_ERR("Wrong formated message received from rtpproxy [%.*s]\n",
dlg_id.len, dlg_id.s);
+ LM_INFO("RTPProxy buffer: [%d] <%.*s>\n", len, len, buffer);
break;
}
id.s = dlg_id.s;
@@ -334,6 +335,7 @@
if(str2int(&id, &h_entry)< 0) {
LM_ERR("Wrong formated message received from rtpproxy - invalid"
" dialog entry [%.*s]\n", id.len, id.s);
+ LM_INFO("RTPProxy buffer: [%d] <%.*s>\n", len, len, buffer);
break;
}
id.s = ++p;
@@ -344,6 +346,7 @@
if(str2int(&id, &h_id)< 0) {
LM_ERR("Wrong formated message received from rtpproxy - invalid"
" dialog id [%.*s]\n", id.len, id.s);
+ LM_INFO("RTPProxy buffer: [%d] <%.*s>\n", len, len, buffer);
break;
}
LM_DBG("hentry = %u, h_id = %u\n", h_entry, h_id);
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users