<div class="gmail_quote">2008/12/9 Ivan C Myrvold <span dir="ltr">&lt;<a href="mailto:ivan@myrvold.org">ivan@myrvold.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">Did you read carefully when asked to provide login and password? 
<div>The login and password is there, don&#39;t use your own freeswitch login.</div>
<div><br></div>
<div>Ivan</div>
<div><br>
<div>
<div>Den 9. des.. 2008 kl. 10:27 skrev Joe Bain:</div>
<div>
<div></div>
<div class="Wj3C7c"><br>
<blockquote type="cite">
<div class="gmail_quote">On Mon, Dec 8, 2008 at 8:57 AM, Joe Bain &lt;<a href="mailto:mrjoebain@gmail.com" target="_blank">mrjoebain@gmail.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I&#39;m writing an IVR in Lua and am having problems dealing with hangups<br>
&gt; cleanly. Very often session:ready() reports true long after I have hung up<br>&gt; and the hangup hook function I have set doesn&#39;t get called either. It seems<br>&gt; to report that the session is active indefinitely in some cases where a loop<br>
&gt; keeps trying to get some dtmf key presses. Is there any trick to using<br>&gt; session:ready() or the hangup hook that I might have missed?<br>&gt;<br>&gt; On a slightly related point I can&#39;t seem to access the session properties,<br>
&gt; e.g. session.caller_id_num has a value of nil. Any thoughts here?<br>&gt;<br>&gt; Thanks in advance,<br>&gt;<br>&gt; Joe Bain<br>&gt; _______________________________________________<br>&gt; Freeswitch-users mailing list<br>
&gt; <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>&gt;<br><br>_______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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>
</div>
<div class="gmail_quote">2008/12/8 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Joe,<br><br>A few questions... what svn rev are you running? Which operating<br>system? Finally, is it possible for you to put your dialplan and Lua<br>
script up at <a href="http://pastebin.freeswitch.org/" target="_blank">pastebin.freeswitch.org</a>?<br><br>Thanks,<br>MC<br></blockquote>
<div>Hi,</div>
<div>&nbsp;</div>
<div>I&#39;m running &quot;FreeSWITCH Version 1.0.trunk (10175M)&quot; on Windows. I can post the dialplan and lua script though at the moment I can&#39;t seem to log in to the pastebin, I just became a member on the freeswitch homepage but the pass/username isn&#39;t being accepted.</div>

<div>&nbsp;</div>
<div>Joe</div></div>_______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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></blockquote></div></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>
<div><br>Ah, I should have read more carefully!</div>
<div>&nbsp;</div>
<div>The dialplan is <a href="http://pastebin.freeswitch.org/6372">here</a> and the two important lua scripts are <a href="http://pastebin.freeswitch.org/6371">here</a> and <a href="http://pastebin.freeswitch.org/6370">here</a>, the first calls the second. I didn&#39;t include all the Lua script as the problem appears right at the start (as well as throughout) if the user hangs up when the IVR is speaking (asking for an id number) then it seems to never get a hangup and loops trying to get the id number.</div>

<div>&nbsp;</div>
<div>Joe</div>