Skip to content

Tel URI support - in SipCall #8

@tzieleniewski

Description

@tzieleniewski

Hi,

I'd like to request the addition of the Tel URI support to the SipCall class.
The current implementation returns with the "Unsupported URI Scheme" error, when the Tel URI string is provided as the toUri parameter in initiateOutgoingMessage and initiateOutgoingCall methods.

protected boolean initiateOutgoingCall(String fromUri, String toUri, String viaNonProxyRoute,
      MessageListener respListener, ArrayList<Header> additionalHeaders,
      ArrayList<Header> replaceHeaders, String body) {
    ..
    URI request_uri = addr_factory.createURI(toUri);
      if (request_uri.isSipURI() == false) {
        setReturnCode(SipSession.UNSUPPORTED_URI_SCHEME);
        setErrorMessage("URI " + toUri + " is not a Sip URI");
        return false;
      }
    ..
}

Godspeed
Tomasz Krzysztof Zieleniewski

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions