[asterisk-users] BACKGROUNDSTATUS not available?
Danny Nicholas
danny at debsinc.com
Mon Mar 23 16:17:29 CDT 2009
AFAIK, BACKGROUNDSTATUS is only meant to be a patch, not a feature. But if
your sole concern is whether the message was played, this should work:
Exten => s,1,Background(some-file)
Exten => s,n,noop(we heard the whole file)
Exten => 1,1,noop(pressed 1 before done)
Exten => i,1,Noop(pressed another key)
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Riddell
Sent: Monday, March 23, 2009 4:02 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] BACKGROUNDSTATUS not available?
On 24/03/2009 9:17 a.m., Harry Vangberg wrote:
> Hello,
> According to this page:
> http://bugs.digium.com/svnstats/asterisk/trunk/2006-09.html#298 a
> BACKGROUNDSTATUS variable was added in 2006 with revision 43814. As far as
I
> can understand it should return different values wether the file played
with
> a Background() command was played through or interrupted while playing.
But
> no matter what, GET VARIABLE BACKGROUNDSTATUS returns 0. Asterisk 1.4.18.
>
> Any solutions to this?
I didn't see it in core show application background.
However, surely it doesn't make much sense.
exten => s,1,Background(some-file)
exten => s,2,NoOp(Listened all the way through)
exten => 1,1,NoOp(Pressed one)
--
Kind Regards,
Matt Riddell
Director
_______________________________________________
http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
_______________________________________________
-- 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
More information about the asterisk-users
mailing list