Hi Daniel, Sorry for the late reply. The fix is working. Tested with Kamailio 5.3.0~pre1+0~20190926005451.1497+stretch from latest master nightly Debian repo. Thanks!
Regards, Grant On Wed, Sep 25, 2019 at 3:19 PM Daniel-Constantin Mierla <[email protected]> wrote: > > Just pushed the fix to master branch, can you test with it? If all ok, it > will be backported. > > Cheers, > Daniel > > On 25.09.19 15:06, Grant Bagdasarian wrote: > > Thanks Daniel! > > Do you want me to create a github issue for this? > > Regards, > > Grant > > On Wed, 25 Sep 2019 at 12:57, Daniel-Constantin Mierla <[email protected]> > wrote: >> >> Hello, >> >> the functions is exported to KEMI but it seems that the app_python3 does >> not support yet the sequence of parameter types (int, str, str) -- it >> was somehow forgotten, I will look into it soon. >> >> Cheers, >> Daniel >> >> On 24.09.19 23:02, Grant Bagdasarian wrote: >> > 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> ¡core/pvapi.c:398¿: pv_cache_lookup(): pvar ¡$rU¿ found in cache >> > app_python3 ¡apy_kemi.c:193¿: sr_apy_kemi_exec_func_ex(): execution of >> > method: dp_replace >> > app_python3 ¡apy_kemi.c:338¿: sr_apy_kemi_exec_func_ex(): not implemented >> > yet >> > app_python3 ¡apy_kemi.c:872¿: sr_apy_kemi_f_pv_get_mode(): pv get: >> > $var(dpr) >> > <core> ¡core/pvapi.c:371¿: pv_cache_add(): pvar ¡$var(dpr)¿ added in cache >> > >> > Using Kamailio 5.2.4 Docker image. >> > >> > version: kamailio 5.2.4 (x86_64/linux) >> > >> > flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, >> > USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, >> > SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, >> > USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, >> > USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES >> > ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE >> > 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB >> > poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. >> > id: unknown >> > compiled with gcc 6.3.0 >> > >> > Regards, >> > >> > Grant >> > >> > _______________________________________________ >> > Kamailio (SER) - Users Mailing List >> > [email protected] >> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> >> -- >> Daniel-Constantin Mierla -- www.asipto.com >> www.twitter.com/miconda -- www.linkedin.com/in/miconda >> Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany -- >> https://asipto.com/u/kat >> > -- > Daniel-Constantin Mierla -- www.asipto.com > www.twitter.com/miconda -- www.linkedin.com/in/miconda > Kamailio Advanced Training, Oct 21-23, 2019, Berlin, Germany -- > https://asipto.com/u/kat _______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
