<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi everyone,<br>
    <br>
    at first, I am new to sip simple.<br>
    <br>
    I am trying to set the sip uri from a Qt QLineedit.
    <blockquote><tt># qt slot</tt><br>
      <tt>def set_remote_sip_uri(self, remote_uri):</tt><br>
      <tt>   self.remote_uri =  ToHeader(SIPURI.parse(str(remote_uri)))</tt><tt>
        # remote_uri is a QString</tt><br>
    </blockquote>
    these lines of code produce the follwoing error:<br>
    <blockquote><tt>17:00:19.677   SIPURI_parse  pool created, size=4096</tt><br>
      <tt>self.remote_uri =  ToHeader(SIPURI.parse(str(remote_uri)))</tt><br>
      <tt>  File "_core.helper.pxi", line 197, in
        sipsimple.core._core.SIPURI_parse (sipsimple/core/_core.c:60390)</tt><br>
      <tt>sipsimple.core._core.SIPCoreError: Not a valid SIP URI:
        <a class="moz-txt-link-abbreviated" href="mailto:sip:christoph@sip2sip.info:53024">sip:christoph@sip2sip.info:53024</a></tt><br>
    </blockquote>
    <br>
    I tried all possibilities I could think of. According to the wiki it
    should be done like that:<br>
    <code><br>
    </code>
    <blockquote><code>SIPURI.parse('<a class="moz-txt-link-abbreviated" href="mailto:sip:alice@example.org:54321;transport=tls">sip:alice@example.org:54321;transport=tls</a>')</code><br>
    </blockquote>
    <br>
    Could anyone tell me, what I am doing wrong?<br>
    <br>
    Regards,<br>
    Ck<br>
  </body>
</html>