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

Sergey Okhapkin sos at sokhapkin.dyndns.org
Thu Oct 28 13:41:36 CEST 2010


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 :-(

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
> 




More information about the sr-users mailing list