[Asterisk-Users] Hotline

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Sun Jul 18 06:42:43 MST 2004


On Sunday 18 July 2004 09:36, Junaid Uppal wrote:
> I tried checking out for this feature , what i want to do is that as
> soon as the user picks up the handset , * waits for 10 secs and then
> dials a predefined number , its like the "HOTLINE" feature we have in
> normal POTs . Is it possible with Asterisk? If yes then how?

use immediate=yes in zapata.conf on the channel you want to be a hotline, and 
then in the defined context something like

exten => s,1,Wait(10)
exten => s,2,Dial(${BATMAN},,T)

Read up on immediate mode and the dial command if you need more info.

-A.



More information about the asterisk-users mailing list