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.

I think jabber-module construct wrong From header:

Sep 9 08:12:44 vs01 /usr/sbin/opensips[3313]: DBG:core:tcp_send: buf=#012MESSAGE sip:1...@example.com SIP/2.0#015#012Via: SIP/2.0/TLS 10.10.10.136:5061;branch=z9hG4b K92f5.78c7b26.0#015#012To: sip:1...@example.com#015#012From: *<<sip:test1*example....@example.com>>*;tag=2b04f16aecab308d711c6336732ee60c-603e#015#012CSeq: 10 MESSAGE# 015#012Call-ID: 09df26003f14d685-3296@10.10.10.136#015#012Max-Forwards: 70#015#012Content-Length: 3#015#012User-agent: example#015#012Content-Type: text/plain#015#012
Contact: <*sip:test1*example....@example.com*>#015#012#015#012123

As a result:

Sep 9 08:12:44 vs01 /usr/sbin/opensips[3307]: ERROR:core:parse_to: unexpected char [<] in status 5: <<<>> . Sep 9 08:12:44 vs01 /usr/sbin/opensips[3307]: ERROR:core:parse_from_header: bad from header Sep 9 08:12:44 vs01 /usr/sbin/opensips[3307]: DBG:core:set_err_info: ec: 1, el: 3, ei: 'error parsing From header' Sep 9 08:12:44 vs01 /usr/sbin/opensips[3307]: ERROR:core:pv_get_from_attr: cannot parse From header

--
____________
Best regards,
Igor Pavlov

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to