<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi, all. I'm working on opensips-ejabberd integration. Flow
      opensips -&gt; ejabberd working fine, but ejabberd-&gt;opensips
      has trouble - message isn't delivered to the recipient. <br>
    </p>
    <p>I think jabber-module construct wrong From header:</p>
    <p>
      <blockquote type="cite">Sep  9 08:12:44 vs01
        /usr/sbin/opensips[3313]: DBG:core:tcp_send: buf=#012MESSAGE
        <a 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 class="moz-txt-link-freetext" href="sip:1002@example.com#015#012From">sip:1002@example.com#015#012From</a>: <b>&lt;<a class="moz-txt-link-rfc2396E" href="sip:test1*example.com@example.com">&lt;sip:test1*example.com@example.com&gt;</a>&gt;</b>;tag=2b04f16aecab308d711c6336732ee60c-603e#015#012CSeq:
        10 MESSAGE#<br>
        015#012Call-ID:
        <a 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: &lt;<b><a class="moz-txt-link-freetext" href="sip:test1*example.com@example.com">sip:test1*example.com@example.com</a></b>&gt;#015#012#015#012123</blockquote>
    </p>
    <p>As a result:</p>
    <blockquote type="cite">Sep  9 08:12:44 vs01
      /usr/sbin/opensips[3307]: ERROR:core:parse_to: unexpected char
      [&lt;] in status 5: &lt;&lt;&lt;&gt;&gt; .<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>
  </body>
</html>