Ver Fonte

the contact_user field in the sip_capture database was never filled.

Marius Bucur há 13 anos atrás
pai
commit
076ae21a14
1 ficheiros alterados com 1 adições e 0 exclusões
  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);