Paul Crick
2004-Sep-19 14:42 UTC
[Asterisk-Users] Using queue app with external members/destinations
Hi guys I've got a need to do some call queueing, with the slightly unusual caveat that the destination for the calls is not a phone or group of phones connected to my local asterisk box, but an "external" PSTN number. Can I setup a queue in asterisk and make the queue "member" an external address like SIP/5551234@my.pstn.gateway? There will be a smaller number of PSTN lines available at the far end destination than there are inbound calls queueing, so after X number of calls, attempts to call that "agent" will receive a busy response back until a call in progress is finished and a line becomes available to take the next queued call (does that make sense?) It sounds simple enough, and doable too, I just wanted to check if anyone else had experience and/or thoughts on this kind of setup? Thanks in advance Paul
Kenneth Shaw
2004-Sep-19 14:53 UTC
[Asterisk-Users] Using queue app with external members/destinations
What you want to do is connect the remote phone number to an internal extension. You can do this in a couple of ways, using the Manager interface and the "Connect" command. Alternatively, you can create a call file in Asterisk's call spool (usually /var/spool/asterisk or whatever) which has the same makeup as the Connect command. All you do then is specify in your extensions something like the following: [outboundqueue] exten => s,1,Answer exten => s,2,Wait(1) exten => s,3,Queue(...) All other queue stuff should work from there. -Ken Shaw... On Sun, 2004-09-19 at 14:42, Paul Crick wrote:> Hi guys > > I've got a need to do some call queueing, with the slightly unusual caveat > that the destination for the calls is not a phone or group of phones > connected to my local asterisk box, but an "external" PSTN number. > > Can I setup a queue in asterisk and make the queue "member" an external > address like SIP/5551234@my.pstn.gateway? > > There will be a smaller number of PSTN lines available at the far end > destination than there are inbound calls queueing, so after X number of > calls, attempts to call that "agent" will receive a busy response back until > a call in progress is finished and a line becomes available to take the next > queued call (does that make sense?) > > It sounds simple enough, and doable too, I just wanted to check if anyone > else had experience and/or thoughts on this kind of setup? > > Thanks in advance > Paul > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >