QueueMetrics professional call center suite for the Asterisk PBX
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the new forum!
Home
Help
Search
Login
Register
QueueMetrics forum
»
QueueMetrics
»
General Asterisk configuration
»
.call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
« previous
next »
Print
Pages: [
1
]
Author
Topic: .call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ?? (Read 4682 times)
torontob
Full Member
Posts: 155
Karma: 0
.call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
«
on:
October 25, 2010, 21:22:33 »
Hello,
I see that our extensions_queuemetrics.conf exists and it's included in extensions_custom.conf. When trying to PAUSE and UNPAUSE from agent portal the call file created in /var/spool/asterisk/outgoing is chowned root.root rather than asterisk.asterisk and hence agents can't go on PAUSE or UNPAUSE. We are using PBXinaFLASH.
I remember to have fixed this previously maybe by changeing ${AGENT} to ${LOCAL} or something but now I can't find that post.
Please help.
P.S. how does one debug the java code for the buttons PAUSE and UNPAUSE to find the source of the code as to why the files are chowned with root.root rather than asterisk user.
Thanks
Logged
QueueMetrics
Loway
Hero Member
Posts: 2999
Karma: 39
Re: .call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
«
Reply #1 on:
October 26, 2010, 14:08:36 »
Do not use the callfile, use the
tcp:user:pass@server
format!
Logged
torontob
Full Member
Posts: 155
Karma: 0
Re: .call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
«
Reply #2 on:
October 27, 2010, 01:18:10 »
Yep, that worked.
If a call is put on PAUSE the "queue show" should show it on PAUSE in Asterisk CLI right? But it doesn't. I think because it uses the ${AGENT} format rather than ${Local).....
Can you please comment on that.
Thanks
Logged
QueueMetrics
Loway
Hero Member
Posts: 2999
Karma: 39
Re: .call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
«
Reply #3 on:
October 27, 2010, 09:06:43 »
Not sure about the CLI, but youu get a PAUSEALL command. If it's written on the log, then it's issued.
Logged
torontob
Full Member
Posts: 155
Karma: 0
Re: .call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
«
Reply #4 on:
October 27, 2010, 16:51:20 »
That is true. The Queue Log does show the PAUSE but would that STOP Asterisk from sending calls to that specific extension?
I think you didn't get my question.
Thanks
Logged
QueueMetrics
Loway
Hero Member
Posts: 2999
Karma: 39
Re: .call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
«
Reply #5 on:
October 28, 2010, 09:54:20 »
Yes it should - we never saw any case where a PAUSEALL would noyt pause the agent in the queue (as long as the channel name is the same, of course).
Logged
torontob
Full Member
Posts: 155
Karma: 0
Re: .call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
«
Reply #6 on:
October 28, 2010, 18:41:26 »
I had to change this to work:
From:
PauseQueueMember(,Local/${AGENTCODE}@from-internal)
To:
PauseQueueMember(,Local/${AGENTCODE}@from-internal/n)
I wish all distros of Asterisk stayed Standard. Digium is partly to blame for the various changes :-(
Logged
QueueMetrics
Loway
Hero Member
Posts: 2999
Karma: 39
Re: .call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??
«
Reply #7 on:
October 29, 2010, 10:36:47 »
Logged
Print
Pages: [
1
]
« previous
next »
QueueMetrics forum
»
QueueMetrics
»
General Asterisk configuration
»
.call file for PAUSE and UNPAUSE is chowned root.root hence it doesn't work - ??