|
Hi,
I wonder if anyone can give me a pointer as to why I am getting the following?
The request is:
<iq from='testaccount@host/resource' id='push-1236284643' to='testaccount@host/resource' type='set'
+><query xmlns='jabber:iq:roster'><item jid='sms.asterisk' subscription='none'/></query></iq>
<presence from='testaccount@host/resource' to='sms.host' type='subscribe'/>
The response is:
<iq type='error' to='testaccount@host/resource' from='testaccount@host/resource' id='push-123628464
+3'><query xmlns='jabber:iq:roster'><item jid='sms.host' subscription='none'/></query><error code='
+400' type='modify'><bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq><presenc
+e type='error' to='testaccount@host/resource' from='sms.host'><error code='400' type='modify'><bad
+-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence><iq type='error' to='test
+account@host/resource' from='testaccount@host/resource' id='push-1236284643'><query xmlns='jabber:
+iq:roster'><item jid='sms.host' subscription='from'/></query><error code='400' type='modify'><bad-
+request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
As some background, I am trying to write a transport that will integrate 2-way text messaging. The component connects, goes through discovery and registration without any issues. The bit above is me attempting to get presence information... which isn't working.
Any help appreciated.
Glennstar |