Ejemplo n.º 1
0
 /**
  * Get the way of the message is send by the user of the application
  *
  * @return true if message is sent by the user of the application
  */
 public boolean isOutgoing() {
   if (SipMessage.SELF.equalsIgnoreCase(from)) {
     return true;
   } else {
     return false;
   }
 }
Ejemplo n.º 2
0
 /**
  * Get the number of the remote party.
  *
  * @return The remote party number
  */
 public String getRemoteNumber() {
   if (SipMessage.SELF.equalsIgnoreCase(from)) {
     return to;
   } else {
     return from;
   }
 }