i am using the 10 algorithm for the call load distribution it is good but when i put more load on it at create a race condition
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4047
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4047(a)github.com>
### Description
`secf_check_sqli_all();` block requests when a single quote is present in From name :
```
From: "O'Reilly" <sip:100@example.net>;tag=abcd
```
Since single quotes are frequent in names.
It makes it difficult to use this function.
### Possible Solutions
A solution would be to skip single quote check in From name.
I'll write the PR if you are OK with this solution
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3984
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3984(a)github.com>
hey kindly help me with error as i am using the call load distribution algorithm how i resolve this error
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4046
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4046(a)github.com>
```
CC (gcc) [M lost.so] pidf.o
CC (gcc) [M lost.so] response.o
CC (gcc) [M lost.so] utilities.o
utilities.c: In function ‘lost_held_post_request’:
utilities.c:1420:9: warning: ‘xmlKeepBlanksDefault’ is deprecated [-Wdeprecated-declarations]
1420 | xmlKeepBlanksDefault(1);
| ^~~~~~~~~~~~~~~~~~~~
In file included from pidf.h:37,
from utilities.c:49:
/usr/include/libxml2/libxml/parser.h:957:17: note: declared here
957 | xmlKeepBlanksDefault (int val);
| ^~~~~~~~~~~~~~~~~~~~
utilities.c: In function ‘lost_held_location_request’:
utilities.c:1518:9: warning: ‘xmlKeepBlanksDefault’ is deprecated [-Wdeprecated-declarations]
1518 | xmlKeepBlanksDefault(1);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:957:17: note: declared here
957 | xmlKeepBlanksDefault (int val);
| ^~~~~~~~~~~~~~~~~~~~
utilities.c: In function ‘lost_find_service_request’:
utilities.c:1671:9: warning: ‘xmlKeepBlanksDefault’ is deprecated [-Wdeprecated-declarations]
1671 | xmlKeepBlanksDefault(1);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/libxml2/libxml/parser.h:957:17: note: declared here
957 | xmlKeepBlanksDefault (int val);
| ^~~~~~~~~~~~~~~~~~~~
utilities.c: In function ‘lost_parse_geo’:
utilities.c:1050:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
1050 | snprintf(loc->latitude, len, "%s", (char *)bufLat);
| ^
utilities.c:1050:9: note: ‘snprintf’ output between 1 and 128 bytes into a destination of size 127
1050 | snprintf(loc->latitude, len, "%s", (char *)bufLat);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities.c:1060:42: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
1060 | snprintf(loc->longitude, len, "%s", (char *)bufLon);
| ^
utilities.c:1060:9: note: ‘snprintf’ output between 1 and 128 bytes into a destination of size 127
1060 | snprintf(loc->longitude, len, "%s", (char *)bufLon);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities.c:1074:49: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
1074 | snprintf(loc->altitude, len, "%s", (char *)bufAlt);
| ^
utilities.c:1074:17: note: ‘snprintf’ output between 1 and 128 bytes into a destination of size 127
1074 | snprintf(loc->altitude, len, "%s", (char *)bufAlt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LD (gcc) [M lost.so] lost.so
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4038
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4038(a)github.com>
kamcmd tm.t_uac_start INVITE sip:1346@192.168.10.22:5080 . . 'From: <sip:1000@192.168.10.11>\r\n' 'To: <sip:1346@192.168.10.22:5080>\r\n'
error: 400 - Invalid headers
the log is :
/usr/bin/kamailio[2773]: ERROR: <core> [core/parser/msg_parser.c:260]: get_hdr_field(): no eol - bad body for <From> (hdr type: 4) [<sip:1000@192.168.10.11>\r\n]
/usr/bin/kamailio[2773]: ERROR: <core> [core/parser/msg_parser.c:339]: parse_headers(): bad header field [From: <sip:1000@192.168.10.11>\r\n]
kamailio -v
version: kamailio 5.7.0 (x86_64/linux) f1e91d
please help me, thank you
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4042
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4042(a)github.com>