Klaverstyn, David C
2012-Nov-26 02:14 UTC
[asterisk-users] Queues and Distinctive Ring with Alert-Info
Hi All, I'm new to Queues and I have created one as follows which seems to work ok. [david-test] strategy = rrmemory timeout = 10 retry = 0 maxlen = 0 announce-frequency = 0 announce-holdtime = no member => SIP/121 member => SIP/122 member => SIP/123 I'm wondering how do you change the SipAddHeader/Alert-Info when a call comes from a queue so users know it is a queue that is calling? Is something like the following supposed to work? exten => 0453451564,1,SipAddHeader(Alert-Info: n=Classic-4;w=3;c=4) exten => 0453451564,2,Queue(david-test) Regards David Klaverstyn -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121126/61514ec9/attachment.htm>
Larry Moore
2012-Nov-26 14:11 UTC
[asterisk-users] Queues and Distinctive Ring with Alert-Info
On 26/11/2012 10:14 AM, Klaverstyn, David C wrote:> Hi All, > > I?m new to Queues and I have created one as follows which seems to work ok. > > [david-test] > > strategy = rrmemory > > timeout = 10 > > retry = 0 > > maxlen = 0 > > announce-frequency = 0 > > announce-holdtime = no > > member => SIP/121 > > member => SIP/122 > > member => SIP/123 > > I?m wondering how do you change the SipAddHeader/Alert-Info when a call > comes from a queue so users know it is a queue that is calling? > > Is something like the following supposed to work? > > exten => 0453451564,1,SipAddHeader(Alert-Info: n=Classic-4;w=3;c=4) > > exten => 0453451564,2,Queue(david-test) > >Seems to work with Asterisk 1.8.18.0. I'm using extensions.ael and have tested the following; 400 => { SIPAddHeader(Alert-Info: n=Classic-4;w=3;c=4); Queue(400,inrt,,,30); Hangup(); }; Larry.