[OpenSIPS-Devel] [opensips] rtpengine module randomly sending wrong SIP response (#433)
Rob Gagnon
notifications at github.com
Wed Mar 18 23:35:25 CET 2015
More information:
rtpengine methods seem to mess wrongly with data types at the moment. Probably a kamailio->opensips unfinished port.
For instance, look at this function call:
```
static int
rtpengine_delete1_f(struct sip_msg* msg, char* str1, char* str2)
{
str flags;
if (set_rtpengine_set_from_avp(msg) == -1)
return -1;
flags.s = NULL;
if (str1)
fixup_get_svalue(msg, (gparam_p)str1, &flags);
....
```
Incoming ```str1``` is not of type ```gparam_p```. It's just a plain old ```char *```. If it was a ```str``` type, it would work right.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/433#issuecomment-83211783
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150318/a6a7ce07/attachment-0001.htm>
More information about the Devel
mailing list