Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Channel variable 'call_timeout'.


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





PostPosted: Fri Jan 16, 2009 8:17 am    Post subject: [Freeswitch-users] Channel variable 'call_timeout'. Reply with quote

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:
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.



On Fri, Dec 5, 2008 at 10:34 AM, Tamas Cseke <cstomi.levlist@gmail.com>wrote:


Quote:
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:
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

Quote:
Quote:
but I don't know exactly what it does.

-MC




Quote:
--
View this message in context:


http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p20689832.html

Quote:
Quote:
Quote:
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

Quote:
Quote:
Quote:
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



_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Fri Jan 16, 2009 10:32 am    Post subject: [Freeswitch-users] Channel variable 'call_timeout'. Reply with quote

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:

Quote:
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:
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.



On Fri, Dec 5, 2008 at 10:34 AM, Tamas Cseke <cstomi.levlist@gmail.com
Quote:
wrote:


Quote:
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:
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

Quote:
Quote:
but I don't know exactly what it does.

-MC




Quote:
--
View this message in context:


http://www.nabble.com/Channel-variable-%27call_timeout%27.-tp20677406p20689832.html

Quote:
Quote:
Quote:
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

Quote:
Quote:
Quote:
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



_______________________________________________
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
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