Re: [asterisk-users] queue periodic-announce without stopping ringing

2015-06-15 Thread Matthew Jordan
On Mon, Jun 15, 2015 at 9:22 AM, Marek Cervenka  wrote:
> hello,
>
> is it possible to play queue periodic-announce without stopping agents
> ringing? actual situation is sequential - ring agents, play announce (for 15
> sec), ring agents , ... (i need to connect agent with caller asap when agent
> is free)
>
> is it possible with ARI?
>

ARI does not change or otherwise allow for the manipulation of the
mechanics in app_queue. If you want to use app_queue, ARI is not the
API for you.

If you are looking to write your own call queue application, than ARI
has the ability to manipulate media on a channel, as well as whether
or not ringing is being indicated to the channel. Since you want to
ring an agent, play media to the agent, then ring the agent again, you
will most likely need to indicate ringing to the agent using inband
ringing (via a 'tone' media URI [1]).

For more information on ARI and its intended use, see [2].

[1] 
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Channels+REST+API#Asterisk13ChannelsRESTAPI-play
[2] https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=29395573

Matt

-- 
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

-- 
_
-- 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


[asterisk-users] queue periodic-announce without stopping ringing

2015-06-15 Thread Marek Cervenka

hello,

is it possible to play queue periodic-announce without stopping agents 
ringing? actual situation is sequential - ring agents, play announce 
(for 15 sec), ring agents , ... (i need to connect agent with caller 
asap when agent is free)


is it possible with ARI?

--
---
Marek Cervenka
===


--
_
-- 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


Re: [asterisk-users] Queue Periodic Announce not working...

2013-05-30 Thread Gopalakrishnan N
It works.

Thanks
 On 30 May 2013 19:39, "Doug Lytle"  wrote:

> >> periodic-announce = /var/lib/asterisk/sounds/en/test/AVG-15.wav
>
> Try it without the .wav
>
> 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
>
--
_
-- 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

Re: [asterisk-users] Queue Periodic Announce not working...

2013-05-30 Thread Doug Lytle
>> periodic-announce = /var/lib/asterisk/sounds/en/test/AVG-15.wav 

Try it without the .wav 

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

[asterisk-users] Queue Periodic Announce not working...

2013-05-30 Thread Gopalakrishnan N
I am having a queue where included periodic announce like the below,

[test]
context = default
member = Agent/1001
member = Agent/1002
music = default
strategy = rrmemory
ringinuse = no
timeout = 15
retry = 1
maxlen = 0
joinempty = yes
leavewhenempty = no
periodic-announce = /var/lib/asterisk/sounds/en/test/AVG-15.wav
periodic-announce-frequency=30
random-periodic-announce=no
relative-periodic-announce=yes
wrapuptime = 10

When am entering into the queue, the CLI shows playing periodic announce
but actually its not playing. Even I do have the file in the proper
directory.

Below is the CLI log,


--  Playing 'avgtest/AVG-13.slin' (language 'en')
[May 30 05:50:07] NOTICE[2711]: chan_sip.c:24257 handle_request_subscribe:
Received SIP subscribe for peer without mailbox: 1001
-- Executing [500@default:10] Queue("SIP/1001-0010", "avg") in new
stack
-- Started music on hold, class 'avgtest', on SIP/1001-0010
-- Stopped music on hold on SIP/1001-0010
-- Playing periodic announcement
-- Started music on hold, class 'avgtest', on SIP/1001-0010


Regards
--
_
-- 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

Re: [asterisk-users] Queue periodic announce...

2011-01-12 Thread Mike
You'd have to use 2 queues.  After 5 minutes, exit queue 1, enter queue 2 that 
has a different periodic announcement.  Since everybody leaves queue 1 after 5 
minutes, they will enter queue 2 in the same order as they left queue 1.



Mike

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Carlos Chavez
Sent: Wednesday, January 12, 2011 2:15 PM
To: Asterisk
Subject: [asterisk-users] Queue periodic announce...

Is there a way to play a different message than the periodic announce 
after a certain time?  I have been asked by a customer to do something like 
this:

The user enters the queue.
We play position and periodic announce every 60 seconds.
If user has waited for more than 5 minutes then play a message with option to 
leave a voicemail

This means that I would have to be able to play a different message 
after five minutes.  I thought I could solve this by having the user leave the 
queue after 5 minutes, play the message with the option for voicemail and then 
reinserting them into the queue but I cannot find a way to put the user back in 
the same position they were when the timeout occurred.  Any ideas on how to 
implement this?  We are using Asterisk
1.6.2.15 with Queuemetrics.

--
Telecomunicaciones Abiertas de M xico S.A. de C.V.
Carlos Ch vez Prats
Director de Tecnolog a
+52-55-91169161 ext 2001


--
_
-- 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


[asterisk-users] Queue periodic announce...

2011-01-12 Thread Carlos Chavez
Is there a way to play a different message than the periodic announce
after a certain time?  I have been asked by a customer to do something
like this:

The user enters the queue.
We play position and periodic announce every 60 seconds.
If user has waited for more than 5 minutes then play a message with
option to leave a voicemail

This means that I would have to be able to play a different message
after five minutes.  I thought I could solve this by having the user
leave the queue after 5 minutes, play the message with the option for
voicemail and then reinserting them into the queue but I cannot find a
way to put the user back in the same position they were when the timeout
occurred.  Any ideas on how to implement this?  We are using Asterisk
1.6.2.15 with Queuemetrics.

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


signature.asc
Description: This is a digitally signed message part
--
_
-- 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