I am using 1.2.15 branch. Should I upgrade/downgrade?
Simon P. Ditner wrote:
What version of Asterisk is this under? I didn't find this to be the case with 1.2.14, but I did find the macro stuff to be rather broken with 1.4.0 On 2/22/07, John Oladehinde <[EMAIL PROTECTED]> wrote:Hello, Is there any way to pause the execution of a macro until the called line is answered or a predetermined time limit has expired? This example code below dials the SIP/16 line for 60 seconds but the macro-screen is executed almost immediately. So when the line is actually picked up most of the macro has been executed already. But if the Wait time is increased then you have a long pause if the called line does pick up quickly. Any suggestions would be appreciated exten => 890,n,Dial(SIP/16|60|gM(screen^${SCREEN_FILE})) [macro-screen] exten => s,1,Wait(0.2) exten => s,n,Playback(screen-from) exten => s,n,Playback(${ARG1}) exten => s,n,Read(ACCEPT|screen-accept|1) John. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
