On 5/5/10 8:36 PM, Juha Heinanen wrote:
Juha Heinanen writes:
> how then you can explain that
>
> route ["+358"] {
>
> does not give error message, but
>
> route [+358] {
the mail got sent too soon. i was going to write:
does not give error message, but
route [+358] {
Juha Heinanen writes:
> how then you can explain that
>
> route ["+358"] {
>
> does not give error message, but
>
> route [+358] {
the mail got sent too soon. i was going to write:
does not give error message, but
route [+358] {
does,
-- juha
_
Daniel-Constantin Mierla writes:
> to add a bit more about, just for reference, the name is considered
> always a string:
>
> route[123] is the same as route["123"]
>
> similar route[abc] and route["abc"]
how then you can explain that
route ["+358"] {
does not give error message, bu
On 5/5/10 8:14 PM, Juha Heinanen wrote:
Jan Janak writes:
> You can fix this by quoting the name:
> route["+358"] or route["myself"]
thanks, juha
to add a bit more about, just for reference, the name is considered always a
string:
route[123] is the same as route["123"]
similar r
Jan Janak writes:
> You can fix this by quoting the name:
> route["+358"] or route["myself"]
thanks, juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Juha,
On Wed, May 5, 2010 at 1:10 PM, Juha Heinanen wrote:
> i tried to define route
>
> route [+358] { ... }
>
> but got syntax error. is there a good reason why + is not allowed in
> name of route?
This is not intentional; it's simply the result of how the
configuration parser is written now.
Module: sip-router
Branch: kamailio_3.0
Commit: befd91050bf16c725076f31f71d8c083aaf482e7
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=befd91050bf16c725076f31f71d8c083aaf482e7
Author: Andrei Pelinescu-Onciul
Committer: Daniel-Constantin Mierla
Date: Fri Mar 19 14
Are PV mathematical expressions evaluated in lexical argument scope of
routines that accept a route name?
In other words, maybe it's a problem because
route($(avp(s:port)+1));
or something like that may also have some meaning?
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peacht
i tried to define route
route [+358] { ... }
but got syntax error. is there a good reason why + is not allowed in
name of route?
-- juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev