[SR-Users] Passing Command-Line Arguments to Kamailio Config Script

AliReza Khoshgoftar Monfared khoshgoftar at gmail.com
Wed Jun 25 22:04:28 CEST 2014


Thanks very much Daniel.

Did you mean:

kamailio -A xyz='"abc"' ...

in equivalent to

$var(xyz) = "abc"

in config?

Also is there a scope restriction on the use of $var() or -A option?
I seem to be able to use it inside the route {} block but not in the global
scope...

On Wed, Jun 25, 2014 at 3:31 AM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

> $var(x) = xyz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140625/d99900e2/attachment.html>


More information about the sr-users mailing list