Explorar o código

the contact_user field in the sip_capture database was never filled.

Marius Bucur %!s(int64=13) %!d(string=hai) anos
pai
achega
076ae21a14
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      modules/sipcapture/sipcapture.c

+ 1 - 0
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);