Hello, I pushed a commit to ctl module in master branch trying to address this issue. Can you test and report if works ok now? If yes, then I will backport.
Cheers, Daniel On 16.03.24 12:22, Patrick Karton via sr-users wrote: > Same bug in 5.7. versions > > Le 15 mars 2024 15:08, Brooks Bridges via sr-users > <[email protected]> a écrit : > > Thanks Daniel, I’ll give that a try. > > > > > Brooks Bridges > Sr. Developer > > > > Direct: (888) 444‑1111 > Office: (561) 453‑4085 > Email: [email protected] > > 902 Clint Moore Road > Suite 206 > Boca Raton, FL 33487 > www.skyetel.com > > *From:* Daniel-Constantin Mierla <[email protected]> > *Sent:* Thursday, March 14, 2024 23:16 > *To:* Kamailio (SER) - Users Mailing List > <[email protected]> > *Cc:* Brooks Bridges <[email protected]> > *Subject:* Re: [SR-Users] Bug in htable in 5.8.0 > > > > Hello, > > On 15.03.24 00:15, Brooks Bridges via sr-users wrote: > > We have some scripts that are setting values in an htable for > various things, one of which is to disable options replies to > take a system “out of service”. We discovered today upon > deploying 5.8.0 that the “htable.seti” command appears to be > broken. > > > > [root@ip-10-52-42-102 ~]# kamcmd htable.seti system_settings > option_pings_off 1 > > error: 500 - Not enough parameters (htable name, key name and > value) > > > > however if we do htable.sets it works fine (although not an > integer so it’s breaking our shutdown scripts). > > > > [root@ip-10-52-42-102 ~]# kamcmd htable.sets system_settings > option_pings_off 1 > > Ok. Key set to new value. > > [root@ip-10-52-42-102 ~]# > > > > I’ve looked through the commit history for htable and haven’t > found anything that really stands out as a possible issue, so > can the gurus please take a look? > > the problem should be with kamcmd+ctl, not htable, use kamctl (or > kamcli) instead: > > kamctl rpc htable.seti system_settings option_pings_off 1 > > (kamcli rpc htable.seti system_settings option_pings_off 1) > > I will look into kamcmd/ctl, likely is related to conversion of > values, many fields are now long instead of int and kamcmd is not > much maintained, it uses a custom (undocumented) binary-rpc > protocol and none of its original developers is active. > > Cheers, > Daniel > > -- > > Daniel-Constantin Mierla (@ asipto.com) > > twitter.com/miconda -- linkedin.com/in/miconda > > Kamailio Consultancy, Training and Development Services -- asipto.com > > Kamailio World Conference, April 18-19, 2024, Berlin -- kamailioworld.com > > > Confidentiality Notice: This e-mail, and any attachment to it, > contains privileged and confidential information intended only for > the use of the individual(s) or entity named on the e-mail. If the > reader of this e-mail is not the intended recipient, or the > employee or agent responsible for delivering it to the intended > recipient, you are hereby notified that reading this e-mail is > strictly prohibited. If you have received this e-mail in error, > please immediately return it to the sender and delete it from your > system. > > > > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: -- Daniel-Constantin Mierla (@ asipto.com) twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com Kamailio World Conference, April 18-19, 2024, Berlin -- kamailioworld.com
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
