Hi,

Try without docker first. And provide more log and dialplan lines.

Regards,

Alex

Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex@freeswitch.com Website: https://www.signalwire.com



On Wed, Mar 13, 2019 at 10:24 AM 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). 
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
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
_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com