Re: [sr-dev] route names

2010-05-05 Thread Daniel-Constantin Mierla
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] {

Re: [sr-dev] route names

2010-05-05 Thread Juha Heinanen
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 _

Re: [sr-dev] route names

2010-05-05 Thread Juha Heinanen
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

Re: [sr-dev] route names

2010-05-05 Thread Daniel-Constantin Mierla
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

Re: [sr-dev] route names

2010-05-05 Thread Juha Heinanen
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

Re: [sr-dev] route names

2010-05-05 Thread Jan Janak
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.

[sr-dev] git:kamailio_3.0: core: cfg parser: allow negative numbers in modparams

2010-05-05 Thread Daniel-Constantin Mierla
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

Re: [sr-dev] route names

2010-05-05 Thread Alex Balashov
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

[sr-dev] route names

2010-05-05 Thread Juha Heinanen
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