Re: [SR-Users] t_precheck_trans

2017-01-10 Thread Daniel-Constantin Mierla
FYI: there is an alphabetic index in the wiki with the functions exported by the modules: - https://www.kamailio.org/wiki/alphaindexes/4.4.x/modfunctions Cheers, Daniel On 06/01/2017 20:37, Annus Fictus wrote: > > Thank you Julia. > > Regards > > El 06/01/2017 a las 14:34, Julia Boudniatsky e

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

2017-01-10 Thread Laura
Dear all, I'm using kamailio 4.3.6 and LCR modules.. i was wondering if it was possibile to add some special paramenter to all call sent to a specific gateway. I was try to use the " params" field on lcr_gw table but it's not working like i was think.. The issue is simple.. i want to add t

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

2017-01-10 Thread Daniel-Constantin Mierla
Hello, afaik the params column stores the parameters for request URI. You are looking to add extra headers. One option is to leverage on tag column -- its value should be returned in a variable inside kamailio.cfg. There you can test the value and if it has a specific value, then you can add the

Re: [SR-Users] [Error] Install Kamailio 4.4 in Mac 10.12

2017-01-10 Thread Daniel-Constantin Mierla
I mostly develop kamailio on MacOS (since several years ago). I install MySQL from macports an everything works fine. You would need also the pkgconfig package, which allows kamailio build system (makefile) to discover the location of devel headers for mysql client library. Macports are available

Re: [SR-Users] Difference between HTTP clients (utils.so vs http_client.so)

2017-01-10 Thread Daniel-Constantin Mierla
Hello, utils' http query function is the old option (first implemented) that could be used for http queries in kamaili.cfg. The http_client module was added to replace the utils version, which should be removed over the time. Also, http_client module offers more options for doing the http queries,

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

2017-01-10 Thread Daniel-Constantin Mierla
Hello, try with" kamcmd cfg.sets voicemail srv_ip "1.2.3.4" Cheers, Daniel On 06/01/2017 16:30, Annus Fictus wrote: > > Hello list, > > I can't find the exact RPC command to change IP or port of voicemail > server (module CFG_RPC): > > the default Kamailio configuration is: > > */#!ifdef WITH_V

Re: [SR-Users] BYE issue kamailio + rtpproxy "481 call leg transaction doesn't exists".

2017-01-10 Thread Daniel-Constantin Mierla
Hello, are you using topoh module? A pcap with all sip messages part of the dialog, from the initial INVITE to the last BYE transaction would be important to have in order to investigate how the headers are changed. Cheers, Daniel On 28/12/2016 13:11, Nihar Ranjan Deb wrote: > > Hi All, > >

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

2017-01-10 Thread Laura
Dear Daniel, thanks for your idea.. for anyone need it on their config.. on branch_route[MANAGE_BRANCH] ... if ($avp(lcr_tag)!=$null) { #!ifdef WITH_XLOG xlog("L_INFO","BRANCH_ROUTE: lcr_tag: $avp(lcr_tag) -> add field on INVITE\n"); #!endif append_hf("$avp(lcr_tag)\r\n")

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

2017-01-10 Thread Anthony Joseph Messina
On Tuesday, January 10, 2017 10:51:30 AM CST Laura wrote: > Dear all, > > I'm using kamailio 4.3.6 and LCR modules.. i was wondering if it was > possibile to add some special paramenter to all call sent to a specific > gateway. > > I was try to use the " params" field on lcr_gw table but it's not

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

2017-01-10 Thread Annus Fictus
Hi, kamcmd cfg.sets voicemail srv_ip "1.2.3.4" return *error: 400 - Failed to set the variable* Thank you Regards El 10/01/2017 a las 06:01, Daniel-Constantin Mierla escribió: kamcmd cfg.sets voicemail srv_ip "1.2.3.4" ___ SIP Express Router (SE

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

2017-01-10 Thread Daniel-Constantin Mierla
Hello! Welcome and thanks for providing back details about the solution in the config file. I am sure it will help others with similar needs in the future. As further hints, the value in the tag column can be more complex, storing more than information about the extra headers, just use a format t

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

2017-01-10 Thread Daniel-Constantin Mierla
Hello, can you provide the log messages when executing the command with debug=3 in kamailio.cfg? Cheers, Daniel On 10/01/2017 13:55, Annus Fictus wrote: > > Hi, > > kamcmd cfg.sets voicemail srv_ip "1.2.3.4" > > return > > *error: 400 - Failed to set the variable* > > Thank you > > Regards > >

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

2017-01-10 Thread Laura
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 on 2 gateways... and the call is goind on both of them.. i see the parameter added to invite only on the fist gw... Cheers Laura Il 10/01/17 14:3

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

2017-01-10 Thread Annus Fictus
Jan 10 08:41:31 sip10 /sbin/kamailio[5424]: DEBUG: ctl [../../io_wait.h:380]: io_watch_add(): DBG: io_watch_add(0x7fd2e37d4300, 10, 3, 0x2353100), fd_no=1 Jan 10 08:41:31 sip10 /sbin/kamailio[5424]: DEBUG: ctl [io_listener.c:442]: handle_new_connect(): handle_stream read: new connection (1) on

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

2017-01-10 Thread Laura
Dear all, don't forget to add the same strings on failure_route ;) Cheers Laura Il 10/01/17 14:41, Laura ha scritto: 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 on 2 gateways... and the ca

Re: [SR-Users] Diameter AVP handling from kamaiio.cfg

2017-01-10 Thread Carsten Bock
Hi Zoltan, that's not a bug, it's a feature request. The value is not available, since you're the first one asking for it. Can you put a Feature-Request on our Tracker (https://github.com/kamailio/kamailio/issues)? We added it to the ims_charging module, because we explicitly needed this feature,

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

2017-01-10 Thread Daniel-Constantin Mierla
Not much info there, I will have to reproduce it myself ... Cheers, Daniel On 10/01/2017 14:44, Annus Fictus wrote: > > Jan 10 08:41:31 sip10 /sbin/kamailio[5424]: DEBUG: ctl > [../../io_wait.h:380]: io_watch_add(): DBG: > io_watch_add(0x7fd2e37d4300, 10, 3, 0x2353100), fd_no=1 > Jan 10 08:41:31

[SR-Users] Kamailio on Cluecon Weekly – Jan 11, 2017

2017-01-10 Thread Daniel-Constantin Mierla
Hello, for those interested in participating to a (video) chat tomorrow, Wed, Jan 11, I will be joining the ClueCon Weekly at 12:00CT (USA) to discuss about latest Kamailio, what's new and the plans for the near future. Integration with FreeSwitch is going to be among the topics. You can join the

Re: [SR-Users] Diameter AVP handling from kamaiio.cfg

2017-01-10 Thread Zoltán Miricz
Thank you very much. I opened a feature request: https://github.com/kamailio/kamailio/issues/922 If I will have time, I might try to implement such kind of functionality :) *Cheers,* *Zoltan* On 9 January 2017 at 09:50, Carsten Bock wrote: > Hi Zoltan, > > i've added something like this for

Re: [SR-Users] Difference between HTTP clients (utils.so vs http_client.so)

2017-01-10 Thread Joel Serrano | VOZELIA
Thank you Daniel and Sergio for your replies. We will stick to http_client then :) Best, Joel. - Original Message - > From: "Daniel-Constantin Mierla" > To: "Kamailio (SER) - Users Mailing List" > Sent: Tuesday, January 10, 2017 2:53:11 AM > Subject: Re: [SR-Users] Difference between