[OpenSIPS-Users] Jabber module issue

Igor Pavlov igor.pavlov1987 at gmail.com
Mon Sep 12 15:23:12 CEST 2016


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:1002 at example.com SIP/2.0#015#012Via: SIP/2.0/TLS 
> 10.10.10.136:5061;branch=z9hG4b
> K92f5.78c7b26.0#015#012To: sip:1002 at example.com#015#012From: 
> *<<sip:test1*example.com at example.com>>*;tag=2b04f16aecab308d711c6336732ee60c-603e#015#012CSeq: 
> 10 MESSAGE#
> 015#012Call-ID: 
> 09df26003f14d685-3296 at 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.com at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160912/fe04d0eb/attachment.htm>


More information about the Users mailing list