Christoph Adomeit wrote: > Hi, > > I have the following problem: I want asterisk to dial > a chain of n-numbers until somebody picks up the line. > I am using Digium E1 Hardware (zaptel) for dialing out. > > Dialing a Chain is basically no problem, I use somwthing like: > dial(no1,50) > dial(no2,50) > dial(no3,50) > > However, If no1 is not reachable, for example it is a mobile > and switched off, then some automatic Operator-Voice from the > Mobile-Telco says forever: > "This number is currently not reachable" and this means asterisk > thinks the call was succesfull and does not continue with the > the other numbers. > > Does somebody has an idea how I can distinguish those "Operator > Voices" from real calls ?
This is one of the VERY few times the "r" option to Dial will be helpful. Dial(no1,50,r) etc. As long as the call is not answered (and the telco does not answer when they play that message) the "r" option will hide the audio the telco is sending. _______________________________________________ --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