Помогите увидеть ошибку..
Строка диалплана:
same => n,GotoIf($[ "${locIP:1:1}" != "[" ]?pjsip-ipv4)
там ipv6 в формате [....]:порт
ругается так:
pbx_variables.c: Error in extension logic (missing ']')
ast_expr2.y: non-numeric argument
ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected $end; Input:
ast_expr2.fl: If you have questions, please refer to
https://wiki.asterisk.org/wiki/display/AST/Channel+Variables