1
0
Fork 0

Remove unwanted message from IAX lib

This commit is contained in:
Clément de l'Hamaide 2013-12-26 15:36:57 +01:00
parent eac763ee61
commit fe61a98ca5

View file

@ -1157,11 +1157,13 @@ static void iaxc_handle_network_event(struct iax_event *e, int callNo)
case IAX_EVENT_ACCEPT: case IAX_EVENT_ACCEPT:
calls[callNo].format = e->ies.format & IAXC_AUDIO_FORMAT_MASK; calls[callNo].format = e->ies.format & IAXC_AUDIO_FORMAT_MASK;
calls[callNo].vformat = e->ies.format & IAXC_VIDEO_FORMAT_MASK; calls[callNo].vformat = e->ies.format & IAXC_VIDEO_FORMAT_MASK;
#ifdef USE_VIDEO
if ( !(e->ies.format & IAXC_VIDEO_FORMAT_MASK) ) if ( !(e->ies.format & IAXC_VIDEO_FORMAT_MASK) )
{ {
iaxci_usermsg(IAXC_NOTICE, iaxci_usermsg(IAXC_NOTICE,
"Failed video codec negotiation."); "Failed video codec negotiation.");
} }
#endif
iaxci_usermsg(IAXC_STATUS,"Call %d accepted", callNo); iaxci_usermsg(IAXC_STATUS,"Call %d accepted", callNo);
break; break;
case IAX_EVENT_ANSWER: case IAX_EVENT_ANSWER: