Hi Anca,


Yes, I will explain.

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).

Debug log attached as log1.txt is a clean log of running that config without your patch.
With your patch was nothing changed.
After investigation of code I see that a logic is not going to the place you've added in the patch.
When I changed your patch this way (see attached forward.c.diff), I see that a logic is going to 'skip'.
See a file attached as log2.txt with my modified patch.

And finally, you can see what we're missing here, a difference between/after a 'skip' extending (attached as log.diff).

Thanks!


2012/5/16 Anca Vamanu <anca.vamanu@1and1.ro>
Hi Konstantin,


Can you tell me exactly what you are calling in onsend_route and how you observe it is not working?

Regards,
Anca



On 05/15/2012 04:55 PM, Konstantin M. wrote:
Hi Anca,

I've tested your patch and I don't think it's working.
At least I was noticed that a logic is going to 'skip' label on 183 sdp:
       /* check modules response_f functions */
       for (r=0; r<mod_response_cbk_no; r++)
               if (mod_response_cbks[r](msg)==0) goto skip;



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users