Trixbox 2.8 + Queue + Static Agents

th3M
Posts: 9
Member Since:
2008-05-09

Hi Everyone,

I've looked all over the site and on Google so I apologize if I've missed a post with my answer.

My setup:

Trixbox 2.8 with 3 static agents in a helpdesk-style support queue. We migrated our system from TB 2.6.x (old box still exists, just sitting gathering dust.) this past summer and now that staff are coming back for the fall, we re-instated our helpdesk queue with a ring-all ring strategy. To my surprise, having a queue with more than 1 static agent doesn't ring anyone's phone, however with just 1 static agent, it works fine; having the other agents as a dynamic doesn't resolve the issue either.

All my handsets are registered properly, and I can make an extension to extension calls no problem. One thing I have discovered is that with the ring strategy changed to round robin or least called, it seems to work just fine, but I want all handsets to ring, not just a round robin or least called.

Any thoughts or suggestions? I've just got one operator running right now, but next week we'll need all three. Thanks for your input!



th3M
Posts: 9
Member Since:
2008-05-09
Here is a follow up with my

Here is a follow up with my Asterisk log files:

Dial-in with multiple agents:

dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 1098 to extension map
-- dialparties.agi: Extension 1098 cf is disabled
-- dialparties.agi: Extension 1098 do not disturb is disabled
recordingcheck,20090825-142518,1251235518.807: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("Local/1099@from-internal-75ee;2", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("Local/1099@from-internal-75ee;2", "dial,15,trM(auto-blkvm),1099") in new stack
-- Executing [s@macro-dial:1] GotoIf("Local/1099@from-internal-75ee;2", "0?dial") in new stack
recordingcheck,20090825-142518,1251235518.805: Inbound recording not enabled
-- Executing [s@macro-dial:2] SetMusicOnHold("Local/1099@from-internal-75ee;2", "Streaming-Office") in new stack
-- Executing [s@macro-dial:3] AGI("Local/1099@from-internal-75ee;2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("Local/1006@from-internal-6f7b;2", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("Local/1006@from-internal-6f7b;2", "dial,15,trM(auto-blkvm),1006") in new stack
-- Executing [s@macro-dial:1] GotoIf("Local/1006@from-internal-6f7b;2", "0?dial") in new stack
-- Executing [s@macro-dial:2] SetMusicOnHold("Local/1006@from-internal-6f7b;2", "Streaming-Office") in new stack
-- Executing [s@macro-dial:3] AGI("Local/1006@from-internal-6f7b;2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Starting New Dialparties.agi
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'X-Lite' number is '1099'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 1099 to extension map
dialparties.agi: Caller ID name is 'X-Lite' number is '1099'
-- dialparties.agi: Extension 1099 cf is disabled
-- dialparties.agi: Extension 1099 do not disturb is disabled
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 1006 to extension map
-- dialparties.agi: Extension 1006 cf is disabled
-- dialparties.agi: Extension 1006 do not disturb is disabled
-- dialparties.agi: dbset CALLTRACE/1098 to 1099
-- dialparties.agi: Filtered ARG3: 1098
== Manager 'admin' logged off from 127.0.0.1
-- Nobody picked up in 15000 ms
-- Nobody picked up in 15000 ms
-- Nobody picked up in 15000 ms
-- AGI Script dialparties.agi completed, returning -1
-- Executing [h@from-internal:1] Macro("Local/1099@from-internal-75ee;2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("Local/1099@from-internal-75ee;2", "vw") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("Local/1099@from-internal-75ee;2", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("Local/1099@from-internal-75ee;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("Local/1099@from-internal-75ee;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("Local/1099@from-internal-75ee;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("Local/1099@from-internal-75ee;2", "") in new stack

With 1 static agent:

-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("Local/1098@from-internal-f87f;2", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("Local/1098@from-internal-f87f;2", "dial,15,trM(auto-blkvm),1098") in new stack
-- Executing [s@macro-dial:1] GotoIf("Local/1098@from-internal-f87f;2", "0?dial") in new stack
-- Executing [s@macro-dial:2] SetMusicOnHold("Local/1098@from-internal-f87f;2", "Streaming-Office") in new stack
-- Executing [s@macro-dial:3] AGI("Local/1098@from-internal-f87f;2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'X-Lite' number is '1099'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 1098 to extension map
-- dialparties.agi: Extension 1098 cf is disabled
-- dialparties.agi: Extension 1098 do not disturb is disabled
-- dialparties.agi: dbset CALLTRACE/1098 to 1099
-- dialparties.agi: Filtered ARG3: 1098
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("Local/1098@from-internal-f87f;2", "SIP/1098,15,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 1098
-- Local/1098@from-internal-f87f;1 is ringing
-- SIP/1098-097760b8 is ringing
-- Local/1098@from-internal-f87f;1 is ringing
-- Stopped music on hold on SIP/1099-b69dc598
== Spawn extension (from-internal, 1235, 10) exited non-zero on 'SIP/1099-b69dc598'
-- Executing [h@from-internal:1] Macro("SIP/1099-b69dc598", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/1099-b69dc598", "vw") in new stack

It seems the big difference between the two logs is this:


-- Executing [s@macro-dial:7] Dial("Local/1098@from-internal-f87f;2", "SIP/1098,15,trM(auto-blkvm)") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
-- Called 1098
-- Local/1098@from-internal-f87f;1 is ringing
-- SIP/1098-097760b8 is ringing
-- Local/1098@from-internal-f87f;1 is ringing
-- Stopped music on hold on SIP/1099-b69dc598

As it shows that it's ringing the extension...

Thanks again for any insight in helping me.



antidelldude
Posts: 281
Member Since:
2009-05-18
I remember reading a while

I remember reading a while ago when TB 2.8 came out, someone had your exact issue, but it was never resolved while I was watching that thread. It was dubbed a bug. I have been looking for it all over and can't find the darn thing. Someone else may be able to provide more information on it.

--

Regards,
Jon
Please respond if your problem was ever solved, and how you solved it. It'll help the next guy.



th3M
Posts: 9
Member Since:
2008-05-09
Thanks for the reply

Thanks for the reply antidelldude.

Anyone else have any further insight or on a potential fix? I'm going to have to revert back to my previous installation if I can't get this resolved; which is too bad, I was really looking forward to playing with Exchange UM integration; something our workplace would love to get into.



yiannos
Posts: 53
Member Since:
2007-01-31
Hi th3M, Did you have any

Hi th3M,

Did you have any solution or other feedback on your issue? I have a similar one that I cant figure out: http://www.trixbox.org/forums/trixbox-forums/help/tb-28-queues-ri...



sorcerer
Posts: 225
Member Since:
2007-10-03
-

did anyone find a fix/solution to this ?
I have the same problem...

in fact, I wonder who/what is responsible for the dialparties.agi script. it might be the problem.
does it come with Asterisk or the GUI (FreePBX) ?



JoshDanziger23
Posts: 2
Member Since:
2009-11-23
I had this problem but found

I had this problem but found it went away if I included an Announcement, so I just have a very short blank announcement.



sorcerer
Posts: 225
Member Since:
2007-10-03
-

I found in FreePBX forum that these type of issues are solved by replacing
"$astman = new AGI_AsteriskManager( );" in dialparties.agi
with
"$astman = $AGI->new_AsteriskManager();"

I am now trying this solution. Seems better...



krayt3ch
Posts: 158
Member Since:
2009-07-28
or place the static agents

or place the static agents in a ring group?



th3M
Posts: 9
Member Since:
2008-05-09
Hey guys, thanks for the

Hey guys, thanks for the updated posts. I knew I wasn't the only one out there.

I never did get this fixed, and our production box had to be rolled back to 2.6 due to time constraints. I'll spool up a VM box and see if this is fixed with the dialparties.agi fix.

Thanks guys!



yiannos
Posts: 53
Member Since:
2007-01-31
Hi all, I tried the agi

Hi all,

I tried the agi script modification above but had the same effect.



Vitalich
Posts: 5
Member Since:
2009-12-16
The same problem :(

Hi !

I've got the same problem with queues.

trixbox 2.8.0.2.

Dynamic agents don't work at all. Static agents work only with a ring-all ring strategy.

WBR,
Vitalich



aaspeer
Posts: 19
Member Since:
2007-01-04
I just installed 2.8.0.3

I just installed 2.8.0.3 yesterday, having this problem. If ring all is not selected, then no calls are placed from the queue... Has anyone found a resolution for this?

Thanks,
Austin Speer



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.