Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] leg_timeout


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
pjintheusa at gmail.com
Guest





PostPosted: Tue Jul 14, 2009 10:38 am    Post subject: [Freeswitch-users] leg_timeout Reply with quote

Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.
 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.
 
Any help or suggestions would be welcome.
 
Phillip Jones
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Jul 14, 2009 11:17 am    Post subject: [Freeswitch-users] leg_timeout Reply with quote

On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.

Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.

What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.


Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
pjintheusa at gmail.com
Guest





PostPosted: Tue Jul 14, 2009 12:04 pm    Post subject: [Freeswitch-users] leg_timeout Reply with quote

Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 
I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 


 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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

Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Jul 14, 2009 12:29 pm    Post subject: [Freeswitch-users] leg_timeout Reply with quote

update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works

On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Jul 14, 2009 12:40 pm    Post subject: [Freeswitch-users] leg_timeout Reply with quote

FYI,
This has been added to the wiki:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout

-MC

On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works


On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
pjintheusa at gmail.com
Guest





PostPosted: Tue Jul 14, 2009 1:15 pm    Post subject: [Freeswitch-users] leg_timeout Reply with quote

Thanks for your response.
 
That does not seem to work. Here is my code:
 
if(Session.Ready())
{
     Session.Execute("set", "ignore_early_media=true");
     Session.Execute("set", "hangup_after_bridge=true");
     Session.Execute("set", "ringback=${us-ring}");

    Session.Answer();
    string Caller_ID_Number = this.Session.GetVariable("caller_id_number");
    Session.Execute("set", "group_confirm_key=exec");
    Session.Execute("set", "group_confirm_cancel_timeout=true");
    Session.Execute("set", "group_confirm_file=javascript confirm.js");
    Session.Execute("bridge", "[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828");
}
Session.Hangup("USER_BUSY");
 
I also tried group_confirm_cancel_leg_timeout just in case.
 
Am I missing something?
 


 
On Tue, Jul 14, 2009 at 1:37 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
FYI,
This has been added to the wiki:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout

-MC


On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works


On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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

Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Jul 14, 2009 1:22 pm    Post subject: [Freeswitch-users] leg_timeout Reply with quote

Can you capture a debug output and put it in pastebin? That will help us track it down.
-MC

On Tue, Jul 14, 2009 at 11:14 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Thanks for your response.
 
That does not seem to work. Here is my code:
 
if(Session.Ready())
{
     Session.Execute("set", "ignore_early_media=true");
     Session.Execute("set", "hangup_after_bridge=true");
     Session.Execute("set", "ringback=${us-ring}");

    Session.Answer();
    string Caller_ID_Number = this.Session.GetVariable("caller_id_number");
    Session.Execute("set", "group_confirm_key=exec");

    Session.Execute("set", "group_confirm_cancel_timeout=true");
    Session.Execute("set", "group_confirm_file=javascript confirm.js");

    Session.Execute("bridge", "[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828");
}
Session.Hangup("USER_BUSY");
 
I also tried group_confirm_cancel_leg_timeout just in case.
 
Am I missing something?

 


 
On Tue, Jul 14, 2009 at 1:37 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
FYI,
This has been added to the wiki:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout

-MC


On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works


On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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

Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Jul 14, 2009 1:29 pm    Post subject: [Freeswitch-users] leg_timeout Reply with quote

You actually updated your code and recompiled it all too?
This param was added about 30 seconds before I sent you the email.


On Tue, Jul 14, 2009 at 1:14 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Thanks for your response.
 
That does not seem to work. Here is my code:
 
if(Session.Ready())
{
     Session.Execute("set", "ignore_early_media=true");
     Session.Execute("set", "hangup_after_bridge=true");
     Session.Execute("set", "ringback=${us-ring}");

    Session.Answer();
    string Caller_ID_Number = this.Session.GetVariable("caller_id_number");
    Session.Execute("set", "group_confirm_key=exec");

    Session.Execute("set", "group_confirm_cancel_timeout=true");
    Session.Execute("set", "group_confirm_file=javascript confirm.js");

    Session.Execute("bridge", "[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828");
}
Session.Hangup("USER_BUSY");
 
I also tried group_confirm_cancel_leg_timeout just in case.
 
Am I missing something?

 


 
On Tue, Jul 14, 2009 at 1:37 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
FYI,
This has been added to the wiki:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout

-MC


On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works


On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
pjintheusa at gmail.com
Guest





PostPosted: Tue Jul 14, 2009 1:44 pm    Post subject: [Freeswitch-users] leg_timeout Reply with quote

Ah - SVN Trunk - thought you meant DID trunk!!! My bad.

Sorry - understand now! Will recompile and let you know.

On Tue, Jul 14, 2009 at 2:27 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
You actually updated your code and recompiled it all too?
This param was added about 30 seconds before I sent you the email.



On Tue, Jul 14, 2009 at 1:14 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Thanks for your response.
 
That does not seem to work. Here is my code:
 
if(Session.Ready())
{
     Session.Execute("set", "ignore_early_media=true");
     Session.Execute("set", "hangup_after_bridge=true");
     Session.Execute("set", "ringback=${us-ring}");

    Session.Answer();
    string Caller_ID_Number = this.Session.GetVariable("caller_id_number");
    Session.Execute("set", "group_confirm_key=exec");

    Session.Execute("set", "group_confirm_cancel_timeout=true");
    Session.Execute("set", "group_confirm_file=javascript confirm.js");

    Session.Execute("bridge", "[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828");
}
Session.Hangup("USER_BUSY");
 
I also tried group_confirm_cancel_leg_timeout just in case.
 
Am I missing something?

 


 
On Tue, Jul 14, 2009 at 1:37 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
FYI,
This has been added to the wiki:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout

-MC


On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works


On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
pjintheusa at gmail.com
Guest





PostPosted: Tue Jul 14, 2009 5:24 pm    Post subject: [Freeswitch-users] leg_timeout Reply with quote

Hi there,

I downloaded the latest trunk, compiled and updated. Still no joy I am afraid.

This is the log file in pastebin - http://pastebin.freeswitch.org/9712

Code in my managed DLL is at: http://pastebin.freeswitch.org/9715

Dialplan binds to above:

      <action application="managed" data="MyFSProjects.InboundCall"/>



confirm.js is at: http://pastebin.freeswitch.org/9713


Thanks again for your help on this.




On Tue, Jul 14, 2009 at 2:35 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Ah - SVN Trunk - thought you meant DID trunk!!! My bad.

Sorry - understand now! Will recompile and let you know.


On Tue, Jul 14, 2009 at 2:27 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
You actually updated your code and recompiled it all too?
This param was added about 30 seconds before I sent you the email.



On Tue, Jul 14, 2009 at 1:14 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Thanks for your response.
 
That does not seem to work. Here is my code:
 
if(Session.Ready())
{
     Session.Execute("set", "ignore_early_media=true");
     Session.Execute("set", "hangup_after_bridge=true");
     Session.Execute("set", "ringback=${us-ring}");

    Session.Answer();
    string Caller_ID_Number = this.Session.GetVariable("caller_id_number");
    Session.Execute("set", "group_confirm_key=exec");

    Session.Execute("set", "group_confirm_cancel_timeout=true");
    Session.Execute("set", "group_confirm_file=javascript confirm.js");

    Session.Execute("bridge", "[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828");
}
Session.Hangup("USER_BUSY");
 
I also tried group_confirm_cancel_leg_timeout just in case.
 
Am I missing something?

 


 
On Tue, Jul 14, 2009 at 1:37 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
FYI,
This has been added to the wiki:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout

-MC


On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works


On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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





Back to top
pjintheusa at gmail.com
Guest





PostPosted: Wed Jul 15, 2009 9:39 am    Post subject: [Freeswitch-users] leg_timeout Reply with quote

Hey Guys,

I took a look at the source that Anthony updated. I see this:

} else if (!strcasecmp((char *) hi->name, "group_confirm_file")) {
ok = 1;
} else if (!strcasecmp((char *) hi->name, "group_confirm_clear_timeout")) {
ok = 1;
 } else if (!strcasecmp((char *) hi->name, "forked_dial")) {

and:

if (switch_true(switch_event_get_header(var_event, "group_confirm_cancel_timeout"))) {
        oglobals.cancel_timeout = -1;
    }

I updated the group_confirm_clear_timeout to group_confirm_cancel_timeout and recompiled and this is now working just great.

Thanks very much for incorporating this. It is much appreciated.


Phillip Jones



On Tue, Jul 14, 2009 at 6:22 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,

I downloaded the latest trunk, compiled and updated. Still no joy I am afraid.

This is the log file in pastebin - http://pastebin.freeswitch.org/9712

Code in my managed DLL is at: http://pastebin.freeswitch.org/9715

Dialplan binds to above:

      <action application="managed" data="MyFSProjects.InboundCall"/>



confirm.js is at: http://pastebin.freeswitch.org/9713


Thanks again for your help on this.





On Tue, Jul 14, 2009 at 2:35 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Ah - SVN Trunk - thought you meant DID trunk!!! My bad.

Sorry - understand now! Will recompile and let you know.


On Tue, Jul 14, 2009 at 2:27 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
You actually updated your code and recompiled it all too?
This param was added about 30 seconds before I sent you the email.



On Tue, Jul 14, 2009 at 1:14 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Thanks for your response.
 
That does not seem to work. Here is my code:
 
if(Session.Ready())
{
     Session.Execute("set", "ignore_early_media=true");
     Session.Execute("set", "hangup_after_bridge=true");
     Session.Execute("set", "ringback=${us-ring}");

    Session.Answer();
    string Caller_ID_Number = this.Session.GetVariable("caller_id_number");
    Session.Execute("set", "group_confirm_key=exec");

    Session.Execute("set", "group_confirm_cancel_timeout=true");
    Session.Execute("set", "group_confirm_file=javascript confirm.js");

    Session.Execute("bridge", "[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828");
}
Session.Hangup("USER_BUSY");
 
I also tried group_confirm_cancel_leg_timeout just in case.
 
Am I missing something?

 


 
On Tue, Jul 14, 2009 at 1:37 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
FYI,
This has been added to the wiki:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout

-MC


On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works


On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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









Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Jul 15, 2009 10:27 am    Post subject: [Freeswitch-users] leg_timeout Reply with quote

doh,
i'm slipping.
fixed in tree


On Wed, Jul 15, 2009 at 9:38 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hey Guys,

I took a look at the source that Anthony updated. I see this:

} else if (!strcasecmp((char *) hi->name, "group_confirm_file")) {
ok = 1;
} else if (!strcasecmp((char *) hi->name, "group_confirm_clear_timeout")) {
ok = 1;
 } else if (!strcasecmp((char *) hi->name, "forked_dial")) {

and:

if (switch_true(switch_event_get_header(var_event, "group_confirm_cancel_timeout"))) {
        oglobals.cancel_timeout = -1;
    }

I updated the group_confirm_clear_timeout to group_confirm_cancel_timeout and recompiled and this is now working just great.

Thanks very much for incorporating this. It is much appreciated.


Phillip Jones




On Tue, Jul 14, 2009 at 6:22 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,

I downloaded the latest trunk, compiled and updated. Still no joy I am afraid.

This is the log file in pastebin - http://pastebin.freeswitch.org/9712

Code in my managed DLL is at: http://pastebin.freeswitch.org/9715

Dialplan binds to above:

      <action application="managed" data="MyFSProjects.InboundCall"/>



confirm.js is at: http://pastebin.freeswitch.org/9713


Thanks again for your help on this.





On Tue, Jul 14, 2009 at 2:35 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Ah - SVN Trunk - thought you meant DID trunk!!! My bad.

Sorry - understand now! Will recompile and let you know.


On Tue, Jul 14, 2009 at 2:27 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
You actually updated your code and recompiled it all too?
This param was added about 30 seconds before I sent you the email.



On Tue, Jul 14, 2009 at 1:14 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Thanks for your response.
 
That does not seem to work. Here is my code:
 
if(Session.Ready())
{
     Session.Execute("set", "ignore_early_media=true");
     Session.Execute("set", "hangup_after_bridge=true");
     Session.Execute("set", "ringback=${us-ring}");

    Session.Answer();
    string Caller_ID_Number = this.Session.GetVariable("caller_id_number");
    Session.Execute("set", "group_confirm_key=exec");

    Session.Execute("set", "group_confirm_cancel_timeout=true");
    Session.Execute("set", "group_confirm_file=javascript confirm.js");

    Session.Execute("bridge", "[leg_timeout=20,leg_confirm=y]sofia/gateway/broadvox/6095553828");
}
Session.Hangup("USER_BUSY");
 
I also tried group_confirm_cancel_leg_timeout just in case.
 
Am I missing something?

 


 
On Tue, Jul 14, 2009 at 1:37 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:
FYI,
This has been added to the wiki:
http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_cancel_timeout

-MC


On Tue, Jul 14, 2009 at 10:20 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
update to trunk and try setting
group_confirm_cancel_timeout=true

let me know if it works


On Tue, Jul 14, 2009 at 12:02 PM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi,
 
Thanks for the reply.
 
Quote:
Quote:
Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering.
 

I think this is my point. leg_timeout seems to control how long to wait prior to the bridge completeing, not the B-leg answering.
 
 In my situation I am using:
 
Session.Execute("set", "group_confirm_key=exec");
Session.Execute("set", "group_confirm_file=javascript confirm.js");
 
my confirm.js prompts leg_b for 1 (to take the call). If leg_timeout is set to 10 you have 10 seconds to answer the call AND press 1.
 
I just want call_timeout to be satisfied when the call is answered. Not when the called party presses 1 and the bridge is complete.
 
I am new all this so I will work out how to use the pastebin etc.
 
Thanks for your help.
 
 
Phillip Jones 



 
On Tue, Jul 14, 2009 at 12:16 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote:


On Tue, Jul 14, 2009 at 8:35 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hi there,
 
Here is my call flow:
 
1) leg A is bridged to leg B
2) when leg B is answered I play a confirm script - "please 1 to accept this call"
 
I only want leg B to ring 20 seconds. BUT when the caller party answers, he should have as long as he needs to press 1.
 
"leg_timeout" seems to be in play until the bridge is completed. I need it to reset when leg b is answered.


Correct. Both "leg_timeout" and "leg_progress_timeout" are for controlling how long to wait prior to the B-leg answering. (leg_progress_timeout specifies how long to wait for any kind of progress, be it early media of some sort, ringing, or an answer.)

Quote:

 
I tried resetting the leg_timeout in the confirm script after leg b is answered. I also tried using leg_progress_timeout. Neither seemed to work.


What exactly are you trying to do? The two variables you've mentioned shouldn't have any effect on the call after it has been established.

Quote:

 
Any help or suggestions would be welcome.



Could you pastebin your dialplan and a debug log of a call that does not work? See this page for some handy tips on using pastebin and collecting information for debugging purposes:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Debugging_Steps

-MC

Quote:
 
Phillip Jones

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
msc at freeswitch.org
Guest





PostPosted: Wed Jul 15, 2009 11:31 am    Post subject: [Freeswitch-users] leg_timeout Reply with quote

On Wed, Jul 15, 2009 at 7:38 AM, Phillip Jones <pjintheusa@gmail.com (pjintheusa@gmail.com)> wrote:
Quote:
Hey Guys,

I took a look at the source that Anthony updated. I see this:

} else if (!strcasecmp((char *) hi->name, "group_confirm_file")) {
ok = 1;
} else if (!strcasecmp((char *) hi->name, "group_confirm_clear_timeout")) {
ok = 1;
 } else if (!strcasecmp((char *) hi->name, "forked_dial")) {

and:

if (switch_true(switch_event_get_header(var_event, "group_confirm_cancel_timeout"))) {
        oglobals.cancel_timeout = -1;
    }

I updated the group_confirm_clear_timeout to group_confirm_cancel_timeout and recompiled and this is now working just great.

Thanks very much for incorporating this. It is much appreciated.


Phillip Jones




Phillip,

Thank you very much for taking the time and initiative to dig a little. The devs definitely appreciate it when community members roll up their sleeves and do some investigative work. Karma++ for you! Smile
-MC
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services