<div><div>I have to port some applications on Freeswitch so I'm doing some preliminary learning tests on Lua scripting.</div><div><br>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.</div>
<div><br></div><div>The script I'm running is simply: <a href="http://pastebin.freeswitch.org/15248">http://pastebin.freeswitch.org/15248</a></div><div><br></div><div>But its behaviour is not as I expect.<br></div><div>
<br></div><div>Stephen</div><div><br></div><div><br><div class="gmail_quote">On Fri, Feb 4, 2011 at 7:26 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div class="im">On Fri, Feb 4, 2011 at 10:19 AM, Stephen Wilde <span dir="ltr"><<a href="mailto:wstephen80@gmail.com" target="_blank">wstephen80@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok, 18x will be perfect!<div><br><div>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).</div>
<div><br></div><div>The originate returns when a 183 (ISDN = in band info available) or 200 (ISDN = CONNECT) is received.</div><div><br></div><font color="#888888"><div>Stephen</div></font><div><div></div><div>
<div> <br></div></div></div></div></blockquote></div><div>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. </div>
<div><br></div><div>What is the application that you are working on? Who calls whom, etc.</div><div>-MC</div><div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>