<div>Hi Michael</div>
<div> </div>
<div>resolved i think lol lol</div>
<div> </div>
<div>2010-02-11 13:02:12.566609 [NOTICE] sofia.c:322 Hangup <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>2010-02-11 13:02:12.566609 [DEBUG] switch_channel.c:1683 Send signal <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> [KILL]<br>
2010-02-11 13:02:12.566609 [DEBUG] switch_core_session.c:932 Send signal <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> [BREAK]<br>2010-02-11 13:02:12.572884 [DEBUG] switch_ivr_play_say.c:1391 done playing file<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:490 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State EXECUTE going to sleep<br>2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:397 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) Running State Change CS_HANGUP<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:433 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State HANGUP<br>2010-02-11 13:02:12.572884 [DEBUG] mod_sofia.c:338 Channel <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> hanging up, cause: NORMAL_CLEARING<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:46 <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> Standard HANGUP, cause: NORMAL_CLEARING<br>2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:433 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State HANGUP going to sleep<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:475 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State Change CS_HANGUP -> CS_REPORTING<br>2010-02-11 13:02:12.572884 [DEBUG] switch_core_session.c:932 Send signal <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> [BREAK]<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:397 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) Running State Change CS_REPORTING<br>2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:607 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State REPORTING<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:53 <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> Standard REPORTING, cause: NORMAL_CLEARING<br>2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:607 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State REPORTING going to sleep<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:410 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State Change CS_REPORTING -> CS_DESTROY<br>2010-02-11 13:02:12.572884 [DEBUG] switch_core_session.c:1066 Session 55 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) Locked, Waiting on external entities<br>
2010-02-11 13:02:12.572884 [NOTICE] switch_core_session.c:1084 Session 55 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) Ended<br>2010-02-11 13:02:12.572884 [NOTICE] switch_core_session.c:1086 Close Channel <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> [CS_DESTROY]<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:559 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State DESTROY<br>2010-02-11 13:02:12.572884 [DEBUG] mod_sofia.c:255 <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> SOFIA DESTROY<br>
2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:60 <a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a> Standard DESTROY<br>2010-02-11 13:02:12.572884 [DEBUG] switch_core_state_machine.c:559 (<a href="mailto:sofia/internal/eder@ip" target="_blank">sofia/internal/eder@ip</a>) State DESTROY going to sleep<br>
<br></div>
<div>im note this error when i transfer my calls to hold_music (MOH) extension!! </div>
<div> </div>
<div>when set "answer" the call drop after 30 seconds removing the flag "answer" my transfer dont die see:</div>
<div> </div>
<div>in my lua script i remove "session:answer();"<br></div>
<div>here</div>
<div> </div>
<div>--session:answer(); --"""comented line work now""<br>session:setAutoHangup(false)<br>digito = "hua"<br>digito = session:playAndGetDigits(1, 1, 1, 10000, "#", "/usr/local/freeswitch/sounds/en/us/callie/conference/8000/conf-pin.wav", "", "<a>\\d</a>+");<br>
freeswitch.consoleLog("info", "Got dtmf: ".. digito .."\n");<br> end<br> if (digito == "5") then<br> freeswitch.consoleLog("info", "tecla digitada: ".. digito .."\n");<br>
session:execute("transfer","9000");<br><br>.</div>
<div>.</div>
<div>.</div>
<div> </div>
<div> </div>
<div>in my /freeswitch/conf/dialplan/default.xml i remove "<action application="answer"/>" see line for answer coment </div>
<div> </div>
<div><extension name="teste_eder"><br> <condition field="destination_number" expression="^9000$"><br> <!-- <action application="answer"/> """"comented line work now"""--><br>
<action application="playback" data="$${hold_music}"/><br> </condition><br> </extension><br><br></div>
<div> </div>
<div> </div>
<div> </div>
<div>Att,</div>
<div> </div>
<div> </div>
<div>Eng Eder de Souza</div>
<div> </div>
<div class="gmail_quote">On Thu, Feb 11, 2010 at 2:03 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Thu, Feb 11, 2010 at 7:24 AM, Eder Souza <span dir="ltr"><<a href="mailto:ederwander@gmail.com" target="_blank">ederwander@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hi list</div>
<div> </div>
<div>im testing the script welcome.lua from <a href="http://wiki.freeswitch.org/wiki/Lua_Welcome_IVR_Example" target="_blank">http://wiki.freeswitch.org/wiki/Lua_Welcome_IVR_Example</a></div>
<div> </div>
<div>but when do a transfer my call drop in 30 seconds just in script lua!!</div>
<div> </div>
<div>callig one ramal (ex: 12345) direct in x-lite the call works !!</div>
<div> </div>
<div>When make a session:execute("transfer","12345") in the script lua the call drop after 30 seconds!!</div>
<div> </div>
<div> </div>
<div>why ??</div>
<div> </div></blockquote></div></div>
<div>What does the FS console debug log say right before the disconnect?<br>-MC<br><br></div></div><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><br></blockquote></div><br>