diff --git a/3rdparty/iaxclient/lib/iaxclient_lib.c b/3rdparty/iaxclient/lib/iaxclient_lib.c index b9e1b22a7..9ffa0ece2 100644 --- a/3rdparty/iaxclient/lib/iaxclient_lib.c +++ b/3rdparty/iaxclient/lib/iaxclient_lib.c @@ -1157,11 +1157,13 @@ static void iaxc_handle_network_event(struct iax_event *e, int callNo) case IAX_EVENT_ACCEPT: calls[callNo].format = e->ies.format & IAXC_AUDIO_FORMAT_MASK; calls[callNo].vformat = e->ies.format & IAXC_VIDEO_FORMAT_MASK; +#ifdef USE_VIDEO if ( !(e->ies.format & IAXC_VIDEO_FORMAT_MASK) ) { iaxci_usermsg(IAXC_NOTICE, "Failed video codec negotiation."); } +#endif iaxci_usermsg(IAXC_STATUS,"Call %d accepted", callNo); break; case IAX_EVENT_ANSWER: