Anton
2008-Oct-29 11:10 UTC
[asterisk-users] Dial() - any way to limit waiting for a "RINGING" state?
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.
VinÃcius Fontes
2008-Oct-29 13:41 UTC
[asterisk-users] Dial() - any way to limit waiting for a "RINGING" state?
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
Anton
2008-Oct-30 05:32 UTC
[asterisk-users] Dial() - any way to limit waiting for a "RINGING" state?
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