summaryrefslogtreecommitdiff
path: root/test/sip
diff options
context:
space:
mode:
Diffstat (limited to 'test/sip')
-rw-r--r--test/sip/sipsrv.c3
-rw-r--r--test/sip/sipsrv.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/test/sip/sipsrv.c b/test/sip/sipsrv.c
index 686d587..76b4b6f 100644
--- a/test/sip/sipsrv.c
+++ b/test/sip/sipsrv.c
@@ -189,7 +189,8 @@ static bool sip_msg_handler(const struct sip_msg *msg, void *arg)
int err = 0;
#if 0
- DEBUG_NOTICE("recv %r via %s\n", &msg->met, sip_transp_name(msg->tp));
+ DEBUG_NOTICE("[%u] recv %r via %s\n", srv->instance,
+ &msg->met, sip_transp_name(msg->tp));
#endif
srv->tp_last = msg->tp;
diff --git a/test/sip/sipsrv.h b/test/sip/sipsrv.h
index aa136e0..a4b8bbf 100644
--- a/test/sip/sipsrv.h
+++ b/test/sip/sipsrv.h
@@ -17,6 +17,7 @@ struct sip_server {
struct sip_lsnr *lsnr;
bool auth_enabled;
bool terminate;
+ unsigned instance;
unsigned n_register_req;
enum sip_transp tp_last;