*** empty log message ***

This commit is contained in:
Thomas Ries 2009-01-24 16:40:40 +00:00
parent 3ed238394c
commit 9c81fd9102
2 changed files with 6 additions and 9 deletions

6
TODO
View File

@ -1,11 +1,6 @@
TODOs, in random order:
=======================
- siproxd daemonized: looks like clashes between threads
- lost 200 ACK immediately before RTP starts...
- /var/run PID file
- check via loop and private IP addresses
can comment be used to store a unique ID in there?
@ -22,7 +17,6 @@ TODOs, in random order:
- via loop detection: send 482 error code
- feature: don't bind to 0.0.0.0 address, but only to inbound/outbound IF's
(defined by IFNAME)

View File

@ -119,9 +119,12 @@ int plugin_process(int stage, sip_ticket_t *ticket){
/* LOG if master wishes so */
if (plugin_cfg.log) {
osip_uri_t *to_url=ticket->sipmsg->to->url;
INFO("Unknown Target, redirecting call %s@%s -> %s",
to_url->username? to_url->username:"*NULL*",
to_url->host? to_url->host: "*NULL*",
osip_uri_t *from_url=ticket->sipmsg->from->url;
INFO("Unknown Target (from: %s@%s), redirecting %s@%s -> %s",
from_url->username? from_url->username:"*NULL*",
from_url->host? from_url->host: "*NULL*",
to_url->username? to_url->username:"*NULL*",
to_url->host? to_url->host: "*NULL*",
plugin_cfg.target);
}