[asterisk-users] Macro inside macro

Aaron Daniel amdtech at shsu.edu
Sun Aug 13 08:08:55 MST 2006


Just a thought, but shouldn't the exten => h be priority 1, not priority
6?  The h extension is totally separate from the s extension, the server
doesn't think it exists because there's no priority 1 for it.  Try
that :)

On Sun, 2006-08-13 at 19:32 +1000, Michael Strelnikov wrote:
> I have the same problem even with AEL.
> When call is finished from macro "dialout" asterisk just stops all
> futher processing.
> I haven't found any solution yet.
> 
> On 8/13/06, Dovid Bender <asteriskusers at dovid.net> wrote:
>         Please include what you send to the macro from your
>         extensions.conf so we
>         can see what you are sending down to the macro.
>         
>         
>         ----- Original Message -----
>         From: "Attilla De Groot" <mail at youmeandvoip.nl>
>         To: "Asterisk Users Mailing List - Non-Commercial Discussion"
>         <asterisk-users at lists.digium.com>
>         Sent: Sunday, August 13, 2006 4:56 AM 
>         Subject: [asterisk-users] Macro inside macro
>         
>         
>         > Hi all,
>         >
>         >
>         > I'm making a little macro te record conversations if a user
>         want so  and
>         > if it's recorded the recording should be e-mailed. 
>         > This is what I have come up with right now:
>         >
>         > [macro-record]
>         > exten =>
>         s,1,Setvar(CALLFILENAME=CALL-${ARG1}-${MACRO_EXTEN:4}-$
>         > {TIMESTAMP})
>         > exten => s,2,Monitor(wav,${CALLFILENAME},m}) 
>         > exten => s,3,GotoIf($["${ARG1}" =
>         "conference"]?macro-record|s|
>         > 4:macro-record|s|5)
>         > exten => s,4,Macro(conference|${ARG2})
>         > exten => s,5,Macro(dialout|${ARG2}|${ARG3}) 
>         > exten => h,6,System(/etc/asterisk/mail.sh
>         mail at youmeandvoip.nl $
>         > {CALLFILENAME} &)
>         >
>         >
>         > The conversation gets recorded perfectly and it's also
>         possible to  dial, 
>         > but somehow the script doesn't get executed and I don't
>         know  why (the
>         > script works manually, I already tested this).
>         >
>         > Can anyone helpyp me with the solution ?
>         >
>         >
>         > Best regards, 
>         > Attilla
>         > _______________________________________________
>         > --Bandwidth and Colocation provided by Easynews.com --
>         >
>         > asterisk-users mailing list
>         > To UNSUBSCRIBE or update options visit: 
>         >   http://lists.digium.com/mailman/listinfo/asterisk-users
>         >
>         >
>         
>         _______________________________________________
>         --Bandwidth and Colocation provided by Easynews.com --
>         
>         asterisk-users mailing list
>         To UNSUBSCRIBE or update options visit:
>            http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 
> -- 
> Best regards,
> Michael Strelnikov 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Aaron Daniel
Computer Systems Technician
Sam Houston State University
amdtech at shsu.edu
(936) 294-4198




More information about the asterisk-users mailing list