On 05/11/2012 11:24 PM, Konstantin M. wrote:
Hi Daniel,

For some reasons, onsend_route doesn't triggered when transfering 100,180,183, etc...

Hello,

Normally, onsend_route is not triggered for replies, only for messages. If there are some good reasons behind it, I don't know, as we have a simple patch that enables this (we are reviewing it before pushing it to upstream). Of course, no changes to the messages/replies are permitted ...

So again, is there a cause why onsend_route is not triggered for replies atm?

Cheers,
M.

2012/5/11 Daniel-Constantin Mierla <miconda@gmail.com>
Hello,

debug messages printed to syslog from the source code are because the developer needed/wanted them for troubleshooting.

As an admin, you have the option of using xlog to print what ever messages you want. In 3.1.x there is onsend_route to see outgoing requests via $snd(...) variable.

But if you want to get the sip traffic going through kamailio, better use siptrace module which stores requests/replies in database table.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

_______________________________________________
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




-- 
Zbihlei Marius

Head of
Linux Development Services Romania

1&1 Internet Development srl    Tel KA: 754-9152
Str Mircea Eliade 18            Tel RO: +40-31-223-9152
Sect 1, Bucuresti               mailto: marius.zbihlei@1and1.ro
71295, Romania