Remove unwanted message from IAX lib
This commit is contained in:
parent
eac763ee61
commit
fe61a98ca5
1 changed files with 2 additions and 0 deletions
2
3rdparty/iaxclient/lib/iaxclient_lib.c
vendored
2
3rdparty/iaxclient/lib/iaxclient_lib.c
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue