Hello,
I'm playing with RPC on my Kamailio 4.4.7, and I getting rare behaivor with *uac.reg_refresh* command.
When I run it thru kamcmd like docs describes, this is without *l_uuid* parameter, I'm geting "*error: 500 - Invalid Parameters*" output. And when I run with *l_uuid* parameter, I get no output. But in both cases, Kamalio don't refresh data from DB.
But I run this command thru HTTP (JSONRPC-S), both call modes are equivalent. With or without l_uuid parameter geting no output and refresh data from DB.
It's a normal behaivor?
Regards, JV
Hello,
is the parameter a number or a string?
Cheers, Daniel
On 22.12.20 16:16, Javier Valencia wrote:
Hello,
I'm playing with RPC on my Kamailio 4.4.7, and I getting rare behaivor with *uac.reg_refresh* command.
When I run it thru kamcmd like docs describes, this is without *l_uuid* parameter, I'm geting "*error: 500 - Invalid Parameters*" output. And when I run with *l_uuid* parameter, I get no output. But in both cases, Kamalio don't refresh data from DB.
But I run this command thru HTTP (JSONRPC-S), both call modes are equivalent. With or without l_uuid parameter geting no output and refresh data from DB.
It's a normal behaivor?
Regards, JV
-- Logo http://www.voiper.es/
Javier Valencia | CTO Centro de Negocios Martín Buendía Camino de las Cañadas, nº 1C, Portal 1, 2ºG 29649 Mijas (Málaga)
# 951562080 (T) tel:951562080 | 687486759 (M) tel:687486759 # www.voiper.es http://www.voiper.es/
AVISO LEGAL
Este mensaje contiene información confidencial destinada para ser leída exclusivamente por el destinatario. Queda prohibida la reproducción, publicación, divulgación, total o parcial del mensaje así como el uso no autorizados por el emisor. En caso de recibir el mensaje por error, se ruega su comunicación al remitente lo antes posible. Por favor, indique inmediatamente si usted o su empresa no aceptan comunicaciones de este tipo por Internet.
Las opiniones, conclusiones y demás información incluida en este mensaje que no esté relacionada con asuntos profesionales de SMART RECARGAS, S.L, se entenderá que nunca se ha dado, ni está respaldado por el mismo.
Responsable del Tratamiento de Datos
SMART RECARGAS , SL Camino de las Cañadas, 1C PORTAL 1 2º G 29651 MIJAS COSTA (MALAGA)
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
It's a number but passed as string.
El 11/1/21 a las 11:24, Daniel-Constantin Mierla escribió:
Hello,
is the parameter a number or a string?
Cheers, Daniel
On 22.12.20 16:16, Javier Valencia wrote:
Hello,
I'm playing with RPC on my Kamailio 4.4.7, and I getting rare behaivor with *uac.reg_refresh* command.
When I run it thru kamcmd like docs describes, this is without *l_uuid* parameter, I'm geting "*error: 500 - Invalid Parameters*" output. And when I run with *l_uuid* parameter, I get no output. But in both cases, Kamalio don't refresh data from DB.
But I run this command thru HTTP (JSONRPC-S), both call modes are equivalent. With or without l_uuid parameter geting no output and refresh data from DB.
It's a normal behaivor?
Regards, JV
-- Logo http://www.voiper.es/
Javier Valencia | CTO Centro de Negocios Martín Buendía Camino de las Cañadas, nº 1C, Portal 1, 2ºG 29649 Mijas (Málaga)
# 951562080 (T) tel:951562080 | 687486759 (M) tel:687486759 # www.voiper.es http://www.voiper.es/
AVISO LEGAL
Este mensaje contiene información confidencial destinada para ser leída exclusivamente por el destinatario. Queda prohibida la reproducción, publicación, divulgación, total o parcial del mensaje así como el uso no autorizados por el emisor. En caso de recibir el mensaje por error, se ruega su comunicación al remitente lo antes posible. Por favor, indique inmediatamente si usted o su empresa no aceptan comunicaciones de este tipo por Internet.
Las opiniones, conclusiones y demás información incluida en este mensaje que no esté relacionada con asuntos profesionales de SMART RECARGAS, S.L, se entenderá que nunca se ha dado, ni está respaldado por el mismo.
Responsable del Tratamiento de Datos
SMART RECARGAS , SL Camino de las Cañadas, 1C PORTAL 1 2º G 29651 MIJAS COSTA (MALAGA)
Kamailio (SER) - Users Mailing List sr-users@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 Funding:https://www.paypal.me/dcmierla
How do you pass it as a string? Can you give an example?
Daniel
On 11.01.21 11:34, Javier Valencia wrote:
It's a number but passed as string.
El 11/1/21 a las 11:24, Daniel-Constantin Mierla escribió:
Hello,
is the parameter a number or a string?
Cheers, Daniel
On 22.12.20 16:16, Javier Valencia wrote:
Hello,
I'm playing with RPC on my Kamailio 4.4.7, and I getting rare behaivor with *uac.reg_refresh* command.
When I run it thru kamcmd like docs describes, this is without *l_uuid* parameter, I'm geting "*error: 500 - Invalid Parameters*" output. And when I run with *l_uuid* parameter, I get no output. But in both cases, Kamalio don't refresh data from DB.
But I run this command thru HTTP (JSONRPC-S), both call modes are equivalent. With or without l_uuid parameter geting no output and refresh data from DB.
It's a normal behaivor?
Regards, JV
-- Logo http://www.voiper.es/
Javier Valencia | CTO Centro de Negocios Martín Buendía Camino de las Cañadas, nº 1C, Portal 1, 2ºG 29649 Mijas (Málaga)
# 951562080 (T) tel:951562080 | 687486759 (M) tel:687486759 # www.voiper.es http://www.voiper.es/
AVISO LEGAL
Este mensaje contiene información confidencial destinada para ser leída exclusivamente por el destinatario. Queda prohibida la reproducción, publicación, divulgación, total o parcial del mensaje así como el uso no autorizados por el emisor. En caso de recibir el mensaje por error, se ruega su comunicación al remitente lo antes posible. Por favor, indique inmediatamente si usted o su empresa no aceptan comunicaciones de este tipo por Internet.
Las opiniones, conclusiones y demás información incluida en este mensaje que no esté relacionada con asuntos profesionales de SMART RECARGAS, S.L, se entenderá que nunca se ha dado, ni está respaldado por el mismo.
Responsable del Tratamiento de Datos
SMART RECARGAS , SL Camino de las Cañadas, 1C PORTAL 1 2º G 29651 MIJAS COSTA (MALAGA)
Kamailio (SER) - Users Mailing List sr-users@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 Funding: https://www.paypal.me/dcmierla
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users