Closed GoogleCodeExporter closed 9 years ago
Thks for this issue, since we do not test presence a lot today since it is
optional with RCS-e. I should remove the quotes.
Original comment by jmauffret@gmail.com
on 15 Oct 2012 at 6:04
See the following patch integrated in next release :
/**
* Set the user associated URIs
*
* @param uris List of URIs
*/
public void setAssociatedUri(ListIterator<Header> uris) {
if (uris == null) {
return;
}
String sipUri = null;
String telUri = null;
while(uris.hasNext()) {
ExtensionHeader header = (ExtensionHeader)uris.next();
String value = header.getValue();
value = SipUtils.extractUriFromAddress(value);
associatedUriList.addElement(value);
if (value.startsWith("sip:")) {
sipUri = value;
} else
if (value.startsWith("tel:")) {
telUri = value;
}
}
if ((sipUri != null) && (telUri != null)) {
preferredUri = telUri;
} else
if (telUri != null) {
preferredUri = telUri;
} else
if (sipUri != null) {
preferredUri = sipUri;
}
}
Sorry for the delay.
Original comment by jmauffret@gmail.com
on 26 Oct 2012 at 6:25
Original issue reported on code.google.com by
iiaGa...@gmail.com
on 26 Sep 2012 at 12:47