Your close...with each call there is a on_call_media_state(pjsua_call_id call_id) callback function In this function execute: pjsua_call_get_info(call_id, &call_info); call_info.conf_slot; // store this variable in a channel or call_id specific structure You will need to be able to relate from call_id to conf_slot in one step. Then use this conf_slot variable in your calls below and you will be in a two way conference. At 10:12 PM 5/28/2009, nitu dhanurved wrote: >hello all, > > i want to how to create conference with pjsua, i wanted to > add conference function in my application, can any one tell me how > to create conference.... > > I was trying with > pjsua_conf_connect(sip_data[call_id1].conf_slot,sip_data[call_id2].conf_slot); > // I modded these two lines to show what they might look like. > >pjsua_conf_connect(sip_data[call_id2].conf_slot,sip_data[call_id1].conf_slot); >But it is not working.... > >Regards >New_bie >_______________________________________________ >Visit our blog: http://blog.pjsip.org > >pjsip mailing list >pjsip at lists.pjsip.org >http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org