event ChannelCloseRequest (ChannelID, StatusCode, ReturnCode)
Fires when other peer requests channel to be closed.

  TypeDescription 
   ChannelID as Long Long integer that specific ID of the channel that should be closed. 
   StatusCode as Integer Integer that holds error code sent by remote side. 
   ReturnCode as Integer Integer that determines whether you allow channel to be closed or not. 
 

ChannelCloseRequest event is fired when remote peer tries to close the channel, and needs our confirmation. Remote peer will provide StatusCode argument with possible code describing on why channel is closing (status codes depend on your profile implementation). If you accept channel to be closed, you should set ReturnCode to 0 or 200. In any other case, wodBeep will refuse to close the channel, and will send your ReturnCode back to remote peer.