[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-devel
Subject:    [sr-dev] git:3.2: fixed bug where contact_user field in the sip_capture database was never filled .
From:       Marius Ovidiu Bucur <marius () marius-bucur ! ro>
Date:       2012-01-30 13:14:33
Message-ID: 20120130131433.694B2EF804E () rimmer ! ryngle ! com
[Download RAW message or body]

Module: sip-router
Branch: 3.2
Commit: 83f20c735122d30173dd3c1bd31061052327bf87
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=83f20c735122d30173dd3c1bd31061052327bf87


Author: Marius Bucur <marius.bucur@1and1.ro>
Committer: Marius Bucur <marius.bucur@1and1.ro>
Date:   Mon Jan 30 15:14:00 2012 +0200

fixed bug where 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);	


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic