Hello!
When i parkin call, i configured in Freepbx, to prepend CID or paked call with extension number.
But it is not work.
When i looked in CLI i saw this:
Executing [999,from-internal,PARK/default@fop2-park:1] Set("SIP/dsi-00000897", "ARRAY(RETURN_EXTENSION,RETURN_CONTEXT,PARKBUTTON)=999,from-internal,PARK/default,,") in new stack [2017-01-13 17:28:32] WARNING[1782][C-000004b6]: pbx_variables.c:749 pbx_substitute_variables_helper_full: Error in extension logic (missing ']') [2017-01-13 17:28:32] WARNING[1782][C-000004b6]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected $end, expecting '-' or '!' or '(' or '<token>'; Input: "PARK/default" = "PARK/default"? ^ [2017-01-13 17:28:32] WARNING[1782][C-000004b6]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables -- Executing [999,from-internal,PARK/default@fop2-park:2] GotoIf("SIP/dsi-00000897", "0") in new stack [2017-01-13 17:28:32] WARNING[1782][C-000004b6]: pbx_variables.c:749 pbx_substitute_variables_helper_full: Error in extension logic (missing ']') [2017-01-13 17:28:32] WARNING[1782][C-000004b6]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected $end, expecting '-' or '!' or '(' or '<token>'; Input: "PARK/default" = ""? ^ [2017-01-13 17:28:32] WARNING[1782][C-000004b6]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables -- Executing [999,from-internal,PARK/default@fop2-park:3] GotoIf("Sfop2-parkIP/dsi-00000897", "0") in new stack -- Executing [999,from-internal,PARK/default@fop2-park:4] Set("SIP/dsi-00000897", "PARKINGLOT=default") in new stack -- Executing [999,from-internal,PARK/default@fop2-park:5] Park("SIP/dsi-00000897", ",sc(from-internal,999,1)") in new stack -- Parking 'SIP/dsi-00000897' in 'default' at space 71 -- Channel SIP/dsi-00000897 joined 'holding_bridge' parking-bridge <a326fe5f-fa2a-4f66-9069-b618cfe057b5> [2017-01-13 17:28:32] WARNING[1782][C-000004b6]: res_musiconhold.c:884 _get_mohbyname: Music on Hold class 'igkb8' not found in memory. Verify your configuration. -- Started music on hold, class 'igkb8withcommercial', on channel 'SIP/dsi-00000897'
It is look like problem in "fop2-park" context...