[sr-dev] Re: [kamailio/kamailio] app_ruby: print backtrace when ruby exception occurs (#1766)

2023-11-13 Thread Fatih Orhan via sr-dev
Closed #1766 as not planned. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1766#event-10938557042 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Dev

[sr-dev] [kamailio/kamailio] app_ruby: print backtrace when ruby exception occurs (#1766)

2018-12-14 Thread Fatih Orhan
### Description Hello, When there is an error in my ruby script, app_ruby prints exception message without a stack trace, like this: ``` Dec 14 16:25:17 servername /usr/sbin/kamailio[24313]: ERROR: app_ruby [app_ruby_api.c:105]: app_ruby_print_last_exception(): exception: wrong number of argume

Re: [sr-dev] [kamailio/kamailio] kamcmd app_ruby.reload returns error: 500 - command app_ruby.reload not found (#1764)

2018-12-14 Thread Fatih Orhan
We are using Kamailio as a mid-registrar and reverse proxy to Freeswitch boxes (based on example cfg you shared, thanks BTW). I'm migrating our kamailio.cfg to ruby, where do you like me to report my experience? (like mailing list, direct mail or under this issue) I'll build v5.2.0 branch from

Re: [sr-dev] [kamailio/kamailio] kamcmd app_ruby.reload returns error: 500 - command app_ruby.reload not found (#1764)

2018-12-14 Thread Fatih Orhan
It works! 🎉 ``` kamcmd app_ruby.reload { old: 0 new: 1 } ``` `Dec 14 13:08:22 servername /usr/sbin/kamailio[30394]: INFO: app_ruby [app_ruby_api.c:1273]: app_ruby_rpc_reload(): marking for reload ruby script file: /etc/kamailio/ruby/myscript.rb (0 => 0) ` I also tested if new

Re: [sr-dev] [kamailio/kamailio] kamcmd app_ruby.reload returns error: 500 - command app_ruby.reload not found (#1764)

2018-12-14 Thread Fatih Orhan
Trying to compile master branch. Will report back. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1764#issuecomment-447267239___ Kamaili

Re: [sr-dev] [kamailio/kamailio] kamcmd app_ruby.reload returns error: 500 - command app_ruby.reload not found (#1764)

2018-12-13 Thread Fatih Orhan
Thanks @miconda for your attention. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1764#issuecomment-447223807___ Kamailio (SER) - Devel

[sr-dev] [kamailio/kamailio] kamcmd app_ruby.reload returns error: 500 - command app_ruby.reload not found (#1764)

2018-12-13 Thread Fatih Orhan
### Description Hello, When I try to reload ruby scripts with (in linux CLI) : `kamcmd app_ruby.reload` This message is returned: `error: 500 - command app_ruby.reload not found` I double checked the command name, module status, and debug logs. I can run other kamcmd commands and can use ruby sc

Re: [sr-dev] [kamailio/kamailio] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-12 Thread Fatih Orhan
I can confirm yum install method works on Centos 7. Thank you all! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1761#issuecomment-446522397___

Re: [sr-dev] [kamailio/kamailio] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-11 Thread Fatih Orhan
Thank you @linuxmaniac for your swift fix. Pardon my ignorance but I only see DEB packages in your commit, will RPMs be built too? I'm waiting for packages in repository. Thanks again. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

[sr-dev] [kamailio/kamailio] New modules (app_ruby) missing from v5.2.0 RPM/DEB packages (#1761)

2018-12-11 Thread Fatih Orhan
### Description Hello. There is no app_ruby RPM package in https://build.opensuse.org/project/show/home:kamailio:v5.2.x-rpms. Based on my slack conversation with Victor Seva, new modules introduced in v5.2 seem to be missed and SPEC didn't get updated. ### Troubleshooting Reproduction yum