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

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 25 12:57:24 CEST 2019


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
> sr-users at lists.kamailio.org
> 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




More information about the sr-users mailing list