[Freeswitch-users] outbound connection using node-esl socket error telnet output added
Chad Engler
Chad.Engler at patlive.com
Thu Nov 8 20:58:47 MSK 2012
Right, it looks like you did connect to the node application, but I
think Adam brought up a good point. 8022 is freeswitch's inbound port.
Try changing that port in your application and restarting both
freeswitch and your app to see if that helps.
-Chad
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Mumuney Abdlquadri
Sent: Thursday, November 08, 2012 9:55 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] outbound connection using node-esl
socket error telnet output added
Hi chad,
Output of telnet localhost 8022
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
connect
Connection closed by foreign host.
On my application side I got this error:
/home/abdlquadri/node_modules/modesl/lib/esl/connection.js:386
uuid = self.getInfo().getHeader('unique-id');
^
TypeError: Cannot call method 'getHeader' of null
at Connection.execute
(/home/abdlquadri/node_modules/modesl/lib/esl/connection.js:386:24)
at null.<anonymous>
(/home/abdlquadri/public_html/coWork_nodeServer/server.js:9:15)
at EventEmitter.emit
(/home/abdlquadri/node_modules/modesl/node_modules/eventemitter2/lib/eve
ntemitter2.js:313:21)
at Server._onConnection
(/home/abdlquadri/node_modules/modesl/lib/esl/server.js:46:10)
at Server.EventEmitter.emit (events.js:96:17)
at TCP.onconnection (net.js:1038:8)
I guess it connected that is why the application can crash. Probably
becuase telnet did not send an esl connection object.
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121108/23c5ae03/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list