|
@@ -2257,6 +2257,9 @@ force_rtp_proxy(struct sip_msg* msg, char* str1, char* str2, int offer, int forc
|
|
LM_ERR("out of pkg memory\n");
|
|
LM_ERR("out of pkg memory\n");
|
|
FORCE_RTP_PROXY_RET (-1);
|
|
FORCE_RTP_PROXY_RET (-1);
|
|
}
|
|
}
|
|
|
|
+ /* We need to update the pointers and the length here, it has changed. */
|
|
|
|
+ v[1].iov_base = opts.s.s;
|
|
|
|
+ v[1].iov_len = opts.oidx;
|
|
}
|
|
}
|
|
STR2IOVEC(newip, v[9]);
|
|
STR2IOVEC(newip, v[9]);
|
|
STR2IOVEC(oldport, v[11]);
|
|
STR2IOVEC(oldport, v[11]);
|