Hi,

I am running an expect script that is executedn from a call lua session.

 

The problem is that the responses come very slowly when run from within freeswitch.

It takes maybe 5 seconds to get each response to the expect script.

 

I am starting the expect script from lua_mod with os.execute.

I have also tried session:execute.

The behaviour is the same in both cases.

 

When running the expect script within a normal shell, it executes immediately without any delays.

 

What could be causing the very slow  responses to the expect script inside freeswitch ?

 

Mike