[asterisk-users] Dial() - any way to limit waiting for a "RINGING" state?

Anton anton.vazir at gmail.com
Thu Oct 30 00:32:03 CDT 2008


Think more deeply, I understand this is a user forum - but 
it doesn not mean that all question must be newbie. 

RINGING state meand until I REALLY get a notification from 
destination device (SIP for instance) that call have been 
accepted by the destination and it have returned 
a "RINGING" - other. If it does - I would wait more for an 
answer - I would like to return the "user switched off"

I think there is no solution yet, and Dial() hacking would 
be a one.

On Wednesday 29 October 2008 18:41, Vinícius Fontes wrote:
> Sure it is:
>
> exten => blah,1,Dial(SIP/blah,30)
>
> Where 30 is the time in seconds the application will wait
> before quitting and setting the DIALSTATUS variable to
> NOANSWER.
>
>
>
> Atenciosamente,
>
> Vinícius Fontes
> Núcleo de Tecnologias Convergentes
> Canall Tecnologia em Comunicações
> Passo Fundo - RS - Brasil
> +55 54 2104-7000
>
> Convergent Technologies Core
> Canall Tecnologia em Comunicações
> Passo Fundo - RS - Brazil
> +55 54 2104-7000
>
> ----- "Anton" <anton.vazir at gmail.com> escreveu:
> > Hello!
> >
> > Just trying to find out how to limit waiting for a
> > "RINGING" state for an initiated call by Dial() - This
> > is necessary since I want to inform the CALLER that
> > destination is not available if RINGING state was not
> > received within, say 20 seconds. This applies for
> > mostly SIP and IAX2 calls -
> >
> > Is that possible without hacking the app_dial?
> >
> > Regards,
> > Anton.
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by
> > http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by
> http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   
> http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list