Hi All, Usually we need to queue calls coming from outside our system and for that we use queues.conf, in this case we have a lot of employees that are using POTS (Dahdi or zap channels) and we want to make them go by order since we have limited outgoing lines, does anybody have a clue what to use in this case, is queues.conf will still be useful in the case figure? -- Khalid Touati Network Administrator at Endosoft, LLC CCNA -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110812/10edbc79/attachment.htm>
You can use "call-queueing" to accomplish this. When your employee dials the number (555-1212 for demonstration purposes), instead of going directly out, the call goes to /var/spool/asterisk/outgoing as an entry. When this entry comes up, the employee gets a call-back/connect to his/her party. You would need to provide a 911 and/or executive loophole however. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of khalid touati Sent: Friday, August 12, 2011 8:58 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Queuing outgoing calls Hi All, Usually we need to queue calls coming from outside our system and for that we use queues.conf, in this case we have a lot of employees that are using POTS (Dahdi or zap channels) and we want to make them go by order since we have limited outgoing lines, does anybody have a clue what to use in this case, is queues.conf will still be useful in the case figure? -- Khalid Touati Network Administrator at Endosoft, LLC CCNA -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110812/98475972/attachment.htm>
Hi Danny, Thnks for your response but I googled "call-queueing" with no success, are your referring to the concept or a third party application or an Asterisk function..., can you please specify? On Fri, Aug 12, 2011 at 10:03 AM, Danny Nicholas <danny at debsinc.com> wrote:> You can use ?call-queueing? to accomplish this. When your employee dials > the number (555-1212 for demonstration purposes), instead of going directly > out, the call goes to /var/spool/asterisk/outgoing as an entry. When this > entry comes up, the employee gets a call-back/connect to his/her party. You > would need to provide a 911 and/or executive loophole however.**** > > ** ** > > > > -- > _____________________________________________________________________ > -- 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 >-- Khalid Touati Network Administrator at Endosoft, LLC CCNA -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110812/44a1963f/attachment.htm>
The .call file can connect an internal number to an outside number Look at this sample Channel: DAHDI/R1/5551212 MaxRetries: 2 # Retry in 5 min RetryTime: 300 WaitTime: 45 Context: outgoing Extension:100 Priority: 1 This sample call makes a call on DAHDI using Round Robin Group 1. If the call can be made, it connects to internal extension 100. So instead of your employee dialing 5551212 directly, they dial 1234 and enter 5551212 as the number to be dialed. When a line becomes available and the call goes through, 100 is bridged in and the call is done Exten => 1234,1,read(numtodial,enternum,10,skip,1,10) Exten => 1234,2,AGI(makecall.agi,${EXTEN},${numtodial}) Exten => 1234,3,hangup() Makecall.agi #!/bin/sh echo "extension: $1" > call1.tmp echo "maxtries: 3" >> call1.tmp echo "retrytime: 300" >> call1.tmp echo "Channel: DAHDI/R1/$2" >> call1.tmp echo "Priority: 1" >> call1.tmp chmod +x call1.tmp mv call1.tmp /var/spool/asterisk/outgoing From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of khalid touati Sent: Friday, August 12, 2011 9:56 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Queuing outgoing calls Hi Danny, Thnks for your response but I googled "call-queueing" with no success, are your referring to the concept or a third party application or an Asterisk function..., can you please specify? On Fri, Aug 12, 2011 at 10:03 AM, Danny Nicholas <danny at debsinc.com> wrote: You can use "call-queueing" to accomplish this. When your employee dials the number (555-1212 for demonstration purposes), instead of going directly out, the call goes to /var/spool/asterisk/outgoing as an entry. When this entry comes up, the employee gets a call-back/connect to his/her party. You would need to provide a 911 and/or executive loophole however. -- _____________________________________________________________________ -- 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 -- Khalid Touati Network Administrator at Endosoft, LLC CCNA -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110812/8ac4517a/attachment.htm>
On Fri, 12 Aug 2011, Danny Nicholas wrote:> Exten => 1234,2,AGI(makecall.agi,${EXTEN},${numtodial}) > > Makecall.agi > > #!/bin/sh > echo "extension: $1" > call1.tmp > echo "maxtries: 3" >> call1.tmp > echo "retrytime: 300" >> call1.tmp > echo "Channel: DAHDI/R1/$2" >> call1.tmp > echo "Priority: 1" >> call1.tmp
Hey Danny thanks a bunch! I really appreciate that. Thank you Steve! On Fri, Aug 12, 2011 at 3:05 PM, Danny Nicholas <danny at debsinc.com> wrote:> The .call file can connect an internal number to an outside number**** > > Look at this sample**** > > Channel: DAHDI/R1/5551212**** > > MaxRetries: 2**** > > # Retry in 5 min**** > > RetryTime: 300**** > > WaitTime: 45**** > > Context: outgoing**** > > Extension:100**** > > Priority: 1**** > > ** ** > > This sample call makes a call on DAHDI using Round Robin Group 1. If the > call can be made, it connects to internal extension 100. So instead of your > employee dialing 5551212 directly, they dial 1234 and enter 5551212 as the > number to be dialed. When a line becomes available and the call goes > through, 100 is bridged in and the call is done**** > > ** ** > > Exten => 1234,1,read(numtodial,enternum,10,skip,1,10)**** > > Exten => 1234,2,AGI(makecall.agi,${EXTEN},${numtodial})**** > > Exten => 1234,3,hangup()**** > > ** ** > > Makecall.agi**** > > #!/bin/sh**** > > echo "extension: $1" > call1.tmp**** > > echo "maxtries: 3" >> call1.tmp**** > > echo "retrytime: 300" >> call1.tmp**** > > echo "Channel: DAHDI/R1/$2" >> call1.tmp**** > > echo "Priority: 1" >> call1.tmp**** > > chmod +x call1.tmp**** > > mv call1.tmp /var/spool/asterisk/outgoing**** > > ** ** > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *khalid touati > *Sent:* Friday, August 12, 2011 9:56 AM > > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] Queuing outgoing calls**** > > ** ** > > Hi Danny, > Thnks for your response but I googled "call-queueing" with no success, are > your referring to the concept or a third party application or an Asterisk > function..., can you please specify?**** > > On Fri, Aug 12, 2011 at 10:03 AM, Danny Nicholas <danny at debsinc.com> > wrote:**** > > You can use ?call-queueing? to accomplish this. When your employee dials > the number (555-1212 for demonstration purposes), instead of going directly > out, the call goes to /var/spool/asterisk/outgoing as an entry. When this > entry comes up, the employee gets a call-back/connect to his/her party. You > would need to provide a 911 and/or executive loophole however.**** > > **** > > ** ** > > ** ** > > > -- > _____________________________________________________________________ > -- 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**** > > > > > -- > Khalid Touati > Network Administrator at Endosoft, LLC > CCNA > > **** > > -- > _____________________________________________________________________ > -- 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 >-- Khalid Touati Network Administrator at Endosoft, LLC CCNA -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110812/f8dfd5d0/attachment.htm>