[asterisk-users] Call queues
Floyd
evekeko1 at yahoo.com
Tue Jul 10 19:45:50 CDT 2007
Floyd wrote:
> Hi everyone:
>
> I've searching for a while and haven't found what i
> need.
> The thing is that i have a tdm422p with the two fxo
> ports connected to the pstn. I want my sip users to
be
> able to call other numbers(any number) in the pstn
> through my zap fxo channels. I have a big number of
> sip users so as you can imagine there will be
> congestion when some of them(more than two!!) want
to
> call outside, that is why i want to be able to put
> those outgoing calls in a queue. For example if i
want
> to call someone in the pstn and the fxo port is
> already in use, i want to be placed in a queue and
> when the channel is free my call is routed to the
> aproppiated destination. As far as i have read the
> queues are not for this kind of stuffs, there are
> just agents or extensions that attend the calls in
the
> queue and nothing more. am i wrong???
> Any help will be useful.
> thanks in advance!!
Hi,
first of all i would like to thanks to C. Chad Wallace
Noah and Rob Schall. I just solve the problem of the
outgoing call queue. Following the instructions from
Chad
i did something like this in my extensions.conf:
exten => _9XXXXXXX,1,Answer
exten => _9XXXXXXX,2,Set(_number=${EXTEN:1})
exten => _9XXXXXXX,3,Wait(2)
exten => _9XXXXXXX,4,NoOP(${number})
exten => _9XXXXXXX,5,Queue(Myqueue)
exten => _9XXXXXXX,6,Hangup
I also have a context like this
[outbound]
exten => 1,1,NoOP(${number})
exten => 1,2,Dial(Zap/G2/${number},30,t)
exten => 2,1,NoOP(${number})
exten => 2,2,Dial(Zap/G2/${number},30,t)
Finally in queues.conf
[myqueue]
member => Local/1 at outbound/n
member => Local/2 at outbound/n
And it worked perfect!!!!!!!!!!
I have my outgoing calls routed ok and the variable
travells throgh the queue without problems..
thanks!!
Eve
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
More information about the asterisk-users
mailing list