Hi,<br><br>The following lines give me some strange error:<br><br><br>    switch_channel_t *channel = switch_core_session_get_channel(session);<br> <br>  <br>        <br>   <br>   <br>        if (channel-&gt;direction==SWITCH_CALL_DIRECTION_OUTBOUND) {<br>
<br><br>error: dereferencing pointer to incomplete type<br><br>