----- Julian Lyndon-Smith <[EMAIL PROTECTED]> wrote:
> Now, I want to be able to use a device, rather than agents. So I can
> use
> addQueueMember and add my SIP device. However, I still want to do a
> couple of things before the device is called.
This is what the Local channel (chan_local) is for.
If your SIP device is called "myfancyphone", then instead of adding
SIP/myfancyphone to the queue using AddQueueMember, add (instead) Local/[EMAIL
PROTECTED], and then in your dialplan:
[members]
exten => myfancyphone,1,...
exten => myfancyphone,n,...
exten => myfancyphone,n,Dial(SIP/${EXTEN})
--
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users