[asterisk-users] AddQueueMember and stateinterface question
magnus.b at inputinterior.se
magnus.b at inputinterior.se
Tue Feb 22 04:06:37 CST 2011
Hi,
I have missed something so I wonder if someone could explain for me?
0424449647 desktop phone
0106024647 DECT phone
0424449630 Helsingborg queue
extensions.conf
---------------
[support]
exten => 0424449647,hint,SIP/0424449647&SIP/0106024647
exten => 0424449647,1,Dial(SIP/0424449647&SIP/0106024647,15,rtT)
[inputinterior.se]
exten => 0/0424449647,1,Answer()
exten => 0/0424449647,n,RemoveQueueMember(Helsinborg,Local/0424449647 at support)
exten => 0/0424449647,n,Hangup()
;
exten => 1/0424449647,1,Answer()
exten => 1/0424449647,n,RemoveQueueMember(Helsinborg,Local/0424449647 at support)
exten => 1/0424449647,n,AddQueueMember(Helsinborg,Local/0424449647 at support,1,,Lisbeth Mingert Nilsson,SIP/0424449647)
exten => 1/0424449647,n,Hangup()
;
exten => 0424449630,1,Answer()
exten => 0424449630,n,ExecIf($[${QUEUE_MEMBER(Helsingborg,logged)}=0]?Queue(Goteborg,rtT))
exten => 0424449630,n,Queue(Helsingborg,nrtT)
If i dial 0424449630 both desktop and DECT phone rings (if 0424449647 is logged in ofc)
If desktop phone is answering, everything is fine:
Lisbeth Mingert Nilsson (Local/0424449647 at support) with penalty 1 (dynamic) (In use) has taken no calls yet
But if DECT phone is a answering:
Lisbeth Mingert Nilsson (Local/0424449647 at support) with penalty 1 (dynamic) (Not in use) has taken 1 calls (last was 136 secs ago)
I am looking for a way to "monitor" both phones.
I hought i could do something like:
exten => 1/0424449647,n,AddQueueMember(Helsinborg,Local/0424449647 at support,1,,Lisbeth Mingert Nilsson,SIP/0424449647&SIP/0106024647)
But that didn't work.
/Magnus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110222/8f54d746/attachment.htm>
More information about the asterisk-users
mailing list