[asterisk-users] Queues and Distinctive Ring with Alert-Info
Larry Moore
lmoore at omninet.net.au
Mon Nov 26 08:11:33 CST 2012
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.
More information about the asterisk-users
mailing list