Re: [SR-Users] using forward() with variables

2010-12-03 Thread Pan B. Christensen
14 AM Subject: Re: [SR-Users] using forward() with variables On 12/2/10 4:57 PM, Pan wrote: Hello, We are running Kamailio 1.5. I'm trying to use the forward() function with a variable like this: forward($shv(voip1-edge1)); That fails to parse. I then tried t

Re: [SR-Users] using forward() with variables

2010-12-03 Thread Daniel-Constantin Mierla
On 12/3/10 11:28 AM, Pan B. Christensen wrote: [...] My main question was: Why does forward() not take dynamic parameters? Should it not do so (in the future) to be in line with other functions? It was not difficult to work around, but I think it would be more logical if the function could u

Re: [SR-Users] using forward() with variables

2010-12-03 Thread Daniel-Constantin Mierla
On 12/2/10 4:57 PM, Pan B. Christensen wrote: Hello, We are running Kamailio 1.5. I'm trying to use the forward() function with a variable like this: forward($shv(voip1-edge1)); That fails to parse. I then tried this, which I thought would fail: forward("$shv(voip1-edge1)"); That parsed

[SR-Users] using forward() with variables

2010-12-02 Thread Pan B. Christensen
Hello, We are running Kamailio 1.5. I'm trying to use the forward() function with a variable like this: forward($shv(voip1-edge1)); That fails to parse. I then tried this, which I thought would fail: forward("$shv(voip1-edge1)"); That parsed correctly, but it then failed to resolve the