[asterisk-users] Mobile (cell) phone in a queue (but act like an agent

Gareth Llewellyn gareth at networksaremadeofstring.co.uk
Wed Oct 8 11:18:54 CDT 2008


Hi,
   I need a way to have mobile phones in a queue and have to press a key when picking up the phone (to thwart answer phones) before transfering.

What I've built so far is as follows but unfortunately if the mobile number picks up the call is immediately bridged.

extensions.conf
;Announce the wait
exten => s,1,Playback(notices/take_time_to_answer)

;Call the queue with just the desk phones in it
exten => s,2,Queue(allQueue,n)

;Dynamicly Add queue members
exten => s,3,AddQueueMember(allQueue|IAX2/Asterisk-1 at uplink/07811111111<mailto:allQueue|IAX2/Asterisk-1 at uplink/07811111111>)

;Call queue again now the remote people have been added to the queue
exten => s,4,Queue(allQueue,tn)

queues.conf
[allQueue]
announce =  queues/general_announce
timeout=30
retry=4
maxlen = 0
announce-frequency = 0
announce-holdtime = no

;Desk Phones
member => SIP/DeskPhone1
member => SIP/DeskPhone2
member => SIP/DeskPhone3

Any suggestions / dial plan work arounds?

Gareth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081008/340a4827/attachment.htm 


More information about the asterisk-users mailing list