Module: kamailio
Branch: master
Commit: 29c9d3af78656f4dba8e9517ab07d2f403327b08
URL:
https://github.com/kamailio/kamailio/commit/29c9d3af78656f4dba8e9517ab07d2f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-12-07T09:12:23+01:00
misc/examples/kemi: fixed line break in kamailio-basic-kemi-ruby.rb
---
Modified: misc/examples/kemi/kamailio-basic-kemi-ruby.rb
---
Diff:
https://github.com/kamailio/kamailio/commit/29c9d3af78656f4dba8e9517ab07d2f…
Patch:
https://github.com/kamailio/kamailio/commit/29c9d3af78656f4dba8e9517ab07d2f…
---
diff --git a/misc/examples/kemi/kamailio-basic-kemi-ruby.rb
b/misc/examples/kemi/kamailio-basic-kemi-ruby.rb
index 2a3a9eca41..37c6dddc34 100644
--- a/misc/examples/kemi/kamailio-basic-kemi-ruby.rb
+++ b/misc/examples/kemi/kamailio-basic-kemi-ruby.rb
@@ -65,8 +65,7 @@ def ksr_request_route()
def ksr_route_reqinit()
if KSR::COREX.has_user_agent() > 0 then
ua = KSR::PV.gete("$ua");
- if ua.include? 'friendly' or ua.include? 'scanner'
- or ua.include? 'sipcli' or ua.include? 'sipvicious' then
+ if ua.include? 'friendly' or ua.include? 'scanner' or ua.include?
'sipcli' or ua.include? 'sipvicious' then
KSR::SL.sl_send_reply(200, "OK");
exit
end