SIP Router Project
FS#57 - Improving logging (show at least the transaction branch)
Opened by Iñaki Baz Castillo (ibc) - Tuesday, 30 March 2010, 14:08 GMT
Last edited by Daniel-Constantin Mierla (miconda) - Thursday, 11 September 2014, 10:07 GMT
Sometimes I inspect the log of SR/Kamailio and find errors like:
ERROR:nathelper:force_rtp_proxy: incorrect port 0 in reply from rtp proxy
WARNING:dialog:dlg_onroute: unable to find dialog for BYE with route param '7b4.36497575' [1207:1465357411]
Of course in a server with high traffic such logs help nothing (even if I’m capturing all the SIP flow via pcap or ‘siptrace’ module).
It would be great if the logging core system would log always “something” related to the request or transaction, perhaps the branch, something as:
ERROR[recv 183 z9hG4bK6887.92b352f.0]:nathelper:force_rtp_proxy: incorrect port 0 in reply from rtp proxy WARNING[sent BYE z9hG4bK68612qwre1h3]:dialog:dlg_onroute: unable to find dialog for BYE with route param '7b4.36497575' [1207:1465357411]
It would help a lot when debugging occasional issues (perhaps more related to a specific client rather than the SR/Kamailio server).
Thursday, 11 September 2014, 10:07 GMT
Reason for closing: Implemented