[SR-Users] KEMI dialplan dp_replace returns not implemented yet

2019-09-24 Thread Grant Bagdasarian
Hello, The dp_replace KEMI function is returning the message "not implemented yet". Function call: _.dialplan.dp_replace(1, _.pv.get("$rU"), "$var(dpr)") app_python3 ¡apy_kemi.c:872¿: sr_apy_kemi_f_pv_get_mode(): pv get: $rU ¡core/pvapi.c:398¿: pv_cache_lookup(): pvar ¡$rU¿ found in cache

[SR-Users] Extract user from AOR

2019-09-24 Thread Grant Bagdasarian
Hello, I've been trying to extract the user part from an AoR using transformations in Python (KEMI), but without success. The reg_fetch_contacts function has been called successfully before trying to access the AoR. None of the below statements work for me. They all return None. user =

[SR-Users] Problem restoring To and From (uac_replace)

2019-09-24 Thread Duarte Rocha
Greetings, I'm getting some errors with the auto restore of From and To from UAC Module. After the restore, the URI has lots garbage and it's not like the original. I think the problem lies on the way the client sends the Route Header to me, but i'm not sure. When Kamailio sends the INVITE

Re: [SR-Users] Can I load balance Kamailio with Kamailio?

2019-09-24 Thread E. Schmidbauer
short answer- yes *but* it also depends on what you are load balancing. simply routing INVITEs, you should only need to add record-route headers to keep each kamailio in the dialog path (that is- if you want to keep them in the route path) if you are load balancing REGISTERs, it's a little

Re: [SR-Users] Can I load balance Kamailio with Kamailio?

2019-09-24 Thread Alex Balashov
You sure can! — Sent from mobile, with due apologies for brevity and errors. > On Sep 24, 2019, at 8:18 AM, Ne Mo wrote: > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org >

[SR-Users] Can I load balance Kamailio with Kamailio?

2019-09-24 Thread Ne Mo
___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Parsing json file on kamailio.cfg file

2019-09-24 Thread Melek Oktay
Hi again, Thanks for help Daniel, it helps much Regards, Melek On Tue, Sep 24, 2019 at 10:53 AM Daniel-Constantin Mierla wrote: > Hello, > > have you looked at jansson module? Is it not offering what you need? > > Cheers, > Daniel > On 24.09.19 10:42, Melek Oktay wrote: > > Hi, > > I am

Re: [SR-Users] Parsing json file on kamailio.cfg file

2019-09-24 Thread Daniel-Constantin Mierla
Hello, have you looked at jansson module? Is it not offering what you need? Cheers, Daniel On 24.09.19 10:42, Melek Oktay wrote: > Hi, > > I am trying to monitor *uac *channels status periodically in kamailio > config file. > I call  uac.reg_dump  rpc command and result will be inside in   >

Re: [SR-Users] Planning the release of v5.1.9

2019-09-24 Thread Daniel-Constantin Mierla
Hello, quick note to say that the release ov v5.1.9 is likely to be done on Thursday, given there was not enough time to sort out some patches for backporting. Cheers, Daniel On 19.09.19 17:02, Daniel-Constantin Mierla wrote: > Hello, > > I am considering to release v5.1.9 out of the branch 5.1

[SR-Users] Parsing json file on kamailio.cfg file

2019-09-24 Thread Melek Oktay
Hi, I am trying to monitor *uac *channels status periodically in kamailio config file. I call uac.reg_dump rpc command and result will be inside in $var(uac_channel) variable jsonrpc_exec('{"jsonrpc": "2.0", "method": "uac.reg_dump"}'); $var(uac_channel) = $jsonrpl(body); it returns me json