Hello,
 
how can I prevent the completion of the call setup if it was detected (by my module or a client of the event_socket server for example) that the call is not allowed?
The criteria for a call to be not allowed might be out of the scope of the dialplan so I can't use dialplan logic for this task.
 
What happens if I send an event like CHANNEL_HANGUP or CHANNEL_DESTROY from an event_socket client? Does this initiate any actions?
 
Thanks in advance
 
Regards,
 
--
Alois Komenda
Fraunhofer-Einrichtung für Systeme der Kommunikationstechnik ESK