On 18.05.2015 15:41, Daniel-Constantin Mierla wrote:
Hello,
On 18/05/15 14:57, Klaus Darilion wrote:
Hi!
Should log_prefix also work for xlog in reply routes? In my case it doesn't (Kamailio 4.2.2)
it should work for received sip replies.
Not here, neither in the default reply route, nor in others:
I tested log_prefix="$si:$sp:$proto $rm $mt $fU->$tU: " and log_prefix="TEST: "
[request-route] May 18 16:31:17 VoIP-Test /usr/sbin/kamailio[22270]: 11.22.33.3:24721:udp INVITE 1 004314099401->00433311160036: INFO: <script>: 1489:onsend_route: Access sensitive node granted ...
[default-reply-route] May 18 16:31:17 VoIP-Test /usr/sbin/kamailio[22271]: INFO: <script>: 1563:DEFAULT REPLYROUTE: incoming response: 100 Trying from 22.33.128.132:5060
[reply-route] May 18 16:31:17 VoIP-Test /usr/sbin/kamailio[22271]: INFO: <script>: 1571:REPLYROUTE CONTACT_RTP: activate media relay and fix contact: incoming response: 100 Trying from 22.33.128.132:5060
Also logmessages in failure-route are not prefixed with log_message.
shall I file a bug report? I am suing 4.2.2.
regards Klaus