-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EADDRNOTAVAIL #59
Comments
Hi @fdl333 Server is refusing to start because FreeSwitch is already using the port :) |
AH, ok ... but I dont understand: What I'm trying to do is write a node project that publishes freeswitch events to an MQTT broker... From what I see the client sends commands, but doesnt receive events ... |
In that case your best bet is to use Note that mod_mosquitto can also be used to forward events to MQTT if the only thing you want to do is forward the events. (Look for |
Thank you so much .. yes I already use the mod_mosquitto, but it has to be a two-way connection: I want to publish all (or selected) events to mtqq and also subscribe in order to receive commands to send to freeswitch.. I'm not sure what you mean by the reconnect() ... I dont see it as an available function in by the way, where in the world are you? I'm in Italy! |
I'm trying your code to listen to events on a FS server on my network..
Code is on my PC...
If I try to connect from my PC via Putty to the FS server (192.168.1.234 : 8021) I get:
Content-Type: auth/request
Which is fine..
from same PC, if I run nodejs project with :
server.listen(8021, '192.168.1.234');
I get :
Uncaught Error Error: listen EADDRNOTAVAIL: address not available 192.168.1.234:8021
I checked firewall, etc .. but cant resolve ...
The text was updated successfully, but these errors were encountered: