[SR-Users] setdebug() and 3.X

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 29 10:33:36 CEST 2010



On 10/28/10 1:41 PM, Sergey Okhapkin wrote:
> I've found one more feature missed in 3.1 - error_route is eliminated and
> sanity module added. But if received SIP message is malformed and can't be
> parsed, routing script is not executed and I have no way to log the message to
> kamailio log. I did it in error_route before.
>
> This logging is important to me to support customers. SIP ALG in routers often
> breaks Via line :-(

Since I developed error_route, I remember that it handled just sporadic 
cases, but I can add an event_route to pass the buffer and some hints to 
configuration file in case the initial parsing fails and the message is 
dropped before getting to config file.

It is good to know that someone use such case, introduction of sanity 
was clearly mentioned and so far there was no complain.

Cheers,
Daniel

> On Thursday 28 October 2010, Daniel-Constantin Mierla wrote:
>> On 10/26/10 2:22 PM, Sergey Okhapkin wrote:
>>> setdebug() function is no longer provided by core. How to change debug
>>> level dynamically in the script to trace execution of a few statements
>>> only?
>> seems was lost in transition to 3.0, I will check to see what can be
>> done with the new architecture.
>>
>> Thanks,
>> Daniel
>>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list