VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
thomas.kenner at acove... Guest
|
Posted: Mon Jan 28, 2008 7:36 am Post subject: [asterisk-users] Dial agent channel - busy |
|
|
Hi,
when I'm trying to call the following extension
exten => 6002,1,Verbose(1|Extension 6002)
exten => 6002,n,Dial(Agent/6002)
exten => 6002,n,Hangup()
the call is terminated and I get the following warning from asterisk:
app_dial.c:1106 dial_exec_full: Unable to create channel of type 'Agent'
(cause 17 - User busy)
When calling the agent with Dial(SIP/6002) no problem occurs.
What could be wrong?
Some additional information about the configuration:
The asterisk version is 1.4.10
-----------------------------------------------------------------------------
In users.conf I defined a user 6002:
[6002]
fullname = Test Agent
email = test.agent at agent.com
secret = 1234
zapchan = 1
hasvoicemail = yes
vmsecret = 1234
hassip = yes
hasiax = no
hash323 = no
hasmanager = no
callwaiting = no
context = international
host=dynamic
-----------------------------------------------------------------------------
In agents.conf I added the agent
agent => 6002,1234,Test Agent
-----------------------------------------------------------------------------
and in queues.conf I added a queue testQueue2:
[testQueue2]
music=default
strategy=ringall
timeout=15
retry=5
wrapuptime=0
maxlen = 0
announce-frequency = 0
announce-holdtime = no
member => Agent/6002
servicelevel = 60
-----------------------------------------------------------------------------
Thanks a lot,
Thomas
--
Thomas Kenner |
|
Back to top |
|
|
atis at iq-labs.net Guest
|
Posted: Mon Jan 28, 2008 8:02 am Post subject: [asterisk-users] Dial agent channel - busy |
|
|
On 1/28/08, Thomas Kenner <thomas.kenner at acoveo.com> wrote:
Quote: | Hi,
when I'm trying to call the following extension
exten => 6002,1,Verbose(1|Extension 6002)
exten => 6002,n,Dial(Agent/6002)
exten => 6002,n,Hangup()
the call is terminated and I get the following warning from asterisk:
app_dial.c:1106 dial_exec_full: Unable to create channel of type 'Agent'
(cause 17 - User busy)
When calling the agent with Dial(SIP/6002) no problem occurs.
What could be wrong?
|
I never got this working, not sure why (wiki states that it should work).
However Agent channel is considered obsolete - because of locking
problems. You should consider using Local channels with GROUP_COUNT,
and if you're using call queues, you would want to use this backported
patch from 1.6.
http://lists.digium.com/pipermail/asterisk-dev/2008-January/031545.html
Regards,
Atis
Quote: |
Some additional information about the configuration:
The asterisk version is 1.4.10
-----------------------------------------------------------------------------
In users.conf I defined a user 6002:
[6002]
fullname = Test Agent
email = test.agent at agent.com
secret = 1234
zapchan = 1
hasvoicemail = yes
vmsecret = 1234
hassip = yes
hasiax = no
hash323 = no
hasmanager = no
callwaiting = no
context = international
host=dynamic
-----------------------------------------------------------------------------
In agents.conf I added the agent
agent => 6002,1234,Test Agent
-----------------------------------------------------------------------------
and in queues.conf I added a queue testQueue2:
[testQueue2]
music=default
strategy=ringall
timeout=15
retry=5
wrapuptime=0
maxlen = 0
announce-frequency = 0
announce-holdtime = no
member => Agent/6002
servicelevel = 60
-----------------------------------------------------------------------------
Thanks a lot,
Thomas
--
Thomas Kenner
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
| --
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835 |
|
Back to top |
|
|
pdhales at optusnet.co... Guest
|
Posted: Mon Jan 28, 2008 8:13 pm Post subject: [asterisk-users] Dial agent channel - busy |
|
|
What does 'show agents' give you? 'show queues' would be useful too.
PaulH
On Mon, 2008-01-28 at 13:36 +0100, Thomas Kenner wrote:
Quote: | Hi,
when I'm trying to call the following extension
exten => 6002,1,Verbose(1|Extension 6002)
exten => 6002,n,Dial(Agent/6002)
exten => 6002,n,Hangup()
the call is terminated and I get the following warning from asterisk:
app_dial.c:1106 dial_exec_full: Unable to create channel of type 'Agent'
(cause 17 - User busy)
When calling the agent with Dial(SIP/6002) no problem occurs.
What could be wrong?
Some additional information about the configuration:
The asterisk version is 1.4.10
-----------------------------------------------------------------------------
In users.conf I defined a user 6002:
[6002]
fullname = Test Agent
email = test.agent at agent.com
secret = 1234
zapchan = 1
hasvoicemail = yes
vmsecret = 1234
hassip = yes
hasiax = no
hash323 = no
hasmanager = no
callwaiting = no
context = international
host=dynamic
-----------------------------------------------------------------------------
In agents.conf I added the agent
agent => 6002,1234,Test Agent
-----------------------------------------------------------------------------
and in queues.conf I added a queue testQueue2:
[testQueue2]
music=default
strategy=ringall
timeout=15
retry=5
wrapuptime=0
maxlen = 0
announce-frequency = 0
announce-holdtime = no
member => Agent/6002
servicelevel = 60
-----------------------------------------------------------------------------
Thanks a lot,
Thomas
|
|
|
Back to top |
|
|
thomas.kenner at acove... Guest
|
Posted: Tue Jan 29, 2008 9:43 am Post subject: [asterisk-users] Dial agent channel - busy |
|
|
show agents:
6001 (First Agent) available at '6001' (musiconhold is 'default')
6002 (Test Agent) available at '6002' (musiconhold is 'default')
2 agents configured [2 online , 0 offline]
______________________________________________________________________
show queues:
testQueue2 has 0 calls (max unlimited) in 'ringall' strategy (10s holdtime),
W:0, C:1, A:0, SL:100.0% within 60s
Members:
Agent/6002 (Not in use) has taken 1 calls (last was 88511 secs ago)
No Callers
testQueue has 0 calls (max unlimited) in 'ringall' strategy (11s holdtime),
W:0, C:1, A:0, SL:100.0% within 60s
Members:
Agent/6001 (Not in use) has taken 1 calls (last was 101522 secs ago)
No Callers
______________________________________________________________________
Thomas
On Tuesday 29 January 2008 02:13:10 Paul Hales wrote:
Quote: | What does 'show agents' give you? 'show queues' would be useful too.
PaulH
|
--
Thomas Kenner |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|