User Tools

Site Tools


embeddedapi:devel:mono

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

embeddedapi:devel:mono [2012/01/03 10:58]
miconda created
embeddedapi:devel:mono [2012/01/16 20:31] (current)
85.178.78.85 [Example]
Line 157: Line 157:
         class Test {         class Test {
                 static int Main(string[] args) {                 static int Main(string[] args) {
-                        SR.Core.Log(1, "Kamailio API Version: " + SR.Core.APIVer +                        SR.Core.Log(1, "Kamailio API Version: " + SR.Core.APIVersion() + "\n");
-sion() + "\n");+
                         if (args.Length == 1) {                         if (args.Length == 1) {
-                                SR.Core.Log(1, "Parameter from Kamailio config: +                                SR.Core.Log(1, "Parameter from Kamailio config:"
-"+
                                         + args[0] + "\n");                                         + args[0] + "\n");
                         }                         }
-                        SR.Core.Dbg("Request URI is: " + SR.PV.GetS("$ru") + "\n +                        SR.Core.Dbg("Request URI is: " + SR.PV.GetS("$ru") + "\n");
-");+
                         SR.PV.SetS("$rU", "123");                         SR.PV.SetS("$rU", "123");
                         SR.HDR.AppendToReply("My-Mono-Hdr: ok\r\n");                         SR.HDR.AppendToReply("My-Mono-Hdr: ok\r\n");
embeddedapi/devel/mono.1325584696.txt.gz · Last modified: 2012/01/03 10:58 by miconda