Many thanks  :)

I was currently trying to add a macro to app_queue.c (like Dial) but will now abandon with indecent haste and use this !

Julian.

Kevin P. Fleming wrote:
----- 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})


_______________________________________________
--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

Reply via email to