Can you post here what is working, for the benefit of everyone?

 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe S
Sent: Wednesday, April 13, 2005 12:38 AM
To: [email protected]
Subject: RE: [Asterisk-Users] Question about Macros

Hi all,
Never mind, I solved the problem with Read...

Joe

>From: "Joe S" <[EMAIL PROTECTED]>
>Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion 
><[email protected]>
>To: [email protected]
>Subject: [Asterisk-Users] Question about Macros
>Date: Tue, 12 Apr 2005 21:39:31 -0500
>
>Hello,
>I am trying to build a macro + menu together. Here is the idea:
>Dial 1000 to get to conference, menu comes, press 1 to login as admin 
>or press 2 to login as user.
>Here is my code in extensions.conf:
>
>exten => 1000,1,Macro(conf2me,1000)
>
>[macro-conf2me]
>exten=>s,1,Wait,1
>exten=>s,2,Answer
>exten=>s,3,DigitTimeout,5
>exten=>s,4,ResponseTimeout,10
>exten=>s,5,Background,welcome-instructions
>exten=>i,1,Playback,pbx-invalid
>exten=>i,2,Goto,s|5
>exten=>t,1,Hangup
>
>exten=>1,1,MeetMe(${ARG1}|ipda)
>
>exten=>2,1,MeetMe(${ARG1}|ipd)
>
>It doesn't work, it is giving the error that '1' is not defined in the 
>default context, probably it exited the menu (macro).
>
>Thanks,
>
>Joe 
--------------------------------------------------------
 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited. 
 
_______________________________________________
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

Reply via email to