[Freeswitch-users] How to limit call attemp time?

Peder peder at networkoblivion.com
Sun Jun 13 11:43:47 PDT 2010


How about leg_timeout on that specific leg of the call.  I had an issue
where a general call_timeout didn't work if there was no response but
leg_timeout did work.  Not sure exactly how it works if there is a response
though.  Worth a shot.

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sergey
Okhapkin
Sent: Sunday, June 13, 2010 1:25 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] How to limit call attemp time?

Are you getting SIP 180 or SIP 183 from the B leg? Everything works fine
when 
SIP 180 is received, but call_timeout doesn't work when SIP 183 is received.

switch_ivr_originate.c checks MEDIA READY condition, but not for ANSWER 
condition, "media ready" includes early media also :-(

On Sunday 13 June 2010, Madovsky wrote:
> Sergey,
> 
> I did this
> 
> <action application="set" data="continue_on_fail=true"/>
>   <action application="ring_ready"/>repk
>    <action application="set" data="call_timeout=20"/>
> 
> before bridge and works for me
> 
> Franck
> 
> ----- Original Message -----
> From: "Sergey Okhapkin" <sos at sokhapkin.dyndns.org>
> To: <freeswitch-users at lists.freeswitch.org>
> Sent: Sunday, June 13, 2010 2:05 PM
> Subject: Re: [Freeswitch-users] How to limit call attemp time?
> 
> 
> Correct, I need to limit ringing time and continue dialplan execution if
no
> answer within N seconds.
> 
> It's trivial "find me" service, serial DID forwarding to multiple PSTN
> numbers.
> 
> On Sunday 13 June 2010, David Ponzone wrote:
> > What you want is a way to limit the ringing time isnt it ?
> > I think it's not possible. I needed that some time ago, and I never
> > found out the solution.
> >
> > David Ponzone  Direction Technique
> > email: david.ponzone at ipeva.fr
> > tel:      01 74 03 18 97
> > gsm:   06 66 98 76 34
> >
> > Service Client IPeva
> > tel:      0811 46 26 26
> > www.ipeva.fr  -   www.ipeva-studio.com
> >
> > Ce message et toutes les pièces jointes sont confidentiels et établis
> > à l'intention exclusive de ses destinataires. Toute utilisation ou
> > diffusion non autorisée est interdite. Tout message électronique est
> > susceptible d'altération. IPeva décline toute responsabilité au titre
> > de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes
> > pas destinataire de ce message, merci de le détruire immédiatement et
> > d'avertir l'expéditeur.
> >
> > Le 13/06/2010 à 18:25, Sergey Okhapkin a écrit :
> > > progress_timeout exits the bridge if NO 180 or 183 received, I'm
> > > receiving
> > > 183.
> > >
> > > On Sunday 13 June 2010, João Mesquita wrote:
> > >> Look at leg_progress_timeout or just progress_timeout.
> > >>
> > >> On Sunday, June 13, 2010, Sergey Okhapkin
> > >>
> > >> <sos at sokhapkin.dyndns.org> wrote:
> > >>> Yes, I tried ignore_early_media. call_timeout doesn't work if
> > >>> early media
> > >>> received.
> > >>>
> > >>> On Sunday 13 June 2010, Code Ghar wrote:
> > >>>> Hi Sergey
> > >>>>
> > >>>> Have you tried ignore_early_media? It may help. You can find more
> > >>>> information from http://wiki.freeswitch.org/wiki/Channel_Variables
> > >>>>
> > >>>> On Sun, Jun 13, 2010 at 10:42 AM, Sergey Okhapkin
> > >>>>
> > >>>> <sos at sokhapkin.dyndns.org>wrote:
> > >>>>> Which variable should be set to exit bridge application if the
> > >>>>> call
> > >>>>> has not been answered within the specified time? call_timeout
> > >>>>> variable
> > >>>>> works if called
> > >>>>> SIP end point responds with "180 Ringing", but doesn't work if the
> > >>>>> endpoint responds with early media.
> > >>>>>
> > >>>>> _______________________________________________
> > >>>>> FreeSWITCH-users mailing list
> > >>>>> FreeSWITCH-users at lists.freeswitch.org
> > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > >>>>>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-
> > >>>>>us e rs http://www.freeswitch.org
> > >>>
> > >>> _______________________________________________
> > >>> FreeSWITCH-users mailing list
> > >>> FreeSWITCH-users at lists.freeswitch.org
> > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > >>>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us
> > >>>er s http://www.freeswitch.org
> > >
> > > _______________________________________________
> > > FreeSWITCH-users mailing list
> > > FreeSWITCH-users at lists.freeswitch.org
> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > >
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-user
> > >s http://www.freeswitch.org
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list