July 2017
Intermediate to advanced
434 pages
12h 59m
English
new($host, $port, $password)
Initializes a new instance of ESLconnection, connects to the host $host on the port $port, and supplies $password to FreeSWITCH.
Intended only for an event socket in "Inbound" mode. In other words, this is only intended for the purpose of creating a connection to FreeSWITCH that is not initially bound to any particular call or channel.
Does not initialize channel information (since inbound connections are not bound to a particular channel). In plain language, this means that calls to getInfo() will always return NULL:
new($fd)
Initializes a new instance of ESLconnection, using the existing file number contained in $fd.
Intended only for Event Socket Outbound connections. It will fail on Inbound connections, ...
Read now
Unlock full access