You could also look at ESL.

-Steve



On 4 February 2011 19:30, Stephen Wilde <wstephen80@gmail.com> wrote:
I have to port some applications on Freeswitch so I'm doing some preliminary learning tests on Lua scripting.

The result that I would obtain is to have the full control of both inbound and originated session and to have under control their state.

The script I'm running is simply: http://pastebin.freeswitch.org/15248

But its behaviour is not as I expect.

Stephen


On Fri, Feb 4, 2011 at 7:26 PM, Michael Collins <msc@freeswitch.org> wrote:


On Fri, Feb 4, 2011 at 10:19 AM, Stephen Wilde <wstephen80@gmail.com> wrote:
Ok, 18x will be perfect!

The problem is that when the inbound call is SIP and the originated is ISDN, the originate doesn't return when a 180 ringing is received (that in ISDN is an ALERT without in band info).

The originate returns when a 183 (ISDN = in band info available) or 200 (ISDN = CONNECT) is received.

Stephen
 
Could you tell us a bit more about what you're trying to accomplish? My guess is that there's a better way to do it. In most cases it is not necessary to create a new session inside of a script called from the dialplan. 

What is the application that you are working on? Who calls whom, etc.
-MC




_______________________________________________
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
http://www.freeswitch.org