|
@@ -1184,6 +1184,7 @@ static int sip_capture(struct sip_msg *msg, char *s1, char *s2)
|
|
if(msg->contact && cb) {
|
|
if(msg->contact && cb) {
|
|
sco.contact_ip = contact.host;
|
|
sco.contact_ip = contact.host;
|
|
str2int(&contact.port, (unsigned int*)&sco.contact_port);
|
|
str2int(&contact.port, (unsigned int*)&sco.contact_port);
|
|
|
|
+ sco.contact_user = contact.user;
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
EMPTY_STR(sco.contact_ip);
|
|
EMPTY_STR(sco.contact_ip);
|