[sr-dev] git:master:77a1698c: misc: use single quotes in formatted ruby scrip for kemi example

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 8 17:32:26 CET 2020


Module: kamailio
Branch: master
Commit: 77a1698ce24620be0edc171494c4f414a5c5b5e1
URL: https://github.com/kamailio/kamailio/commit/77a1698ce24620be0edc171494c4f414a5c5b5e1

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-01-08T17:32:10+01:00

misc: use single quotes in formatted ruby scrip for kemi example

---

Modified: misc/examples/kemi/kamailio-basic-kemi-ruby.rb

---

Diff:  https://github.com/kamailio/kamailio/commit/77a1698ce24620be0edc171494c4f414a5c5b5e1.diff
Patch: https://github.com/kamailio/kamailio/commit/77a1698ce24620be0edc171494c4f414a5c5b5e1.patch

---

diff --git a/misc/examples/kemi/kamailio-basic-kemi-ruby.rb b/misc/examples/kemi/kamailio-basic-kemi-ruby.rb
index b02d440c97..11f96b460c 100644
--- a/misc/examples/kemi/kamailio-basic-kemi-ruby.rb
+++ b/misc/examples/kemi/kamailio-basic-kemi-ruby.rb
@@ -82,7 +82,7 @@ def ksr_route_reqinit()
   end
 
   if KSR::SANITY.sanity_check(1511, 7) < 0 then
-    KSR.err("Malformed SIP message from #{KSR::PV.get("$si")}:#{KSR::PV.get("$sp")}\n");
+    KSR.err("Malformed SIP message from #{KSR::PV.get('$si')}:#{KSR::PV.get('$sp')}\n");
     exit
   end
 end
@@ -292,4 +292,4 @@ def ksr_route_location()
 
 	ksr_route_relay()
 	exit
-end
\ No newline at end of file
+end




More information about the sr-dev mailing list