Nicolas,
Thank you for help, problem solved.
I understand now what is difference between regular and custom permissions 
Nicolas,
Thank you for help, problem solved.
I understand now what is difference between regular and custom permissions 
Hi,
As the dialbox can be used to dial ANY number, a custom permission is not enough to allow dialing from there. You must use the regular "dial" permission in that user to enable the dialbox.
Hope my explanation makes sense.
Best regards,
Hi Nicolas,
User has dial permission, you can see it from autoconfig-users-freepbx.sh output:
perm=helpdesk:dial,hangup,hangupself,phonebook,pickup,preferences,queueagent,spy,transfer,transferexternal:
user=393:393:helpdesk,operator:All Trunks,All Conferences,All Queues,All Extensions,All Buttons
(group is included in the group "helpdesk" that have dial permission)
Btw, FOP2 server said about "custom" permission when there is dial attempt from dial-box:
<= <msg data="20|dial|398|ef03dc3ea7f7c333c114779f990d1168" />
-- PROCESS_FLASH_COMMAND origen 20 accion dial destino 398 password ef03dc3ea7f7c333c114779f990d1168
VALIDAR USUARIO 393@GENERAL
VALIDAR USUARIO 393 OK con clave regular (81.26.144.130)
Validation wrong, no custom permissions
DIAL permission denied!
Asterisk 1.8
FreePBX 2.9 with FOP2 module 1.2.9
./fop2_server -v
fop2_server version 2.24
Flash Operator Panel 2 - White Label Version.
Originate call to selected extension work well.
Dial from dial box won't work.
Permissions for user 393 from autoconfig-users-freepbx.sh:
perm=helpdesk:dial,hangup,hangupself,phonebook,pickup,preferences,queueagent,spy,transfer,transferexternal:
user=393:393:helpdesk,operator:All Trunks,All Conferences,All Queues,All Extensions,All Buttons
Here is log per Originate and Dial:
=== Originate ===
<= <msg data="20|originate|10|ef03dc3ea7f7c333c114779f990d1168" />
-- PROCESS_FLASH_COMMAND origen 20 accion originate destino 10 password ef03dc3ea7f7c333c114779f990d1168
VALIDAR USUARIO 393@GENERAL
VALIDAR USUARIO 393 OK con clave regular (XXX.XXX.XXX.XXX)
Validation ok, have dial permissions for 10
ORIGINATE:
Action: Originate
Channel: SIP/393
Exten: 398
Context: from-internal
Priority: 1
CallerID: 393 <393>
Async: True
=== Dial ===
<= <msg data="20|dial|398|ef03dc3ea7f7c333c114779f990d1168" />
-- PROCESS_FLASH_COMMAND origen 20 accion dial destino 398 password ef03dc3ea7f7c333c114779f990d1168
VALIDAR USUARIO 393@GENERAL
VALIDAR USUARIO 393 OK con clave regular (81.26.144.130)
Validation wrong, no custom permissions
DIAL permission denied!
====
I don't understand what is wrong in my config and what permission need here to make call from dial box.