VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mike at jerris.com Guest
|
Posted: Tue Nov 25, 2008 7:48 am Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
try using export instead of set for that var.
Mike
On Nov 25, 2008, at 4:05 AM, henkoegema wrote:
Quote: |
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue Nov 25, 2008 9:02 am Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
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 (mike@jerris.com)> wrote:
Quote: | try using export instead of set for that var.
Mike
On Nov 25, 2008, at 4:05 AM, henkoegema wrote:
Quote: |
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 (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 ([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 |
|
|
pabx_freeswitch at tel... Guest
|
Posted: Tue Nov 25, 2008 9:20 am Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
Doens't make any difference. :working:
Michael Jerris wrote:
Quote: |
try using export instead of set for that var.
Mike
On Nov 25, 2008, at 4:05 AM, henkoegema wrote:
Quote: |
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.-tp20677406p20682038.html
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 |
|
Back to top |
|
|
pabx_freeswitch at tel... Guest
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue Nov 25, 2008 2:52 pm Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
iirc call_timeout has been changed to originate_timeout
On Tue, Nov 25, 2008 at 1:04 PM, henkoegema <pabx_freeswitch@telenet.be (pabx_freeswitch@telenet.be)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
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
|
Posted: Tue Nov 25, 2008 3:17 pm Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
On Tue, Nov 25, 2008 at 11:44 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | 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
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Nov 25, 2008 4:35 pm Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
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 (msc@freeswitch.org)> wrote:
Quote: | Quote: |
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
|
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Nov 25, 2008 4:39 pm Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
Quote: |
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
|
|
Back to top |
|
|
pabx_freeswitch at tel... Guest
|
Posted: Tue Nov 25, 2008 4:41 pm Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
Michael Collins-11 wrote:
Quote: |
On Tue, Nov 25, 2008 at 11:44 AM, Anthony Minessale <
anthony.minessale@gmail.com> wrote:
Quote: | 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.-tp20677406p20689832.html
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 |
|
Back to top |
|
|
cstomi.levlist at gmai... Guest
|
Posted: Fri Dec 05, 2008 11:36 am Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
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:
Quote: | 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:
Quote: | Quote: | 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
|
------------------------------------------------------------------------
_______________________________________________
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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Dec 05, 2008 11:47 am Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
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 (cstomi.levlist@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
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
|
Posted: Fri Dec 05, 2008 1:25 pm Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
On Fri, Dec 5, 2008 at 8:41 AM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
Quote: | 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
_______________________________________________
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 |
|
Back to top |
|
|
gservat at gmail.com Guest
|
Posted: Fri Dec 05, 2008 1:44 pm Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
On Fri, Dec 5, 2008 at 4:23 PM, Michael Collins <msc@freeswitch.org (msc@freeswitch.org)> wrote:
Quote: | On Fri, Dec 5, 2008 at 8:41 AM, Anthony Minessale
<anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | 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 |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Dec 05, 2008 1:53 pm Post subject: [Freeswitch-users] Channel variable 'call_timeout'. |
|
|
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 (gservat@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
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 |
|
|
|
|
|
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
|