This line: ec1280b7 EXECUTE sofia/external/3246 socket(127.0.0.1:8084 <http://127.0.0.1:8084/> async full) Means the args in your dialplan are not what you think they are. Did you reloadxml after the change?
On Mar 12, 2019, at 5:39 PM, December Drift <decemberdrift@gmail.com> wrote:
Hi All,
On FS 1.8 on docker. Trying to make mod_event_socket work but seeing a wired problem.
My /etc/freeswitch/dialplan/default.xml has the following ip:port (172.20.0.4:8084 <http://172.20.0.4:8084/>). Then why would it be trying to reach 127.0.0.1 ? (see logs below)
<extension name="testext"> <condition field="destination_number" expression="^(\d+)$"> <action application="enable_heartbeat" data="60"/> <action application="socket" data="172.20.0.4:8084 <http://172.20.0.4:8084/> async full"/> <!-- <action application="bridge" data="sofia/gateway/callwithus-outbound/$1"/> --> </condition> </extension>
Logs / CLI output: ec1280b7 EXECUTE sofia/external/3246 socket(127.0.0.1:8084 <http://127.0.0.1:8084/> async full) ec1280b7 2019-03-12 06:20:11.438586 [NOTICE] mod_event_socket.c:447 Trying host: 127.0.0.1:8084 <http://127.0.0.1:8084/> ec1280b7 2019-03-12 06:20:11.438586 [ERR] mod_event_socket.c:481 Socket Error: Connection refused ec1280b7 2019-03-12 06:20:11.438586 [ERR] mod_event_socket.c:485 Socket Error!
Spent two days trying everything and looking at the docs and wiki but cant figure it out.