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
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to