Changeset 792:c965cfe8ceb5 in mediastreamer2
- Timestamp:
- Dec 11, 2009 4:20:20 PM (4 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
linphone/coreapi/linphonecore.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/coreapi/linphonecore.c
r791 r792 1412 1412 } 1413 1413 1414 gstate_new_state(lc, GSTATE_CALL_OUT_INVITE, url);1415 1414 linphone_core_get_default_proxy(lc,&proxy); 1416 1415 if (!linphone_core_interpret_url(lc,url,&real_parsed_url,&route)){ 1417 /* bad url */1418 gstate_new_state(lc, GSTATE_CALL_ERROR, NULL);1419 1416 return -1; 1420 1417 } … … 1468 1465 lc->call->cid=err; 1469 1466 eXosip_unlock(); 1467 1470 1468 if (err<0){ 1471 1469 ms_warning("Could not initiate call."); … … 1474 1472 lc->call=NULL; 1475 1473 linphone_core_stop_media_streams(lc); 1476 } 1474 }else gstate_new_state(lc, GSTATE_CALL_OUT_INVITE, url); 1477 1475 1478 1476 goto end; 1479 1477 end: 1480 1478 if (real_url!=NULL) ms_free(real_url); 1481 if (err<0)1482 gstate_new_state(lc, GSTATE_CALL_ERROR, NULL);1483 1479 if (route!=NULL) ms_free(route); 1484 1480 return (err<0) ? -1 : 0;
Note: See TracChangeset
for help on using the changeset viewer.
