Finally, I've came to know how to make this working.
All the group_confirm variables have to be set as part of dial string and setting user_recurse_variables=false made it worked.
{user_recurse_variables=false,group_confirm_cancel_timeout=true,group_confirm_key=exec,group_confirm_file='perl /root/bridge.pl'}[leg_timeout=10]user/1006
user_recurse_variables=false isn't needed to be set when dialing the extension as sofia/internal/foo@bar.com. In this case, the variables could also be set by using set application not necessary to be part of dial string.
Thanks.
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/13347On 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?
-MCOn 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.execute-app-name: bridge
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-arg: {group_confirm_cancel_timeout=1}[leg_timeout=10]user/1005our $session;Kindly tell me whats wrong in the above.
freeswitch::consoleLog("info","Goint to get the digits");
# To simulate the scenario I used sleep here.
sleep(30);
1;
_______________________________________________
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
_______________________________________________
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