瀏覽代碼

the contact_user field in the sip_capture database was never filled.

Marius Bucur 13 年之前
父節點
當前提交
076ae21a14
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);