I am adding to an SMS chat API a package to use a gateway to a foreign IM network thanks to an XMPP server. As a consequence, I am relying on JEP-0100 (http://www.jabber.org/jeps/jep-0100.html#usecases-jabber-register) to use the gatways.
I thought it must be simple since I only have to follow the steps… but I got a problem with the registering method.
Indeed, the method pass successfully the 8 fist steps and then stop because it never receives a packet from the gateway even if it sends it a <presence type=’‘subscribe’’/> packet… I cannot understand why the gateway never send a stanza but, what is worst, I do not know what to do to sort out this problem… Does some one have an idea or an example code on how registering with a gateway with Smack?
Thanks for your help,
PS: I use an ejabberd server with PyAIM-t and PyMSN-t.
I use valid AIM and MSN accounts and gateways where tested with Psi