[SR-Users] kamailio debug send messages

Anca Vamanu anca.vamanu at 1and1.ro
Mon May 21 17:23:52 CEST 2012


Hi Knostantin,


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.

Can you please tell me which is the list of modules that you are using?

Regards,
Anca


On 05/17/2012 01:33 PM, Konstantin M. wrote:
> Hi Anca,
>
> I fixed this problem with your help. A modified patch is attached.
>
> Thanks!
>
> 2012/5/16 Konstantin M. <evilzluk at gmail.com <mailto:evilzluk at gmail.com>>
>
>     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 at 1and1.ro
>     <mailto:anca.vamanu at 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 at lists.sip-router.org
>         <mailto:sr-users at lists.sip-router.org>
>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120521/6a2f8e13/attachment.htm>


More information about the sr-users mailing list