Package org.zoolu.sip.dialog

Examples of org.zoolu.sip.dialog.ExtendedInviteDialog


   }


   /** Waits for an incoming call */
   public void listen()
   {  if (username!=null) dialog=new ExtendedInviteDialog(sip_provider,username,realm,passwd,this);
      else dialog=new ExtendedInviteDialog(sip_provider,this);
      dialog.listen();
   }
View Full Code Here



   /** Starts a new call, inviting a remote user (<i>r_user</i>) */
   public void call(String r_user, String from, String contact, String sdp)
   {  printLog("calling "+r_user,LogLevel.MEDIUM);
      if (username!=null) dialog=new ExtendedInviteDialog(sip_provider,username,realm,passwd,this);
      else dialog=new ExtendedInviteDialog(sip_provider,this);
      if (from==null) from=from_url;
      if (contact==null) contact=contact_url;
      if (sdp!=null) local_sdp=sdp;
      if (local_sdp!=null)
         dialog.invite(r_user,from,contact,local_sdp);
View Full Code Here

   }


   /** Starts a new call with the <i>invite</i> message request */
   public void call(Message invite)
   {  dialog=new ExtendedInviteDialog(sip_provider,this);
      local_sdp=invite.getBody();
      if (local_sdp!=null)
         dialog.invite(invite);
      else dialog.inviteWithoutOffer(invite);
   }
View Full Code Here

TOP

Related Classes of org.zoolu.sip.dialog.ExtendedInviteDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.