im trying to do it like this but i get an error i cant see or figure out, had it working when only using SIP: and 2 avps, but with this i cant seem to get the config running, is there any limits to how i can format this?
$ru = "sip:" + $tU + "*" + $avp(COID) "@" + $avp(COIP); when i use xlog i get the right result xlog("L_INFO","\n sip:$tU*$avp(COID)@$avp(COIP)"); which yields sip:+01200*2...@xx.xxx.xx.xxx seems to be a valid sip, so i cant figure out why i get May 21 10:26:55 [30102] CRITICAL:core:yyerror: parse error in config file, line 469, column 69-70: syntax error May 21 10:26:55 [30102] CRITICAL:core:yyerror: parse error in config file, line 469, column 69-70: bad command!) May 21 10:26:55 [30102] CRITICAL:core:yyerror: parse error in config file, line 469, column 69-70: bad command!) May 21 10:26:55 [30102] CRITICAL:core:yyerror: parse error in config file, line 469, column 71-72: bad command!) May 21 10:26:55 [30102] CRITICAL:core:yyerror: parse error in config file, line 469, column 89-90: bad command!) May 21 10:26:55 [30102] ERROR:core:main: bad config file (5 errors) -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/how-to-construct-a-new-uri-from-2-variables-tp7591444p7591477.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users