PJSip:无法保留暂停通话

时间:2018-05-17 09:49:53

标签: ios pjsip

使用pjsip解锁调用时出现此错误。

  

无法创建re-INVITE:无效操作(PJ_EINVALIDOP)   [状态= 70013]        挂断电话时出错:操作无效(PJ_EINVALIDOP)[status = 70013]

将此代码用于无法解释

pj_status_t pj_wrapper_unhold_call(pjsua_call_id call_id, char deviceId, char groupId, char *token) {

    pj_status_t status;

    if (!pj_wrapper_initialized) {
        return PJ_EGONE;
    }


    status = pjsua_call_reinvite(call_id, PJSUA_CALL_UNHOLD, NULL);
    if (status != PJ_SUCCESS) {
        pj_wrapper_show_error("Error hanging up call", status);
    }

    return status;
}

0 个答案:

没有答案