[Asterisk-Users] Integration of external (ZAP) agents into queue
Michael Hamann
mail at mhamann.net
Thu Dec 8 01:55:12 MST 2005
Hey,
I´m just wondering if its possible to login an ISDN phone connected to my
asterisk box via an S0 Trunk line.
My setup is:
Siemens Hipath 4000 <---- S0 ----> Asterisk <--- SIP ---> x SIP Phones
I would like to setup several queues on my asterisk and allow both SIP
Users as well as the external ZAP devices to register as agents in the
queue.
At the moment my queue is working, a Siemens user is able to dial the
login extension which looks like the following:
-- Accepting voice call from '3331' to '3299' on channel 0/1, span 4
-- Executing Macro("Zap/10-1", "agent-add|101|101") in new stack
-- Executing Wait("Zap/10-1", "1") in new stack
-- Accepting voice call from '3331' to '3299' on channel 0/1, span 4
-- Executing Macro("Zap/10-1", "agent-add|101|101") in new stack
-- Executing Wait("Zap/10-1", "1") in new stack
-- Executing GotoIf("Zap/10-1", "0?4:3)") in new stack
-- Goto (macro-agent-add,s,3)
-- Executing Authenticate("Zap/10-1", "101") in new stack
-- Playing 'agent-pass' (language 'de')
-- Executing GotoIf("Zap/10-1", "0?4:3)") in new stack
-- Goto (macro-agent-add,s,3)
-- Executing Authenticate("Zap/10-1", "101") in new stack
-- Playing 'agent-pass' (language 'de')
-- Playing 'auth-thankyou' (language 'de')
-- Playing 'auth-thankyou' (language 'de')
-- Executing AddQueueMember("Zap/10-1", "101") in new stack
-- Executing AddQueueMember("Zap/10-1", "101") in new stack
Dec 8 11:44:48 NOTICE[10197]: app_queue.c:2812 aqm_exec: Added interface
'Zap/10' to queue '101'
Added interface 'Zap/10' to queue '101'
-- Executing Wait("Zap/10-1", "1") in new stack
-- Executing Wait("Zap/10-1", "1") in new stack
-- Executing Playback("Zap/10-1", "agent-loginok") in new stack
-- Playing 'agent-loginok' (language 'de')
-- Executing Playback("Zap/10-1", "agent-loginok") in new stack
-- Playing 'agent-loginok' (language 'de')
-- Executing Hangup("Zap/10-1", "") in new stack
== Spawn extension (macro-agent-add, s, 7) exited non-zero on 'Zap/10-1'
in macro 'agent-add'
== Spawn extension (isdn-incoming, 3299, 1) exited non-zero on 'Zap/10-1'
-- Executing Hangup("Zap/10-1", "") in new stack
== Spawn extension (macro-agent-add, s, 7) exited non-zero on 'Zap/10-1'
in macro 'agent-add'
== Spawn extension (isdn-incoming, 3299, 1) exited non-zero on 'Zap/10-1'
-- Hungup 'Zap/10-1'
-- Hungup 'Zap/10-1'
When I do:
bit144*CLI> show queue 101
101 has 0 calls (max 2) in 'fewestcalls' strategy (0s holdtime),
W:0, C:0, A:0, SL:0.0% within 0s
Members:
Zap/10 (dynamic) (Not in use) has taken no calls yet
No Callers
The ZAP endpoint seems to be registered in the queue but when I call my
queue, the call is not forwarded to the right (external extension):
-- Executing Answer("SIP/6002-30fd", "") in new stack
-- Executing SetCIDName("SIP/6002-30fd", "Hotline - Snom 190") in new
stack
-- Executing Queue("SIP/6002-30fd", "101|t|||120") in new stack
-- Started music on hold, class 'default', on SIP/6002-30fd
-- Requested transfer capability: 0x00 - SPEECH
-- Called Zap/11
-- Executing Answer("SIP/6002-30fd", "") in new stack
-- Executing SetCIDName("SIP/6002-30fd", "Hotline - Snom 190") in new
stack
-- Executing Queue("SIP/6002-30fd", "101|t|||120") in new stack
-- Started music on hold, class 'default', on SIP/6002-30fd
-- Requested transfer capability: 0x00 - SPEECH
-- Called Zap/11
-- Nobody picked up in 10000 ms
-- Hungup 'Zap/11-1'
-- Nobody picked up in 10000 ms
-- Hungup 'Zap/11-1'
I seems like only the port (in this case Zap/11-1) is registered but not
the numbered extension. So when a call is to be forwarded by the queue it
dows not know where to direct it.
Is it possible to do this anyhow? Or did anybody realize something like
this before?
Thanks in advance
Michael
More information about the asterisk-users
mailing list