[SIP Beyond VoIP] SIP URI parse error
Christoph Kuhr
christoph.kuhr at web.de
Tue Jun 4 17:04:33 CEST 2013
Hi everyone,
at first, I am new to sip simple.
I am trying to set the sip uri from a Qt QLineedit.
# qt slot
def set_remote_sip_uri(self, remote_uri):
self.remote_uri = ToHeader(SIPURI.parse(str(remote_uri)))#
remote_uri is a QString
these lines of code produce the follwoing error:
17:00:19.677 SIPURI_parse pool created, size=4096
self.remote_uri = ToHeader(SIPURI.parse(str(remote_uri)))
File "_core.helper.pxi", line 197, in
sipsimple.core._core.SIPURI_parse (sipsimple/core/_core.c:60390)
sipsimple.core._core.SIPCoreError: Not a valid SIP URI:
sip:christoph at sip2sip.info:53024
I tried all possibilities I could think of. According to the wiki it
should be done like that:
|
|
|SIPURI.parse('sip:alice at example.org:54321;transport=tls')|
Could anyone tell me, what I am doing wrong?
Regards,
Ck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20130604/1a55da35/attachment.html>
More information about the SIPBeyondVoIP
mailing list