Questions tagged [jaxl]

Jaxl is an asynchronous, non-blocking I/O, event based PHP library for writing custom TCP/IP client and server implementations.

17 questions
5
votes
0 answers

how to get group chat history from xmpp server php

I need to get group chat history from Openfire with JAXL library. I am using JAXL library for open fire connection and chat purpose, but it doesn't get me the group chat history, when user is login at a time other user send message than that…
user7424739
4
votes
1 answer

Openfire http prebinding with JAXL

I am trying to implement converse.js in my project to use Openfire chat and am prebinding the user using JAXL. Its working fine on my cloud(VPS) server. when am try to publish the same code on my client server its not working. and getting the same…
2
votes
0 answers

How to parse JAXLxml stanza in PHP?

Sir,I am trying to make chat app using firebase cloud messaging and stuck at parsing respone from XMPP server.Here Is the response I am getting: jabber:clientXMPPStanza Object ( [xml:XMPPStanza:private] => JAXLXml Object ( [name] => message [ns] =>…
Shivam Bhusri
  • 1,111
  • 9
  • 12
2
votes
3 answers

Upstream message to server app

I have successfuly send data from php server page to android client with JAXL.. I have read carefully the guide of Google Cloud Message Offical website.. For Upstream there is only these documents: public void onClick(final View view) { if (view…
Ucdemir
  • 2,852
  • 2
  • 26
  • 44
2
votes
2 answers

Cannot Read GCM server response using JAXL php library

I can connect to the server but cannot read the acknowledgements messages sent by the gcm server. I want to know how to retrieve the XML sent by gcm server. Here is my code :
Anupam
  • 85
  • 6
2
votes
0 answers

Php example using XMPPPHp or JAXL to connect Google Cloud connection server

I am trying to make CCS server for the google cloud downstream and upstream messaging. I made a server using Java, it was working well before I wanted to shift it to php for my convenience. I found out two library which is XMPPPHP and JAXL for XMPP…
Saty
  • 2,563
  • 3
  • 37
  • 88
1
vote
0 answers

Connecting to Prosody via JAXL: "This server does not serve username"

I have my own prosody server setup and can connect to it via a windows XMPP client. The server has two accounts on it, and I can connect as both of them and exchange messages between them (I am using the built-in client in Mozilla Thunderbird). I…
uncovery
  • 794
  • 5
  • 19
1
vote
0 answers

JAXL issue with Openfire

Hello XMPP/JAXL experts, I'm trying to set up prebind with JAXL in the following environment: CentOS 6.x - PHP 5.3.3 Openfire 4.0.3 (BOSH server activated) Jaxl 3.0.1 Converse.js Without prebindind (and without jaxl) everything seems to run…
giulio_l
  • 23
  • 2
1
vote
0 answers

on_presence_stanza callback for XMPP directed presence in JAXL

I have coded an XMPP client in PHP using JAXL (along the lines of the included echobot example). The client also implements XEP-0045 (MUC) and I can join groupchats without issue. The problem is that the registered callback for presence messages…
Mark
  • 11
  • 4
1
vote
1 answer

How to send a XMPP IQ Package to a PHP JAXL-Script?

ive a problem. Im using asmack for connecting and sending Data between Android and OpenFire. Now i'ld like to get this data with PHP and Jaxl (which is working fine). The problem is that i modify the sent message (to JSON and XML) and add a HEADER…
Emanuel
  • 8,027
  • 2
  • 37
  • 56
1
vote
1 answer

How to IQ Query Action Protocol XMPP with JAXL PHP library

I want to send an iq query to xmpp and need a result that response from XMPP. For example: Howerver i find all documents in…
Phong Pham
  • 63
  • 1
  • 5
1
vote
1 answer

not able to connect using jaxl xmpp framework

i am trying to connect with openfire server using JAXL XMPP Library for PHP but i am falling into infinite loop, i have used strophe i am able to connect using that but not in PHP here is my code $client = new JAXL(array( 'jid' =>…
Hunt
  • 8,215
  • 28
  • 116
  • 256
0
votes
1 answer

How to send extra parameters in jaxl xmpp ejabberd?

I want to send some extra parameters to xmpp server. but not getting those extra parameters in msg. using https://github.com/jaxl/JAXL , https://www.ejabberd.im/ I'm trying with this method which is inside jaxl.php. public function…
0
votes
1 answer

GCM how to implement the server side for upstream using Jaxl

I successfully sent notification from my app server(localhost) to my android phone. I have been reading and trying different things to implement the server side code so i can implement upstream messages using google cloud messaging. I have looked at…
Pc hobbit
  • 96
  • 1
  • 11
0
votes
1 answer

php function that sends message to XMPP server give no log and doesn't work

Im working on getting a webpage where users input a text in a form and click submit. From there it validates the input and sends it to a php function that uses JAXL 3.0 library to send the message to my XMPP server. My problem is that when I call…
Frederik
  • 57
  • 6
1
2