[SR-Users] kamailio debug send messages

Konstantin M. evilzluk at gmail.com
Wed May 16 16:59:14 CEST 2012


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>

> 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
> http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<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/20120516/d1983b62/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attachment.zip
Type: application/zip
Size: 6277 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120516/d1983b62/attachment.zip>


More information about the sr-users mailing list