[OpenSIPS-Users] XMPP module
Chris Maciejewski
chris at wima.co.uk
Mon Nov 1 21:39:31 CET 2010
Hi,
I am trying to send SIP MESSAGE to my Google Talk account via OpenSIPs
XMPP module + jabberd2.
Currently using configuration exactly as per
http://www.opensips.org/html/docs/modules/1.6.2/xmpp.html
When I am sending:
MESSAGE sip:gtalk-user at talk.google.com SIP/2.0.
Via: SIP/2.0/UDP 10.10.10.1:5065;rport;branch=z9hG4bK386042.
From: <sip:user1 at xmpp.mydomain.org>;tag=59375.
To: <sip:gtalk-user at talk.google.com>.
Call-ID: 69479a230847c98367444568206ae556 at 10.10.10.1.
CSeq: 20 MESSAGE.
Content-Type: text/plain.
Max-Forwards: 70.
Content-Length: 12.
.
test message
always getting in OpenSIPs log:
DBG:xmpp:cmd_send_message: message from <user1@(null)>
DBG:xmpp:do_send_message_component: do_send_message_component
from=[user1@(null)] to=[gtalk-user at talk.google.com] body=[test
message]
DBG:xmpp:xode_send: xode_send [<message id='59375' from='user1@(null)'
to='gtalk-user at talk.google.com' type='chat'><body>test
message</body></message>]
*** Note: from=[user1@(null)]
And in jabberd2/router.log:
tried to send a packet from '(null)', but that name is not bound to
this component
Could someone please let me know what is the correct format of
URI/From headers in a SIP MESSAGE, so xmpp module will parse it
correctly?
Kind regards,
Chris
More information about the Users
mailing list