Re: [SR-Users] kazoo module

2016-11-29 Thread Daniel-Constantin Mierla
Hello, looking inside modules/kazoo/Makefile, I see it looks for json-c library -- is it libjson0 the appropriate package name for it? Cheers, Daniel On 29/11/2016 13:19, Ján Füri wrote: > Hi Vladyslav, > > I have install the dev package as well > apt-get install libjson0 libjson0-dev > > It is

Re: [SR-Users] Getting destination ip

2016-11-29 Thread David Villasmil
Thanks for your help, $sel(via[1].host) actually shows the internal ip address of the client... :( David Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Nov 29, 2016 at 9:51 PM, Alberto Llamas wrote: > Oh I seeWhat about to get the host attribute

Re: [SR-Users] Getting destination ip

2016-11-29 Thread Alberto Llamas
Oh I seeWhat about to get the host attribute from the 'top' via header as below $sel(via[1].host) Cheers, On Tue, Nov 29, 2016 at 6:00 PM, David Villasmil < david.villasmil.w...@gmail.com> wrote: > Thanks Alberto, > > But that won't work for me. I should have mentioned it on the original >

Re: [SR-Users] Getting destination ip

2016-11-29 Thread David Villasmil
Thanks Alberto, But that won't work for me. I should have mentioned it on the original email, but this is on kamailio working on Sipcapture/Homer, so there are no transactions or dialogs... David On Tue, Nov 29, 2016 at 5:18 PM Alberto Llamas wrote: > Hi David, > > Below instruction should work

Re: [SR-Users] Getting destination ip

2016-11-29 Thread Alberto Llamas
Hi David, Below instruction should work for you: $T_req($rd) Cheers, On Tue, Nov 29, 2016 at 4:29 PM, David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello Guys, > > I'm wondering how do I get destination IP on a reply? > > Regards, > > David Villasmil > email: david.villasmil.w...@

[SR-Users] Getting destination ip

2016-11-29 Thread David Villasmil
Hello Guys, I'm wondering how do I get destination IP on a reply? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router

Re: [SR-Users] LCR modules troubles

2016-11-29 Thread ycaner
hello; lcr module dont touch to header. you can use UAC module to manipulate it. -- View this message in context: http://sip-router.1086192.n5.nabble.com/LCR-modules-troubles-tp153582p153614.html Sent from the Users mailing list archive at Nabble.com. _

Re: [SR-Users] kazoo module

2016-11-29 Thread Ján Füri
Hi Vladyslav, I have install the dev package as well apt-get install libjson0 libjson0-dev It is on Debian 8 jessie Jan On 11/29/2016 12:51 PM, Vladyslav Zakhozhai wrote: Hi Jan, I guess you have installed only binaries of libjson. But you need also dev package which contains header file(s

Re: [SR-Users] kazoo module

2016-11-29 Thread Vladyslav Zakhozhai
Hi Jan, I guess you have installed only binaries of libjson. But you need also dev package which contains header file(s). 2016-11-29 13:48 GMT+02:00 Ján Füri : > Hello, > > I am trying to install kazoo module. > > According to documentation I have installed libraries : librabbitmq, > libjson, li

[SR-Users] kazoo module

2016-11-29 Thread Ján Füri
Hello, I am trying to install kazoo module. According to documentation I have installed libraries : librabbitmq, libjson, libuuid, but It always fails on missing json.h : CC (gcc) [M kazoo.so]kz_trans.o In file included from kz_trans.c:53:0: kz_json.h:12:18: fatal error: json.h: No s

Re: [SR-Users] XAVP Null

2016-11-29 Thread Daniel-Constantin Mierla
Some extra details and examples, hopefully for better clarification of new people dealing with xavps. To add an xavp, you must not use an index, like Alberto wrote: $xavp(caller_peer=>accountname) = "Account Variable"; /*This is an example to add a value in an xavp */ Then to add an extra xavp i