Hello,
I am trying to use ; as a separator in asterisk 1.8.3
The dial-plan in in realtime.
Like:
NoOp(${CHANNEL(From)})
Set(_SRCFROM=${CUT(CHANNEL(from),;,1)})
But the result is:
-- Executing [17868371124@incoming:2] Noop("SIP/REG-00000078", ""user" <sip:user@c001.admin.test.xxx.com;transport=UDP>;tag=8c46975d")
-- Executing [17868371124@incoming:3] Set("SIP/REG-00000078", ",1)}")
[Mar 11 21:03:41] WARNING[12792]: pbx.c:9603 pbx_builtin_setvar: Set requires an '=' to be a valid assignment.
I tried several options, escaping with backslash , also assigning the semicolon to a variable, with the same result.
It seems to me that the dial-plan command interpretation is being stopped by the semicolon.
Any help will be fully appreciated!
Rafael