[OpenSIPS-Users] trying to rewriteuri to the value of a variable

2011-02-06 Thread Nigel Daniels
I tried the fallowing and $var(z) looks $var(x)=$tu; $var(y) = $(var(x){s.select,1,-}); $var(z) = sip:+$var(y); xlog($var(z)); rewriteuri($var(z)); This is what I get in the log Feb 7 01:28:18 opensips /sbin/opensips[26561]: ERROR:core:parse_uri: bad uri,

Re: [OpenSIPS-Users] trying to rewriteuri to the value of a variable

2011-02-06 Thread Nigel Daniels
is the output for your xlog that shows what varz is? Sent from Droid On Feb 6, 2011 7:37 PM, Nigel Daniels nigel.dani...@connectandsell.com wrote: I tried the fallowing and $var(z) looks $var(x)=$tu; $var(y) = $(var(x){s.select,1,-}); $var(z) = sip:+$var(y); xlog($var(z)); rewriteuri($var(z

Re: [OpenSIPS-Users] trying to rewriteuri to the value of a variable

2011-02-06 Thread Nigel Daniels
Feb 7 01:00:45 opensips /sbin/opensips[26040]: sip:16505332...@sip.testdomain2.com Nevermind I guess you do use the +. I don't have my config in front of me so it looked odd. I would still be interested in what your xlog output is. Sent from Droid On Feb 6, 2011 7:37 PM, Nigel Daniels

Re: [OpenSIPS-Users] trying to rewriteuri to the value of a variable

2011-02-06 Thread Nigel Daniels
://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Nigel Daniels Network Systems Administrator ConnectAndSell inc. (650)-533-2542 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] trying to rewriteuri to the value of a variable

2011-02-06 Thread Nigel Daniels
you can use it just like assigning to other vars like you are doing. On Sun, Feb 6, 2011 at 6:36 PM, Duane Larson duane.lar...@gmail.com wrote: Avpops Sent from Droid On Feb 6, 2011 8:34 PM, Nigel Daniels nigel.dani...@connectandsell.com wrote: the problem is that rewriteuri

Re: [OpenSIPS-Users] high-availability - senario

2010-01-26 Thread Nigel Daniels
priority 65535 on the active one and weith 1 on the passive server. Any other suggested way to cluster without load-balancing ? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Nigel