[sr-dev] git:master: the contact_user field in the sip_capture database was never filled.

Marius Ovidiu Bucur marius at marius-bucur.ro
Mon Jan 30 14:07:49 CET 2012


Module: sip-router
Branch: master
Commit: 076ae21a14ca76a18e2b6c20dba2fc59e33b1cdf
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=076ae21a14ca76a18e2b6c20dba2fc59e33b1cdf

Author: Marius Bucur <marius.bucur at 1and1.ro>
Committer: Marius Bucur <marius.bucur at 1and1.ro>
Date:   Mon Jan 30 15:07:10 2012 +0200

the contact_user field in the sip_capture database was never filled.

---

 modules/sipcapture/sipcapture.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c
index 68a3e54..c3fdcde 100644
--- a/modules/sipcapture/sipcapture.c
+++ b/modules/sipcapture/sipcapture.c
@@ -1184,6 +1184,7 @@ static int sip_capture(struct sip_msg *msg, char *s1, char *s2)
 	if(msg->contact && cb) {
 		sco.contact_ip = contact.host;
 		str2int(&contact.port, (unsigned int*)&sco.contact_port);
+		sco.contact_user = contact.user;
 	}
 	else {
 		EMPTY_STR(sco.contact_ip);	




More information about the sr-dev mailing list