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.

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?

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