objective c - How to call group using PJSIP -
how can make call between three, 4 , more accounts using pjsip api in ios? make call between 2 account, use pjsua_call_make_call
function.
char *desturi = "sip:account@example.com"; pj_status_t status; pj_str_t uri = pj_str(desturi); status = pjsua_call_make_call(_acc_id, &uri, 0, null, null, null); if (status != pj_success) error_exit("error making call", status);
i have no experience run pjsip on ios yet (may there restrictions on call count in ios version of pjsip?).
based on experience of using pjsip on desktop, should call parties different calls pjsua_call_make_call
(execute pjsua_call_make_call
4 times 4 accounts in group example). after calls estabilished, should connect them in pjsip's conference bridge all-with-all pjsua_conf_connect function.
Comments
Post a Comment