hello dears
i'm trying to run kamailio 5.1.7 with Oracle database
and after building it from source with the needed module and installing Oracle Instant Client
when i'm trying to run kamailio i get the following Error :
ERROR: <core> [core/sr_module.c:498]: load_module(): could not open module </usr/local/lib64/kamailio/modules/db_oracle.so>: libclntsh.so.12.1: cannot open shared object file: No such file or directory
so is there any way to make the libclntsh.so.12.1 open shared object ??
best regards
Eyas
Hi I am not able to do SRTP configuration properly
this the kamailio configuration
*route[NATMANAGE] {*
*rtpengine_manage("replace-origin replace-session-connection RTP/SAVP");}*
I can see in SDP RTP/SAVP but still the packets are RTP.
clients used linphone-android (media-encryption is SRTP ) and
3cx-windows-client
Curious how other folks are dealing with the volume of logs that Kamailio
generates. We are currently sending them to syslog and alerting on WARN and
above but the amount of alert noise is unbearable. For example (there are
many variations):
ERROR: <core> [core/tcp_read.c:297]: tcp_read_data(): error reading:
Connection reset by peer
INVITE:WARNING: sanity [sanity.c:776]: check_parse_uris(): failed to parse
>From header
INVITE:ERROR: <core> [core/parser/parse_from.c:75]: parse_from_header(): b
ad From header
The fact that these are WARN/ERROR level and from core makes me wonder how
we can possibly make alerts relevant. Any input would be appreciated.
Thanks,
Daniel G
Hi all,
does anyone know if there is a C function available in some module/header that assembles parsed sip_uri struct back into a single buffer? I’ve been looking at msg_parser.h (where sip_uri struct is defined) and parse_uri.h, but I can’t see anything of that kind.
Thanks in advance,
Ivan
---------- Forwarded message ---------
From: Enrico Bandiera <enrico.bandiera(a)cloud.timenet.it>
Date: mer 13 feb 2019 alle ore 09:18
Subject: Re: [SR-Users] pv_buffer_size config value actually ignored?
To: Daniel-Constantin Mierla <miconda(a)gmail.com>
Hello Daniel, yes we do use that $avp for a log line which is actually a
big json, the $avp is composed by multiple jansson_append calls and at the
end an xlog() calls prints it
Could it also be that I'm miscalculating because of the encoding? 4K utf8
characters could be more than 4K (but I don't think there are so many
multibytes characters to let it reach the 8K limit)
Il giorno mer 13 feb 2019 alle ore 09:15 Daniel-Constantin Mierla <
miconda(a)gmail.com> ha scritto:
> Hello,
>
> where do you use that avp, because for the avp value itself, that buffer
> is not used -- avp values are stored in shared memory.
>
> Do you use that avp in xlog() or other functions parameters?
>
> Cheers,
> Daniel
> On 13.02.19 09:10, Enrico Bandiera wrote:
>
> Hi, I'm having some strange issues with a somewhat big $avp value, when it
> reaches a size of about 4K I get this error:
>
> 29(47) ERROR: <core> [core/pvapi.c:1452]: pv_printf(): no more space for
> spec value
> 29(47) ERROR: <core> [core/pvapi.c:1461]: pv_printf(): buffer overflow –
> increase the buffer size...
>
> In the docs I read that the default pv_buffer_size is 8K, I still tried to
> enforce it to something bigger and checked the logs to be sure it was set:
>
> 0(384) DEBUG: <core> [core/pvapi.c:2062]: pv_init_buffer(): PV print
> buffer initialized to [40][16384]
>
> But still when reaching the 4K size inside the $avp that error comes out,
> is there any limit I'm not aware of?
>
> Thanks,
> Enrico.
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
> Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com
>
>
Hi List,
Can someone give a hint related to this issue, please?
On other messages, I found that this problem may happen why variable $du is
empty, but in my case looks that it's present:
Config File:
if (!t_relay()) {
switch ($retcode) {
case -1:
xlogl("L_ERR", "[$cfg(route)] Generic Internal Error\n");
xlogl("L_ERR", "[$cfg(route)] | $du/$ru |\n");
break;
Log File:
[RELAY] Generic Internal Error
[RELAY] | sip:192.168.180.23:15109/sip:1003@ 192.168.180.23:15109 |
sl [sl_funcs.c:372]: sl_reply_error(): stateless error reply used: I'm
terribly sorry, server error occurred (1/SL)
Also, as I understand this may happen when there is a problem on the
physical network, i'm not sure that is my case - because kamailio and
asterisk are 2 VM's running on the same Physical Server, and both their
interfaces are connected to the same Virtual Switch.
There is no firewalls/selinux on those servers.
Can someone help please?
Hi all,
I'm hoping someone can help me with this as I am baffled.
I have a server running Kamailio with dispatcher. I am trying to direct calls from kamailio to an SRV record but am receiving a 404 error on the calls. If I instead place one of the hostnames from the SRV record in my dispatcher.list, the call completes fine.
Contents of dispatcher.list look like: 1 sip:bvr.production.instance:5060
Nslookup from the Kamailio server for SRV record:
nslookup -type=SRV _sip._udp.bvr.production.instance
Server: 10.0.0.2
Address: 10.0.0.2#53
Non-authoritative answer:
_sip._udp.bvr.production.instance service = 1 10 5060 ip-10-100-79-143.production.instance.
_sip._udp.bvr.production.instance service = 1 10 5060 ip-10-100-96-92.production.instance.
Again, if I put 1 sip: ip-10-100-96-92.production.instance:5060 into the dispatcher.list, the call routes fine.
Is there some configuration within Kamailio required to route to an SRV record in this way? I haven't found anything indicating that is the case. Any help is greatly appreciated.
Thanks,
Jesse
Greetings,
I have Kamailio has an SBC and i'm using a MySQL database to store all the
relevant configurations and settings regarding the NAP's, Users, Numbers,
etc.
That being said, i'm having lots of of performance issues originated by the
queries. In order to solve that i think the best way to proceed would be to
implement hashtables. However, i would like to keep Sql DB's for easier
configuration and having them automatically transformed into hashtables.
Is there a simple way to do this? As i see, the htable module is able to
load from a DB, but i understand it, the table should be already in
"hashtable form".
Does kamailio has any way to solve this or should i use external tools?
Best Regards,
Duarte Rocha
Hello Community
i'm trying to build kamailio on top of oracle D.B so is there any way to configure kamailio to deal with Oracle D.B and call functions from it ?
Thanks in advance.
Regards
Eyas