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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100518/97ce2dc1/attachment.htm
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 >
the simple way i can see it is the following;let's say you have ?did starts with 1708 [from-did]exten = _1708XXXXXXX,1,Answerexten =?_1708XXXXXXX,n,Queue(SALES,,)exten = h,1,Hangup -- AHD Tarek Sawah Integrated Digital Systems CCNA, MCSE, RHCE, VoIP Syria: +963 944 618286 USA: +1 347 562 2308 ________________________________> Date: Tue, 18 May 2010 20:47:12 -0700 > From: toqeer83 at gmail.com > To: asterisk-users at lists.digium.com > Subject: [asterisk-users] a2billing DID and Queues > > 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_________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2