<div>This is not at all the same.</div><div><br></div>in your script you have to do one of the following:<div><br></div><div>if they dialed the right digits answer the channel, if not hangup the channel.</div><div>you are doing neither and originate is hanging up for you because you did not answer the channel.</div>
<div><br></div><div>Can we be done with this thread now? it&#39;s trying my patience.</div><div><br></div><div><br><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 12:47 AM, Nagalenoj H. <span dir="ltr">&lt;<a href="mailto:nagalenoj@gmail.com">nagalenoj@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">After git pull, the behavior remains the same.<br><br>When I check the console log, the leg has got disconnected after leg_timeout seconds but the session for the leg has got closed after the script exists. <br>
<br>2010-07-07 05:27:39.156085 [INFO] mod_dialplan_xml.c:331 Processing 1005-&gt;212 in context default<br>
2010-07-07 05:27:39.194359 [NOTICE] mod_dptools.c:746 Channel [sofia/internal/<a href="mailto:1005@192.168.1.72" target="_blank">1005@192.168.1.72</a>] has been answered<br>2010-07-07 05:27:42.708162 [NOTICE] sofia.c:4875 Channel [sofia/internal/<a href="mailto:sip%3A1000@192.168.6.114" target="_blank">sip:1000@192.168.6.114</a>] has been answered<br>

2010-07-07 05:27:49.020053 [INFO] mod_dptools.c:2393 Originate Failed.  Cause: NO_ANSWER<br>2010-07-07 05:28:12.761902 [NOTICE] switch_core_session.c:1193 Session 6 (sofia/internal/<a href="mailto:sip%3A1000@192.168.6.114" target="_blank">sip:1000@192.168.6.114</a>) Ended<br>

2010-07-07 05:28:12.761902 [NOTICE] switch_core_session.c:1195 Close Channel sofia/internal/<a href="mailto:sip%3A1000@192.168.6.114" target="_blank">sip:1000@192.168.6.114</a> [CS_DESTROY]<br><br>Here is the console log,<br>
<a href="http://pastebin.freeswitch.org/13395" target="_blank">http://pastebin.freeswitch.org/13395</a><div><div></div><div class="h5"><br>
<br><div class="gmail_quote">On Tue, Jul 6, 2010 at 8:56 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

try latest GIT, that was an edge case and it&#39;s fixed.<div><div></div><div><div><br><br><div class="gmail_quote">On Tue, Jul 6, 2010 at 1:58 AM, Nagalenoj H. <span dir="ltr">&lt;<a href="mailto:nagalenoj@gmail.com" target="_blank">nagalenoj@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Got core dump when I execute the bridge as<br>execute-app-arg: {user_recurse_variables=false,group_confirm_cancel_timeout=true}[leg_timeout=10]user/1000<br>


<br>Console log is here,<br><a href="http://pastebin.freeswitch.org/13371" target="_blank">http://pastebin.freeswitch.org/13371</a><br>
<br>core dump backtrace is here,<br><a href="http://pastebin.freeswitch.org/13372" target="_blank">http://pastebin.freeswitch.org/13372</a><br><br>Also, tried after git pull, but the result is same.<div><div></div><div>
<br><br><div class="gmail_quote">On Mon, Jul 5, 2010 at 8:53 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">you also need user_recurse_variables=false<div><br></div><div>{user_recurse_variables=false,group_confirm_cancel_timeout=true}</div>



<div><div></div><div><div><br></div><div><br><br><div class="gmail_quote">On Sat, Jul 3, 2010 at 8:22 AM, Nagalenoj H. <span dir="ltr">&lt;<a href="mailto:nagalenoj@gmail.com" target="_blank">nagalenoj@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Here is the log got from the latest GIT source.<br><br><a href="http://pastebin.freeswitch.org/13347" target="_blank">http://pastebin.freeswitch.org/13347</a><div>




<div></div><div><br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 10:15 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
update and reproduce that same log with latest GIT the version you are using has an issue.<div><div><div></div><div><br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 12:25 AM, Nagalenoj H. <span dir="ltr">&lt;<a href="mailto:nagalenoj@gmail.com" target="_blank">nagalenoj@gmail.com</a>&gt;</span> wrote:<br>







<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">I&#39;ve pasted the console log here,<br><br><a href="http://pastebin.freeswitch.org/13333" target="_blank">http://pastebin.freeswitch.org/13333</a><br>







<br><br><div class="gmail_quote"><div><div></div><div>On Wed, Jun 30, 2010 at 11:15 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br>








</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div>Can you supply a console log of these calls?<br><font color="#888888">-MC</font><div>







<div></div>
<div><br><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 7:37 AM, Nagalenoj H. <span dir="ltr">&lt;<a href="mailto:nagalenoj@gmail.com" target="_blank">nagalenoj@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Dear Anthony,<br>    I&#39;ve tried using the group_confirm_cancel_timeout as per the discussion we had in IRC. You wanted to used it as part of dial string and not as a channel variable.<br>









    But, It doesn&#39;t work for me.<br>
<br>Here is how I&#39;ve given the commands and the script I&#39;ve executed. Even when I give group_confirm_cancel_timeout, the callee&#39;s leg is getting disconnected after legtimeout.<div><br><br>connect <br>
<br>sendmsg<br>
call-command: execute<br>execute-app-name:answer<br><br>sendmsg<br>call-command: execute<br>execute-app-name: set<br>execute-app-arg: group_confirm_key=exec<br><br>sendmsg<br>call-command: execute<br>execute-app-name: set<br>










execute-app-arg: group_confirm_file=perl /root/<a href="http://bridge.pl" target="_blank">bridge.pl</a><br><br>sendmsg<br>call-command: execute<br></div>execute-app-name: bridge<br>execute-app-arg: {group_confirm_cancel_timeout=1}[leg_timeout=10]user/1005<div>









<br>
<br><br><a href="http://bridge.pl" target="_blank">bridge.pl</a>:<br>#!/usr/bin/perl<br>use freeswitch;<br><br></div><div>our $session;<br>freeswitch::consoleLog(&quot;info&quot;,&quot;Goint to get the digits&quot;);<br>









# To simulate the scenario I used sleep here.<br>
sleep(30);<br>1;<br><br></div>Kindly tell me whats wrong in the above.<div><div></div><div><br></div></div></blockquote></div><br>
</div></div><br></div></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>
<br></div></blockquote></div><br><br>-- <br>Regards,<br><font color="#888888">Nagalenoj H.<br>
</font><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><br clear="all"><br>-- <br></div></div><div>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>







Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>






GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>






<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<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>-- <br>Regards,<br>Nagalenoj H.<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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>




Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>



GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>



<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>
</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>-- <br>Regards,<br>Nagalenoj H.<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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>


Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>

GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>

<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>
</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>-- <br>Regards,<br>Nagalenoj H.<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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>