<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hello Igor,<br>
<br>
Could you please try the attached patch ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 12.09.2016 16:23, Igor Pavlov wrote:<br>
</div>
<blockquote
cite="mid:e07211f0-a144-a3b5-94ef-6a17c739bd3f@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<p>Hi, all. I'm working on opensips-ejabberd integration. Flow
opensips -> ejabberd working fine, but ejabberd->opensips
has trouble - message isn't delivered to the recipient. <br>
</p>
<p>I think jabber-module construct wrong From header:</p>
<p> </p>
<blockquote type="cite">Sep 9 08:12:44 vs01
/usr/sbin/opensips[3313]: DBG:core:tcp_send: buf=#012MESSAGE <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="sip:1002@example.com">sip:1002@example.com</a>
SIP/2.0#015#012Via: SIP/2.0/TLS 10.10.10.136:5061;branch=z9hG4b<br>
K92f5.78c7b26.0#015#012To: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:1002@example.com#015#012From">sip:1002@example.com#015#012From</a>:
<b><<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="sip:test1*example.com@example.com"><sip:test1*example.com@example.com></a>></b>;tag=2b04f16aecab308d711c6336732ee60c-603e#015#012CSeq:
10 MESSAGE#<br>
015#012Call-ID: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:09df26003f14d685-3296@10.10.10.136#015#012Max-Forwards">09df26003f14d685-3296@10.10.10.136#015#012Max-Forwards</a>:
70#015#012Content-Length: 3#015#012User-agent:
example#015#012Content-Type: text/plain#015#012<br>
Contact: <<b><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:test1*example.com@example.com">sip:test1*example.com@example.com</a></b>>#015#012#015#012123</blockquote>
<p>As a result:</p>
<blockquote type="cite">Sep 9 08:12:44 vs01
/usr/sbin/opensips[3307]: ERROR:core:parse_to: unexpected char
[<] in status 5: <<<>> .<br>
Sep 9 08:12:44 vs01 /usr/sbin/opensips[3307]:
ERROR:core:parse_from_header: bad from header<br>
Sep 9 08:12:44 vs01 /usr/sbin/opensips[3307]:
DBG:core:set_err_info: ec: 1, el: 3, ei: 'error parsing From
header'<br>
Sep 9 08:12:44 vs01 /usr/sbin/opensips[3307]:
ERROR:core:pv_get_from_attr: cannot parse From header<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
____________
Best regards,
Igor Pavlov</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>