[Freeswitch-users] mod_even_socket incorrectly connecting to 127.0.0.1:8084

December Drift decemberdrift at gmail.com
Tue Mar 12 23:39:11 UTC 2019


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).
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 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 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.

Plz plz help.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190312/9c9e0cc1/attachment.html>


More information about the FreeSWITCH-users mailing list