Re: [asterisk-users] a2billing DID and Queues

2010-05-19 Thread Tarek Sawah

the simple way i can see it is the following;let's say you have  did starts 
with 1708
[from-did]exten = _1708XXX,1,Answerexten 
= _1708XXX,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: toqee...@gmail.com
 To: asterisk-users@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
-- 
_
-- 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] a2billing DID and Queues

2010-05-18 Thread toqeer ali
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
-- 
_
-- 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] a2billing DID and Queues

2010-05-18 Thread Vardan
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/5...@callcenter/n
member = Local/5...@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(5001);
 };

 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: i...@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



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