[SR-Users] C++ module

2017-01-11 Thread Patrick
I added a C++ module to kamalio at some point, and now I am trying to integrate that module with another C++ internal library, but I'm getting all sorts of headaches when trying to compile. The latest problem is during the "make install" part of the build - it seems like the objects from the modul

Re: [SR-Users] C++ module

2017-01-11 Thread Daniel-Constantin Mierla
Hello, to be sure I understand properly the issue: you say that the value of the LIBS from Makefile of the module is inherited when compiling the internal library? Cheers, Daniel On 11/01/2017 04:21, Patrick wrote: > I added a C++ module to kamalio at some point, and now I am trying to > integr

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-11 Thread Daniel-Constantin Mierla
Hello, you need to rearm the execution of the branch route when re-routing to a gateway. Cheers, Daniel On 10/01/2017 14:41, Laura wrote: > > Dear Daniel and list.. > > a very strange situation.. why this parameters is valid on the first > gw only inside the lcr.. > > if i add differents string

Re: [SR-Users] Kamailio and default paramenters to a specific gatewyc - FIXED

2017-01-11 Thread Daniel-Constantin Mierla
On 10/01/2017 15:53, Laura wrote: > Dear all, > > don't forget to add the same strings on failure_route ;) Still using a branch route, but armed from failure_route before t_relay() should work as well. Cheers, Daniel > > Cheers > Laura > > > Il 10/01/17 14:41, Laura ha scritto: >> >> Dear Dani

Re: [SR-Users] Kamailio and default paramenters to a specific gatewyc - FIXED

2017-01-11 Thread Laura
Another thing.. better you all add a string like this.. if ($avp(lcr_tag)!=$null && $(avp(lcr_tag){s.len}) > 5) The problem is that if u have an empty field on the tag.. or just NULL , you will add a simple . inside of the INVITE.. but this is a problem for the message of course..

Re: [SR-Users] RPC exact command to change voicemail IP or Port

2017-01-11 Thread Daniel-Constantin Mierla
I tested and it works fine for me. Have you enabled that part of config by defining WITH_VOICEMAIL? Here is the debug output: $ ./utils/kamctl/kamctl rpc cfg.sets voicemail srv_ip "1.2.3.4" 20(78364) DEBUG: jsonrpcs [jsonrpcs_fifo.c:445]: jsonrpc_fifo_server(): preparing to execute fifo jsonrpc

Re: [SR-Users] RPC exact command to change voicemail IP or Port

2017-01-11 Thread Annus Fictus
Sorry, my mistake; I had not enabled #!define WITH_VOICEMAIL now: *kamcmd cfg.sets voicemail srv_ip "1.2.3.4"* No error, and: *kamcmd cfg.get voicemail srv_ip "1.2.3.4"* /1.2.3.4/ Thank you very much. Regards El 11/01/2017 a las 08:50, Daniel-Constantin Mierla escribió: I tested and it wo

Re: [SR-Users] C++ module

2017-01-11 Thread Patrick
Hi Daniel, Thanks for the help Sort of. The internal library seems to be compiled and linked each my module is compiled - this happens 2x, for %build and for %install of the RPM This doesn't seem to be a problem when the %build stage is executed: Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EO

Re: [SR-Users] how to immediately close a tls connection

2017-01-11 Thread Andy
from c code -- View this message in context: http://sip-router.1086192.n5.nabble.com/how-to-immediately-close-a-tls-connection-tp154630p154909.html Sent from the Users mailing list archive at Nabble.com. ___ SIP Express Router (SER) and Kamailio (Ope