Tilghman,
> exten => h,1,Set(MISSEDCAUSE=hungup)
> exten => h,n,GosubIf($["${SENDNOTIFICATIONS}" = "1"]?notify)
> exten => h,n,Hangup()
> exten => h,n(notify),Macro(email-${MISSEDCAUSE})
> exten => h,n,Return()
>
> Don't leave the h extension; it's special. :-)
Fantastic! That solved it. I also needed one more check on the hang-up
to see if another "miss" status had already been set. I still need to
do a lot of work on this but at least the triggers are working.
The static example is here: http://pastebin.ca/740336
Thanks again for finding that,
-Michael I.
_______________________________________________
--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