Sure Mike, 

I didnt double and tripple check. Let me try again with a fresh mind.

On Wed, Mar 13, 2019 at 5:02 PM Mike Jerris <mike@freeswitch.com> wrote:
make sure you are editing the right files in the right path because for sure the dialplan still has 127.0.0.1



On Wed, Mar 13, 2019 at 5:16 PM December Drift <decemberdrift@gmail.com> wrote:
Yes Mike, and killed and restarted FS aswell (multiple times)

Will provide more logs and dialplan lines.
On Wed, Mar 13, 2019 at 12:40 PM Mike Jerris <mike@freeswitch.org> wrote:
This line:

ec1280b7 EXECUTE sofia/external/3246 socket(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). 
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.


_________________________________________________________________________
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
_________________________________________________________________________
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
_________________________________________________________________________
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