Parking BIG problem!
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:
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...
Comments
Was: Fixed
When i transfer throu fop2, its just park without CID prepend.
So, the same way you found a typo, you can very well review the parking contexts on FreePBX and modify the fop2-park context to change callerid on call return, perhaps some variables are set, etc.. I have no idea, and it is not the duty/task of FOP2 to know every possible backend dialplan changes over time with custom features.
If you find the way to mimic behaviour, then I can document that on members.asternic.biz or FAQ... or perhaps update the generate_override_contexts.pl script.
Best regards,
Best regards,
I realise that the problem not in the CID prepend or else...
Problem is that FOP2 is not display who has parked the call!
And it is only if i parking from the fop2!
When i park a call by feauture code- it is normal....
FOP2 Park like this:
Feauturecode psrk like this:
If call not came to queue (intercepted from trunk by agent), when parking (through fop2) a call happened this: And in this case, Park works correct.
Differense is what fop2 trying to park:
Local/999@from-queue-0000000f;2
or
SIP/dsi-00000008