don't report 487 as call errors.

This commit is contained in:
Simon Morlat 2010-01-28 10:00:04 +01:00
parent 51a3a36ad2
commit c5b17b4aa3

View file

@ -214,7 +214,7 @@ int linphone_call_failure(LinphoneCore *lc, eXosip_event_t *ev)
}*/
lc->vtable.display_message(lc,tmpmsg);
break;
case 487:
case 487: /*request terminated*/
lc->vtable.display_status(lc,msg487);
break;
case 600:
@ -244,7 +244,7 @@ int linphone_call_failure(LinphoneCore *lc, eXosip_event_t *ev)
linphone_core_stop_media_streams(lc);
if (call!=NULL) {
linphone_call_destroy(call);
gstate_new_state(lc, GSTATE_CALL_ERROR, NULL);
if (code!=487) gstate_new_state(lc, GSTATE_CALL_ERROR, NULL);
lc->call=NULL;
}
return 0;