/** Starts a new call, inviting a remote user (<i>callee</i>) */ public void call( String callee, String from, String contact, String sdp, String icsi) { // modified by mandrajg printLog("calling " + callee, LogLevel.HIGH); if (from == null) from = from_url; if (contact == null) contact = contact_url; if (sdp != null) local_sdp = sdp; dialog = new InviteDialog(sip_provider, this); if (local_sdp != null) dialog.invite(callee, from, contact, local_sdp, icsi); // modified by mandrajg else dialog.inviteWithoutOffer(callee, from, contact); }
/** Starts a new call with the <i>invite</i> message request */ public void call(Message invite) { dialog = new InviteDialog(sip_provider, this); local_sdp = invite.getBody(); if (local_sdp != null) dialog.invite(invite); else dialog.inviteWithoutOffer(invite); }