This is not at all the same.

in your script you have to do one of the following:

if they dialed the right digits answer the channel, if not hangup the channel.
you are doing neither and originate is hanging up for you because you did not answer the channel.

Can we be done with this thread now? it's trying my patience.



On Wed, Jul 7, 2010 at 12:47 AM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
After git pull, the behavior remains the same.

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.

2010-07-07 05:27:39.156085 [INFO] mod_dialplan_xml.c:331 Processing 1005->212 in context default
2010-07-07 05:27:39.194359 [NOTICE] mod_dptools.c:746 Channel [sofia/internal/1005@192.168.1.72] has been answered
2010-07-07 05:27:42.708162 [NOTICE] sofia.c:4875 Channel [sofia/internal/sip:1000@192.168.6.114] has been answered
2010-07-07 05:27:49.020053 [INFO] mod_dptools.c:2393 Originate Failed.  Cause: NO_ANSWER
2010-07-07 05:28:12.761902 [NOTICE] switch_core_session.c:1193 Session 6 (sofia/internal/sip:1000@192.168.6.114) Ended
2010-07-07 05:28:12.761902 [NOTICE] switch_core_session.c:1195 Close Channel sofia/internal/sip:1000@192.168.6.114 [CS_DESTROY]

Here is the console log,
http://pastebin.freeswitch.org/13395


On Tue, Jul 6, 2010 at 8:56 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
try latest GIT, that was an edge case and it's fixed.


On Tue, Jul 6, 2010 at 1:58 AM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
Got core dump when I execute the bridge as
execute-app-arg: {user_recurse_variables=false,group_confirm_cancel_timeout=true}[leg_timeout=10]user/1000

Console log is here,
http://pastebin.freeswitch.org/13371

core dump backtrace is here,
http://pastebin.freeswitch.org/13372

Also, tried after git pull, but the result is same.


On Mon, Jul 5, 2010 at 8:53 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
you also need user_recurse_variables=false

{user_recurse_variables=false,group_confirm_cancel_timeout=true}



On Sat, Jul 3, 2010 at 8:22 AM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
Here is the log got from the latest GIT source.

http://pastebin.freeswitch.org/13347


On Fri, Jul 2, 2010 at 10:15 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
update and reproduce that same log with latest GIT the version you are using has an issue.


On Fri, Jul 2, 2010 at 12:25 AM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
I've pasted the console log here,

http://pastebin.freeswitch.org/13333


On Wed, Jun 30, 2010 at 11:15 PM, Michael Collins <msc@freeswitch.org> wrote:
Can you supply a console log of these calls?
-MC


On Wed, Jun 30, 2010 at 7:37 AM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
Dear Anthony,
    I'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.
    But, It doesn't work for me.

Here is how I've given the commands and the script I've executed. Even when I give group_confirm_cancel_timeout, the callee's leg is getting disconnected after legtimeout.


connect

sendmsg
call-command: execute
execute-app-name:answer

sendmsg
call-command: execute
execute-app-name: set
execute-app-arg: group_confirm_key=exec

sendmsg
call-command: execute
execute-app-name: set
execute-app-arg: group_confirm_file=perl /root/bridge.pl

sendmsg
call-command: execute
execute-app-name: bridge
execute-app-arg: {group_confirm_cancel_timeout=1}[leg_timeout=10]user/1005



bridge.pl:
#!/usr/bin/perl
use freeswitch;

our $session;
freeswitch::consoleLog("info","Goint to get the digits");
# To simulate the scenario I used sleep here.
sleep(30);
1;

Kindly tell me whats wrong in the above.





--
Regards,
Nagalenoj H.

_______________________________________________
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




--

_______________________________________________
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


--
Regards,
Nagalenoj H.

_______________________________________________
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900

_______________________________________________
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


--
Regards,
Nagalenoj H.

_______________________________________________
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900

_______________________________________________
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


--
Regards,
Nagalenoj H.

_______________________________________________
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




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900