[SR-Users] Fwd: Set a system variable in the request route

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Thu Oct 25 20:52:14 CEST 2018


Nobody can helps ???


Début du message transféré :

Expéditeur: Nicolas Breuer <Nicolas.Breuer at belcenter.biz<mailto:Nicolas.Breuer at belcenter.biz>>
Date: 22 octobre 2018 à 22:15:10 UTC+2
Destinataire: "Kamailio (SER) - Users Mailing List" <sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>
Objet: Rép :⁨ [SR-Users] Set a system variable in the request route⁩

Hello,

I tried this but seems not working 😊

jsonrpc_exec('{"jsonrpc": "2.0", "method": "cfg.set", "system.shutdownmode": 1}');



-----Message d'origine-----
De : Nicolas Breuer
Envoyé : samedi 20 octobre 2018 16:08
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>>
Objet : RE: [SR-Users] Set a system variable in the request route

I set this line into my Kamailio.cfg

system.shutdownmode = "0"

I would like to change the value into the route.


-----Message d'origine-----
De : sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> De la part de Alex Balashov Envoyé : vendredi 19 octobre 2018 18:29 À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>> Objet : Re: [SR-Users] Set a system variable in the request route

On Fri, Oct 19, 2018 at 03:26:11PM +0000, Nicolas Breuer wrote:

How can I change a system variable within the route ?

What do you mean by "system variable"?

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181025/748ac94a/attachment.html>


More information about the sr-users mailing list