Not anymore. bkw
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of C F > Sent: Wednesday, January 19, 2005 7:55 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Call Screen Macro Not Exiting when call > rejected > > You have to apply this patch: > http://bugs.digium.com/bug_view_page.php?bug_id=0002905 > > > > On Wed, 19 Jan 2005 19:15:27 -0600, Brian West <[EMAIL PROTECTED]> wrote: > > [macro-screen] > > exten => s,1,Playback(silence/1) > > exten => s,2,Playback(screen-from) > > exten => s,3,Read(ACCEPT|screen-accept|1||3) > > exten => s,4,GotoIf($[${ACCEPT} = 1 ] ?6:5) > > exten => s,5,SetVar(MACRO_RESULT=CONTINUE) > > exten => s,6,NoOp > > > > That works for me. I think you need to check the args for Read. > > > > bkw > > > > > [macro-screen] > > > ; Prompt operator to accept,reject or transfer the incoming call > > > ; before the call is connected to them. > > > exten => s,1,Wait(0.2) > > > exten => s,2,Playback(og-welcome) > > > exten => s,3,Read(ACCEPT||1) > > > exten => s,4,GotoIf($[${ACCEPT} = 1]?6:5) ;1 = connect else return > > > exten => s,5,SetVar(MACRO_RESULT=CONTINUE) > > > exten => s,6,NOOP() > > > > _______________________________________________ > > Asterisk-Users mailing list > > [email protected] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
