3 msgREFER mesage extraction using SIP_HEADER
9 msgRegistration state: Failed
6 msgOnly call me once
1 msgIs it better to use debian binary or compiledve...
6 msgMy AsteriskNo unable to registration
6 msgProblem registering Cisco 7970 phone with Aster...
1 msgv33 of codec_g729a released
1 msgAsterisk-addons 1.4.5 Released
7 msgOutgoing PSTN calls , unusable voice quality
2 msgOT - How to add a new TAPI driver on an XP syst...
3 msgRemote Office, Centrally Shared Voicemail
6 msgHow to setup redundant SIP peers
2 msgSimple Asterisk to Asterisk SIP Call Setup?

Do While loop
\ Mike (30 Nov 2007)
. \ Ricardo Carvalho (30 Nov 2007)
. \ Mojo with Horan & Company, LLC (30 Nov 2007)
. \ Vincent (1 Dec 2007)
. . \ Mojo with Horan & Company, LLC (3 Dec 2007)
. \ Vincent (3 Dec 2007)

4 msgAsterisk 1.4.15 crash without generating core file
2 msgNov 28, 2007 Asterisk Poll Results
6 msgOff-Topic: Avaya
9 msgSuppressing certain queue announcement voicepro...
1 msgOT - Which TAPI driver to use ?
18 msgIAX complaints? What are they?
Subject:Re: Do While loop
Group:Asterisk-users
From:Mojo with Horan & Company, LLC
Date:30 Nov 2007


 
here's a do-while loop - the contents of the loop are executed BEFORE
the condition is tested.
------------------------------------------------------------------
labelA:
do some loopy things
if (we need to loop again)
goto labelA:
------------------------------------------------------------------

to contrast that, here's a while loop:
------------------------------------------------------------------
labelA:
if (we need to do the loop at all)
{
do some loopy things
goto labelA:
}
------------------------------------------------------------------

Sorry it's in some pseudocode that doesn't really represent a language
at all. I can't produce asterisk's dialplan functions from memory yet!
I'm sure that this will convert very simply though with minor work. "if"
would become "GotoIf".

For the archives, the usage of asterisk's While construct is found at
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+While


Mojo


Mike wrote:
> Hi,
>
> Is there a way to have a Do-While sort of loop, as opposed to a simple
> While?
>
> I have a condition that the loop depends on even for the first
> iteration, as it often happens in life.
>
> Regards,
>
> Mike
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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


© 2004-2008 readlist.com