Hi,

The following lines give me some strange error:


    switch_channel_t *channel = switch_core_session_get_channel(session);
 
 
       
  
  
        if (channel->direction==SWITCH_CALL_DIRECTION_OUTBOUND) {


error: dereferencing pointer to incomplete type