Explorar el Código

the contact_user field in the sip_capture database was never filled.

Marius Bucur hace 13 años
padre
commit
076ae21a14
Se han modificado 1 ficheros con 1 adiciones y 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);