Channel variable 'call_timeout'.
I use following diaplan for extension 2005: --------------------------------------------------------- <extension name="2005"> <condition field="destination_number" expression="^2005$"> <action application="set" data=”call_timeout=10"/> <action application="set" data="continue_on_fail=USER_BUSY,NO_ANSWER"/> <action application="bridge" data="sofia/internal/2005%$${domain}"/> <action application="voicemail" data="default $${domain} 2005"/> </condition> </extension> What I can't get to work is the "call_timeout" variable. It is set to value 10 at the moment. So I was thinking, that if exten. 2005 is busy or doesn't answer, the call would be transferred to the voicemail after 10 seconds. It is actually transferred after 66 (?) seconds. Changing the value of call_timeout doesn't seem to have any effect. :confused: -- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206774... Sent from the Freeswitch-users mailing list archive at Nabble.com.
try using export instead of set for that var. Mike On Nov 25, 2008, at 4:05 AM, henkoegema wrote:
I use following diaplan for extension 2005: --------------------------------------------------------- <extension name="2005"> <condition field="destination_number" expression="^2005$"> <action application="set" data=”call_timeout=10"/> <action application="set" data="continue_on_fail=USER_BUSY,NO_ANSWER"/> <action application="bridge" data="sofia/internal/2005%$$ {domain}"/> <action application="voicemail" data="default $${domain} 2005"/> </condition> </extension>
What I can't get to work is the "call_timeout" variable. It is set to value 10 at the moment.
So I was thinking, that if exten. 2005 is busy or doesn't answer, the call would be transferred to the voicemail after 10 seconds.
It is actually transferred after 66 (?) seconds.
Changing the value of call_timeout doesn't seem to have any effect. :confused:
also try <action application="bridge" data="{originate_tiimeout=10}sofia/internal/2005%$${domain}"/> On Tue, Nov 25, 2008 at 6:46 AM, Michael Jerris <mike@jerris.com> wrote:
try using export instead of set for that var.
Mike
On Nov 25, 2008, at 4:05 AM, henkoegema wrote:
I use following diaplan for extension 2005: --------------------------------------------------------- <extension name="2005"> <condition field="destination_number" expression="^2005$"> <action application="set" data="call_timeout=10"/> <action application="set" data="continue_on_fail=USER_BUSY,NO_ANSWER"/> <action application="bridge" data="sofia/internal/2005%$$ {domain}"/> <action application="voicemail" data="default $${domain} 2005"/> </condition> </extension>
What I can't get to work is the "call_timeout" variable. It is set to value 10 at the moment.
So I was thinking, that if exten. 2005 is busy or doesn't answer, the call would be transferred to the voicemail after 10 seconds.
It is actually transferred after 66 (?) seconds.
Changing the value of call_timeout doesn't seem to have any effect. :confused:
_______________________________________________ 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/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Anthony Minessale-2 wrote:
also try
<action application="bridge" data="{originate_tiimeout=10}sofia/internal/2005%$${domain}"/>
YES, that works !! But....... why doesn't <action application="set" data="call_timeout=10"/> work ? -- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206876... Sent from the Freeswitch-users mailing list archive at Nabble.com.
iirc call_timeout has been changed to originate_timeout On Tue, Nov 25, 2008 at 1:04 PM, henkoegema <pabx_freeswitch@telenet.be>wrote:
Anthony Minessale-2 wrote:
also try
<action application="bridge" data="{originate_tiimeout=10}sofia/internal/2005%$${domain}"/>
YES, that works !!
But....... why doesn't <action application="set" data="call_timeout=10"/> work ?
-- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206876... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Tue, Nov 25, 2008 at 11:44 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
iirc call_timeout has been changed to originate_timeout
That seems to jive with what's in switch_ivr_originate.c as there is no mention of "call_timeout" anywhere in the function switch_ivr_originate(), but "originate_timeout" is definitely there. Question: I see that "call_timeout" is in function switch_ivr_wait_for_answer() but "originate_timeout" is not, and it definitely looks like the call_timeout channel variable is being used to populate the integer "timeout". (See switch_ivr_originate.c:332) I was wondering if "call_timeout" was the correct channel variable here or should it be "originate_timeout"? Just confirming. Thanks, MC
On Tue, Nov 25, 2008 at 1:04 PM, henkoegema <pabx_freeswitch@telenet.be>wrote:
Anthony Minessale-2 wrote:
also try
<action application="bridge" data="{originate_tiimeout=10}sofia/internal/2005%$${domain}"/>
YES, that works !!
But....... why doesn't <action application="set" data="call_timeout=10"/> work ?
-- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206876... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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/
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
Michael Collins-11 wrote:
On Tue, Nov 25, 2008 at 11:44 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
iirc call_timeout has been changed to originate_timeout
That seems to jive with what's in switch_ivr_originate.c as there is no mention of "call_timeout" anywhere in the function switch_ivr_originate(), but "originate_timeout" is definitely there.
Question: I see that "call_timeout" is in function switch_ivr_wait_for_answer() but "originate_timeout" is not, and it definitely looks like the call_timeout channel variable is being used to populate the integer "timeout". (See switch_ivr_originate.c:332)
I was wondering if "call_timeout" was the correct channel variable here or should it be "originate_timeout"? Just confirming.
Thanks, MC
I used "call-timeout" because that's how I understood it from the Wiki. (?) -- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206898... Sent from the Freeswitch-users mailing list archive at Nabble.com.
I used "call-timeout" because that's how I understood it from the Wiki. (?)
Yep, that's all that there is on the wiki. Unfortunately the channel variables page is one of many in need of some attention. I will add "originate_timeout" right away. The only question remaining is what, if anything, does call_timeout do? That channel variable is in the source code but I don't know exactly what it does. -MC
-- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206898... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
FYI, it is on the channel variables page but it's in a crazy place under "unknown functionality" which is silly. http://wiki.freeswitch.org/wiki/Channel_Variables#originate_timeout Anyway, I've got wiki cleaning on my to-do list and I'll start in earnest next month when I have some time... -MC On Tue, Nov 25, 2008 at 1:32 PM, Michael Collins <msc@freeswitch.org> wrote:
I used "call-timeout" because that's how I understood it from the Wiki. (?)
Yep, that's all that there is on the wiki. Unfortunately the channel variables page is one of many in need of some attention. I will add "originate_timeout" right away. The only question remaining is what, if anything, does call_timeout do? That channel variable is in the source code but I don't know exactly what it does.
-MC
-- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206898... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
Hello, I have the same problem, I don't understand the difference between progress_timeout originate_timeout call_timeout. I log timelimit_sec in switch_ivr_originate function and it seems, if I set call_timeout then, timelimit_sec will be this value if I set originate_timeout then timelimit_sec will be this value. maybe this is for backward compat? originate_timeout as in the wiki: "Determines how long FreeSwitch is going to wait for a response from the invite message sent to the gateway. " I quess this would be an 100 reply. But how could I set a timeout for 200? I mean timeout for an answer. which variable would control this? I quess it was call_timeout previosly. Please explain me this timeout variables Thanks, Tamas Michael Collins írta:
FYI, it is on the channel variables page but it's in a crazy place under "unknown functionality" which is silly. http://wiki.freeswitch.org/wiki/Channel_Variables#originate_timeout
Anyway, I've got wiki cleaning on my to-do list and I'll start in earnest next month when I have some time...
-MC
On Tue, Nov 25, 2008 at 1:32 PM, Michael Collins <msc@freeswitch.org> wrote:
I used "call-timeout" because that's how I understood it from the Wiki. (?)
Yep, that's all that there is on the wiki. Unfortunately the channel variables page is one of many in need of some attention. I will add "originate_timeout" right away. The only question remaining is what, if anything, does call_timeout do? That channel variable is in the source code but I don't know exactly what it does.
-MC
-- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206898... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
call_timeout is only used if you are bridging 2 channels where one or both of them is still unanswered. what you want to use is originate_timeout and forget about call_timeout you also have leg_timeout and leg_progress_timeout both to be set in the {} that do the timeout from the perspective of the new channel leg instead of the caller leg. On Fri, Dec 5, 2008 at 10:34 AM, Tamas Cseke <cstomi.levlist@gmail.com>wrote:
Hello,
I have the same problem,
I don't understand the difference between
progress_timeout originate_timeout call_timeout.
I log timelimit_sec in switch_ivr_originate function and it seems, if I set call_timeout then, timelimit_sec will be this value if I set originate_timeout then timelimit_sec will be this value. maybe this is for backward compat?
originate_timeout as in the wiki: "Determines how long FreeSwitch is going to wait for a response from the invite message sent to the gateway. "
I quess this would be an 100 reply.
But how could I set a timeout for 200? I mean timeout for an answer. which variable would control this? I quess it was call_timeout previosly. Please explain me this timeout variables
Thanks, Tamas
Michael Collins írta:
FYI, it is on the channel variables page but it's in a crazy place under "unknown functionality" which is silly. http://wiki.freeswitch.org/wiki/Channel_Variables#originate_timeout
Anyway, I've got wiki cleaning on my to-do list and I'll start in earnest next month when I have some time...
-MC
On Tue, Nov 25, 2008 at 1:32 PM, Michael Collins <msc@freeswitch.org> wrote:
I used "call-timeout" because that's how I understood it from the Wiki. (?)
Yep, that's all that there is on the wiki. Unfortunately the channel variables page is one of many in need of some attention. I will add "originate_timeout" right away. The only question remaining is what, if anything, does call_timeout do? That channel variable is in the source code but I don't know exactly what it does.
-MC
-- View this message in context:
http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206898...
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
_______________________________________________ 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/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Fri, Dec 5, 2008 at 8:41 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
call_timeout is only used if you are bridging 2 channels where one or both of them is still unanswered.
what you want to use is originate_timeout and forget about call_timeout
you also have leg_timeout and leg_progress_timeout both to be set in the {} that do the timeout from the perspective of the new channel leg instead of the caller leg.
I will make sure that the wiki reflects these explanations properly. -MC
On Fri, Dec 5, 2008 at 4:23 PM, Michael Collins <msc@freeswitch.org> wrote:
On Fri, Dec 5, 2008 at 8:41 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
call_timeout is only used if you are bridging 2 channels where one or both of them is still unanswered.
what you want to use is originate_timeout and forget about call_timeout
you also have leg_timeout and leg_progress_timeout both to be set in the {} that do the timeout from the perspective of the new channel leg instead of the caller leg.
I will make sure that the wiki reflects these explanations properly.
Excellent :) I'm still wondering not 100% clear on the exact difference(s) between call_timeout and originate_timeout ... - Gonzalo
forget call_timout it's your best bet it's depricated. On Fri, Dec 5, 2008 at 12:38 PM, Gonzalo Servat <gservat@gmail.com> wrote:
On Fri, Dec 5, 2008 at 4:23 PM, Michael Collins <msc@freeswitch.org>wrote:
On Fri, Dec 5, 2008 at 8:41 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
call_timeout is only used if you are bridging 2 channels where one or both of them is still unanswered.
what you want to use is originate_timeout and forget about call_timeout
you also have leg_timeout and leg_progress_timeout both to be set in the {} that do the timeout from the perspective of the new channel leg instead of the caller leg.
I will make sure that the wiki reflects these explanations properly.
Excellent :) I'm still wondering not 100% clear on the exact difference(s) between call_timeout and originate_timeout ...
- Gonzalo
_______________________________________________ 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/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Hello, It seems originate_timeout isn't take effect when we got early media. Our carrier is sending the ring tone in early media, so if I try <action application="bridge" data="{originate_timeout=15}sofia/gateway/mygw/whatsoever"/> timeout isn't occur after 15s however with: <action application="bridge" data="{originate_timeout=15, ignore_early_media=yes}sofia/gateway/mygw/whatsoever"/> timeout is OK. but we don't get early media, I think it would be nice to not ignore it I found ring_ready and return_ring_ready could you please tell me what do they mean? So I'd like to make the timer expire only on 200 OK. and don't ignore early media. Thank you, Tomi Anthony Minessale írta:
call_timeout is only used if you are bridging 2 channels where one or both of them is still unanswered.
what you want to use is originate_timeout and forget about call_timeout
you also have leg_timeout and leg_progress_timeout both to be set in the {} that do the timeout from the perspective of the new channel leg instead of the caller leg.
On Fri, Dec 5, 2008 at 10:34 AM, Tamas Cseke <cstomi.levlist@gmail.com>wrote:
Hello,
I have the same problem,
I don't understand the difference between
progress_timeout originate_timeout call_timeout.
I log timelimit_sec in switch_ivr_originate function and it seems, if I set call_timeout then, timelimit_sec will be this value if I set originate_timeout then timelimit_sec will be this value. maybe this is for backward compat?
originate_timeout as in the wiki: "Determines how long FreeSwitch is going to wait for a response from the invite message sent to the gateway. "
I quess this would be an 100 reply.
But how could I set a timeout for 200? I mean timeout for an answer. which variable would control this? I quess it was call_timeout previosly. Please explain me this timeout variables
Thanks, Tamas
Michael Collins írta:
FYI, it is on the channel variables page but it's in a crazy place under "unknown functionality" which is silly. http://wiki.freeswitch.org/wiki/Channel_Variables#originate_timeout
Anyway, I've got wiki cleaning on my to-do list and I'll start in earnest next month when I have some time...
-MC
On Tue, Nov 25, 2008 at 1:32 PM, Michael Collins <msc@freeswitch.org>
wrote:
I used "call-timeout" because that's how I understood it from the Wiki. (?)
Yep, that's all that there is on the wiki. Unfortunately the channel variables page is one of many in need of some attention. I will add "originate_timeout" right away. The only question remaining is what, if anything, does call_timeout do? That channel variable is in the source
code
but I don't know exactly what it does.
-MC
-- View this message in context:
http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206898...
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
_______________________________________________ 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
------------------------------------------------------------------------
_______________________________________________ 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
Tamas, The channel variable won't work for you if you can't ignore early media. Your best bet is to use the variable execute_on_answer to transfer an answered call to a new extension. Then you could just sleep for 15sec and then check the value of endpoint_disposition. What is the application that you are working on? Sent from my iPhone On Jan 16, 2009, at 5:17 AM, Tamas Cseke <cstomi.levlist@gmail.com> wrote:
Hello,
It seems originate_timeout isn't take effect when we got early media.
Our carrier is sending the ring tone in early media, so if I try <action application="bridge" data="{originate_timeout=15}sofia/gateway/mygw/whatsoever"/> timeout isn't occur after 15s
however with: <action application="bridge" data="{originate_timeout=15, ignore_early_media=yes}sofia/gateway/mygw/whatsoever"/>
timeout is OK. but we don't get early media, I think it would be nice to not ignore it
I found ring_ready and return_ring_ready could you please tell me what do they mean? So I'd like to make the timer expire only on 200 OK. and don't ignore early media.
Thank you, Tomi
Anthony Minessale írta:
call_timeout is only used if you are bridging 2 channels where one or both of them is still unanswered.
what you want to use is originate_timeout and forget about call_timeout
you also have leg_timeout and leg_progress_timeout both to be set in the {} that do the timeout from the perspective of the new channel leg instead of the caller leg.
On Fri, Dec 5, 2008 at 10:34 AM, Tamas Cseke <cstomi.levlist@gmail.com
wrote:
Hello,
I have the same problem,
I don't understand the difference between
progress_timeout originate_timeout call_timeout.
I log timelimit_sec in switch_ivr_originate function and it seems, if I set call_timeout then, timelimit_sec will be this value if I set originate_timeout then timelimit_sec will be this value. maybe this is for backward compat?
originate_timeout as in the wiki: "Determines how long FreeSwitch is going to wait for a response from the invite message sent to the gateway. "
I quess this would be an 100 reply.
But how could I set a timeout for 200? I mean timeout for an answer. which variable would control this? I quess it was call_timeout previosly. Please explain me this timeout variables
Thanks, Tamas
Michael Collins írta:
FYI, it is on the channel variables page but it's in a crazy place under "unknown functionality" which is silly. http://wiki.freeswitch.org/wiki/Channel_Variables#originate_timeout
Anyway, I've got wiki cleaning on my to-do list and I'll start in earnest next month when I have some time...
-MC
On Tue, Nov 25, 2008 at 1:32 PM, Michael Collins <msc@freeswitch.org
wrote:
I used "call-timeout" because that's how I understood it from the Wiki. (?)
Yep, that's all that there is on the wiki. Unfortunately the channel variables page is one of many in need of some attention. I will add "originate_timeout" right away. The only question remaining is what, if anything, does call_timeout do? That channel variable is in the source
code
but I don't know exactly what it does.
-MC
-- View this message in context:
http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206898...
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ 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
--- ------------------------------------------------------------------
_______________________________________________ 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
--- ---------------------------------------------------------------------
_______________________________________________ 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
Doens't make any difference. :working: Michael Jerris wrote:
try using export instead of set for that var.
Mike
On Nov 25, 2008, at 4:05 AM, henkoegema wrote:
I use following diaplan for extension 2005: --------------------------------------------------------- <extension name="2005"> <condition field="destination_number" expression="^2005$"> <action application="set" data=”call_timeout=10"/> <action application="set" data="continue_on_fail=USER_BUSY,NO_ANSWER"/> <action application="bridge" data="sofia/internal/2005%$$ {domain}"/> <action application="voicemail" data="default $${domain} 2005"/> </condition> </extension>
What I can't get to work is the "call_timeout" variable. It is set to value 10 at the moment.
So I was thinking, that if exten. 2005 is busy or doesn't answer, the call would be transferred to the voicemail after 10 seconds.
It is actually transferred after 66 (?) seconds.
Changing the value of call_timeout doesn't seem to have any effect. :confused:
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p206820... Sent from the Freeswitch-users mailing list archive at Nabble.com.
participants (7)
-
Anthony Minessale
-
Gonzalo Servat
-
henkoegema
-
Michael Collins
-
Michael Jerris
-
Michael S Collins
-
Tamas Cseke