Hi, I am using SER iptel as a SIP proxy. I have few doubts regarding ser.cfg configuration file.
1. I am having two config variables, say $a and $b. Can't I do any comparison of the two in any if loop? e.g. [if ($a == $b)] or something similar.
2. I exported a function from a module say func1( ). It works perfectly fine if I pass a static value in it but corrupts the value if I pass a variable thru it.e.g. func1("11") will work fine but $a = '11' and func1("%$a") will not work.
3. I want to add a new header field in 200 OK response to REGISTER. How can I do that? Please help.
Regards --Piyush
Thanks and Regards, --Piyush Bansal NATT - I & T, Reliance Tech Services, Delhi, India (M) +91-93502-30362
Enjoy the widest reach of 3G services across India only On Reliance www.rcom.co.in/3G
The information contained in this electronic message (email) and any attachments to this email are intended for the exclusive use of the addressee(s) and access to this email by any one else is unauthorised. The email may contain proprietary, confidential or privileged information or information relating to Reliance Group. If you are not the intended recipient, please notify the sender by telephone, fax, or return email and delete this communication and any attachments thereto, immediately from your computer. Any dissemination, distribution, or copying of this communication and the attachments thereto (in whole or part), in any manner, is strictly prohibited and actionable at law. The recipient acknowledges that emails are susceptible to alteration and their integrity can not be guaranteed and that Company does not guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email.
28 jun 2013 kl. 13:33 skrev Piyush.Bansal@relianceada.com:
Hi, I am using SER iptel as a SIP proxy. I have few doubts regarding ser.cfg configuration file.
I am having two config variables, say $a and $b. Can't I do any comparison of the two in any if loop? e.g. [if ($a == $b)] or something similar.
I exported a function from a module say func1( ). It works perfectly fine if I pass a static value in it but corrupts the value if I pass a variable thru it.e.g. func1("11") will work fine but $a = '11' and func1("%$a") will not work.
I want to add a new header field in 200 OK response to REGISTER. How can I do that?
Hi! Some notes about netiquette and mailing list usage to help you:
1. Please don't use the word "required" in a mail to a public mailing list. If you require help, there are companies on the web site that offer services for payment. 2. Please do not crosspost to many mailing list. It's not good for you as it annoys people and will give you fewer answers 3. The text in the signature doesn't really make sense on a public mailing list and may also annoy people you want to help you.
The documentation is to be found on http://www.kamailio.org !
Have a great weekend! /Olle