Luiz Gustavo Chiaretto wrote:
> only need identify when user's hangup in a Read/Background/Dial
> application.
If you're going to be doing a read/background/dial, then just before any
of them, set a variable. For example:
exten s,1,Set(_Flag=Read)
exten s,n,Read(get-admin-password|enter-password|||3|)
exten s,n,Hangup()
exten h,1,GotoIf($["${Flag}" = "Read"]?Do_Something)
By the way, this is just off the top of my head, none of it has ever
been tested.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety,
deserve neither Liberty nor Safety."
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users