<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Knostantin,<br>
<br>
<br>
I have looked at your patch and it seems that you use a module that
registers a response function which returns 0. The problem is not
actually in the forward.c file but with that function.<br>
<br>
Can you please tell me which is the list of modules that you are
using?<br>
<br>
Regards,<br>
Anca<br>
<br>
<br>
On 05/17/2012 01:33 PM, Konstantin M. wrote:
<blockquote
cite="mid:CAEYtTzfG6XfkPDn537e13Bfs+r2YFSPjr4ehr-Z1XMbTjHeVXQ@mail.gmail.com"
type="cite">Hi Anca,<br>
<br>
I fixed this problem with your help. A modified patch is attached.<br>
<br>
Thanks!<br>
<br>
<div class="gmail_quote">2012/5/16 Konstantin M. <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:evilzluk@gmail.com"
target="_blank">evilzluk@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
Anca,<br>
<br>
<br>
Yes, I will explain.<br>
<br>
Let's assume we have a kamailio config, attached as main.cfg
(it's a very simplified, I have excluded a lot of
customization here).<br>
<br>
Debug log attached as log1.txt is a clean log of running that
config without your patch.<br>
With your patch was nothing changed.<br>
After investigation of code I see that a logic is not going to
the place you've added in the patch.<br>
When I changed your patch this way (see attached
forward.c.diff), I see that a logic is going to 'skip'.<br>
See a file attached as log2.txt with my modified patch.<br>
<br>
And finally, you can see what we're missing here, a difference
between/after a 'skip' extending (attached as log.diff).<br>
<br>
Thanks!
<div class="HOEnZb">
<div class="h5"><br>
<br>
<br>
<div class="gmail_quote">2012/5/16 Anca Vamanu <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:anca.vamanu@1and1.ro" target="_blank">anca.vamanu@1and1.ro</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt
0pt 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Hi Konstantin,<br>
<br>
<br>
Can you tell me exactly what you are calling in
onsend_route and how you observe it is not working?<br>
<br>
Regards,<br>
Anca
<div><br>
<br>
<br>
On 05/15/2012 04:55 PM, Konstantin M. wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt
0pt 0pt 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Hi Anca,<br>
<br>
I've tested your patch and I don't think it's
working.<br>
At least I was noticed that a logic is going to
'skip' label on 183 sdp:<br>
/* check modules response_f functions */<br>
for (r=0; r<mod_response_cbk_no; r++)<br>
if (mod_response_cbks[r](msg)==0)
goto skip;<br>
<br>
</blockquote>
<br>
<br>
</div>
<div>
<div>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>