[asterisk-users] Queuing outgoing calls

khalid touati khalidtouati at gmail.com
Fri Aug 12 14:44:14 CDT 2011


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>


More information about the asterisk-users mailing list