search for: from_sipuri

Displaying 1 result from an estimated 1 matches for "from_sipuri".

2016 Aug 08
2
Trouble applying regex to dialplan variable that contains double-quotes
...e source peer. My test dialplan sets up variables like these: exten => _X.,n,Set(RX=".*<(.+)>") exten => _X.,n,Set(T1="Example name" <sip:example at example.com>) If I just apply the regex operator (:) on T1 using regexp RX, like this: exten => _X.,n,Set(FROM_SIPURI=$[${T1}:${RX}]) ...I get this syntax error: [2016-08-08 15:04:02] WARNING[1653][C-00000000]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected ':', expecting '-' or '!' or '(' or '<token>'; Input: "Example name&...