<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can you paste the SIP and XMPP logs<div><br></div><div>Adrian</div><div><br><div><div>On Aug 13, 2013, at 4:29 PM, Jonathan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi everyone.<div>I'm running sylkserver 2.5.0 with the --no-fork option, and as xmppgateway. When I send a message with characters like 'ñ', or á, é, í... the next exception is raised, and, of course, the message is not received:</div>

<div><br></div><div><div>Traceback (most recent call last):</div><div>  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/base.py", line 824, in runUntilCurrent</div>

<div>    call.func(*call.args, **<a href="http://call.kw/">call.kw</a>)</div><div>  File "/usr/lib/python2.7/dist-packages/eventlib/coros.py", line 199, in _do_send</div><div>    waiter.throw(*exc)</div><div>  File "/usr/lib/python2.7/dist-packages/eventlib/api.py", line 235, in _spawn_startup</div>

<div>    return cb(*args, **kw)</div><div>  File "/usr/lib/python2.7/dist-packages/sylk/applications/xmppgateway/__init__.py", line 312, in _NH_XMPPGotChatMessage</div><div>    sip_message_sender.send().wait()</div>

<div>  File "/usr/lib/python2.7/dist-packages/eventlib/coros.py", line 150, in wait</div><div>    return api.get_hub().switch()</div><div>  File "/usr/lib/python2.7/dist-packages/eventlib/hubs/twistedr.py", line 130, in switch</div>

<div>    return self.greenlet.switch()</div><div>  File "/usr/lib/python2.7/dist-packages/sipsimple/threading/green.py", line 85, in wrapped_func</div><div>    result = func(*args, **kw)</div><div>  File "/usr/lib/python2.7/dist-packages/sylk/applications/xmppgateway/im.py", line 422, in send</div>

<div>    request = SIPMessageRequest(from_header, to_header, route_header, self.content_type, self.body)</div><div>  File "/usr/lib/python2.7/dist-packages/sipsimple/core/_primitives.py", line 150, in __init__</div>

<div>    self._request = Request("MESSAGE", to_header.uri, from_header, to_header, route_header, credentials=credentials, extra_headers=extra_headers, content_type=content_type, body=body)</div><div>  File "_core.request.pxi", line 141, in sipsimple.core._core.Request.__init__ (sipsimple/core/_core.c:51071)</div>

<div>  File "_core.util.pxi", line 17, in sipsimple.core._core.PJSTR.__cinit__ (sipsimple/core/_core.c:29074)</div><div>  File "_core.util.pxi", line 165, in sipsimple.core._core._str_to_pj_str (sipsimple/core/_core.c:31966)</div>

<div>UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 0: ordinal not in range(128)</div></div><div><br></div></div>
_______________________________________________<br>SIPBeyondVoIP mailing list<br><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com">SIPBeyondVoIP@lists.ag-projects.com</a><br>http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip<br></blockquote></div><br></div></body></html>