[asterisk-users] a2billing DID and Queues
Vardan
hvardan71 at gmail.com
Wed May 19 00:25:55 CDT 2010
Hello
I think you can do this using Local Channel
for example I have do so:
queues.conf
[MyQueue]
musicclass = default
ringinuse = yes
strategy=leastrecent
joinempty = yes
timeout=60
retry=5
weight=0
wrapuptime=1
maxlen = 0
announce-frequency = 10
announce-holdtime = no
periodic-announce = knereq_bolor_oper_zbaxvac_zang_poqrush
periodic-announce-frequency = 30
announce-round-seconds = 10
reportholdtime = no
timeoutrestart = no
member => Local/5002 at callcenter/n
member => Local/5001 at callcenter/n
context = callcenter
context callcenter {
_500. => {
Noop(${EXTEN});
Noop(${incpeerunique});
Noop(${CALLERID(all)});
operphone="phone${EXTEN:3:1}";
Noop(Call count:${SIPPEER(phone1:curcalls)});
DB(${operphone}/inccid)=${CALLERID(number)};
SetMusicOnHold(default);
Dial(SIP/${operphone},,tTg);
Noop(50000001);
};
h => {
//NoCDR;
Noop(Hangup in callcenter context);
DB(${operphone}/inccid)=""};
};
};
context a2bdid {
_X. => {
Noop(${CALLERID(rdnis)});
Noop(${CALLERID(number)});
Noop(${CALLERID(name)});
Noop(${CALLERID(all)});
Set(CHANNEL(language)=am) ;
Noop(${QUEUE_WAITING_COUNT(MyQueue)});
Noop(${QUEUE_MEMBER_COUNT(MyQueue)});
Ringing;
Queue(MyQueue,tTr);
Noop(Posle Queue);
Noop(Vau);
Hangup;
};
h => {
Noop(Hangup in callcenter1 context);
};
};
This is work for me.
Best regards,
--
Vardan Harutyunyan,
Senior System Administrator
Enterprise Incubator Foundation
123 Hovsep Emin Street,
Yerevan 0051, Republic of Armenia
Tel: + 374 10 219735
Fax: + 374 10 219777
E-mail: info at eif.am
www.eif-it.com
toqeer ali wrote:
> Hi all,
>
> I have configured asterisk and a2billing.for inbound i have also
> configured did and its forwarded to sip extensions.
>
> But i want to enable queues with inbound numbers(DID).But i could not
> find a way to do this in a2billing.
>
>
> I want enable that if some did comes to asterisk/a2billing it should be
> forwarded to queues not sip extensions and
>
> their i want to enable hunting so if one extensions does not receive the
> call so it should be forwarded to the next
>
> extensions.
>
> So please help, Any help will highly appreciated.
>
> Thanks
>
> --
> Toqeer Ali Syed
>
> Red Hat Certified Engineer
> mob: +92 321 9059916
>
More information about the asterisk-users
mailing list