Currently add_contact_alias() works like this:
Adds an “;alias=ip~port~transport” parameter to the contact URI
containing either received ip, port, and transport protocol or those
given as parameters. If called without parameters, “;alias” parameter is
only added if received ip and port differ from those in contact URI.
Now I noticed that a broken UA does not add a proper ;transport param to
contact uri and therefore received transport does not match contact uri
transport. Therefore …
[View More]transport proto does not match, but ip and port do
match.
It would be useful is add_contact_alias() would add ;alias param also if
transports do not match. Is it OK if I make the change?
After that README would read:
Adds an “;alias=ip~port~transport” parameter to the contact URI
containing either received ip, port, and transport protocol or those
given as parameters. If called without parameters, “;alias” parameter
is only added if received ip, port, and transport protocol differ from
those in contact URI.
-- Juha
[View Less]
https://github.com/kamailio/kamailio/blob/f95fda89d4532ba333aed835c72f102a7…
Hi, it seems that KEMI defines this method to accept one parameter but the ki_search_append seems to expect two arguments.
I might have misunderstood how KEMI is implemented but wanted to open this ticket in case it is an issue.
The same goes for: search_append_body
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1333
CentOS Linux release 7.4.1708 (Core)
```
CC (gcc) [M xmlrpc.so] xmlrpc.o
xmlrpc.c: In function 'set_fault':
xmlrpc.c:894:2: warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration]
vsnprintf(buf, REASON_BUF_LEN, fmt, ap);
^
xmlrpc.c: In function 'print_value':
xmlrpc.c:1024:4: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
body.len = snprintf(buf, 256, "%f", va_arg(*ap, double));
^
xmlrpc.c:1024:15: …
[View More]warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
body.len = snprintf(buf, 256, "%f", va_arg(*ap, double));
^
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1312
[View Less]