Advance call queuing?

I have an interesting project I need to get done.

I need call queuing setup. Basically what I need to happen is when someone calls a number, it will play music in the background and call an external number. (Ext 1228)

If nobody picks up that number, it should keep playing music and keep re-trying to dial that number until someone does pick up. That number is an external number which is a hunt group which rings a bunch of phones. I want people to sit on hold until someone in the hunt group picks up.

If someone does pick up, I also want it to keep sending calls to it, since it considers it 1 extention, if it considers it in use, it will just sit there.

So, currently it somewhat works. If someone calls and ext 1228 is in use, it will play music and then send the call to ext 1228. If ext 1228 doesn’t answer, it will hang up on the caller. It also plays a ringback when it’s calling 1228, but I rather it just play music.

Is asterisk able to do this?

My queues.conf

[general]
persistentmembers = yes
autofill = yes
monitor-type = MixMonitor

[nextQueue]
musicclass = default
strategy = ringall
servicelevel = 0
timeout = 5
retry = 30
weight=0
wrapuptime=15
autofill=yes
autopause=yes
maxlen = 0
setinterfacevar=no
announce-frequency = 90
periodic-announce-frequency=60
announce-holdtime = yes
announce-round-seconds = 10
member => local/1228@xxx,1
joinempty = yes

My extentions

exten => 1228,1,Answer
exten => 1228,2,Dial(SIP/148030xxxxx@208.xx.xx.110)
exten => 1228,3,Hangup

In extensions.conf for extension 1228, remove the answer(), and change the hangup() to busy()

Hope this helps.

-Dave

[quote=“davevg”]In extensions.conf for extension 1228, remove the answer(), and change the hangup() to busy()

Hope this helps.

-Dave[/quote]

Thanks. It doesn’t seem to work though.

exten => 1228,1,Dial(SIP/148030xxxxx@208.xx.xx.110)
exten => 1228,2,Busy

I called once and it rang ext 1228 once and then hung up and now when I call it just sits on hold with the music, while ext 1228 doesn’t have a phone call.

  local/1228@xx with penalty 1 (paused) (Not in use) has taken no calls yet

I’m not sure why it paused my line.

First it said:

  local/1228@xx with penalty 1 (Invalid) has taken no calls yet

and then when I made a call it said:

  local/1228@xx with penalty 1 (paused) (Not in use) has taken no calls yet

Remove this line in queues.conf and then reload app_queue.so

[quote=“davevg”]Remove this line in queues.conf and then reload app_queue.so

I removed that, i’m still invalid.

I replied to your PM.

In case anyone is curious, it was fixed by adding stuff to modules.conf

See bug: bugs.digium.com/view.php?id=12671