SV: [Asterisk-Users] delaying "answer" for a number of rings or
anamount of time
jan.sarin at securia.se
jan.sarin at securia.se
Thu Feb 2 14:08:46 MST 2006
http://lists.digium.com/pipermail/asterisk-users/2005-September/125146.html
-----Ursprungligt meddelande-----
Från: asterisk-users-bounces at lists.digium.com genom Brian J. Murrell
Skickat: to 2006-02-02 20:14
Till: asterisk-users at lists.digium.com
Ämne: [Asterisk-Users] delaying "answer" for a number of rings or anamount of time
I want Asterisk to delay answering the POTS line via a Wildcard (a Zap
channel) by some period of time, either a number of rings or just a
number of seconds.
I have tried this:
[from-pots]
exten => s,1,Wait(30)
exten => s,n,Answer
...
exten => s,n,Dial(SIP/brian&SIP/joe,10,H)
exten => s,n,Voicemail(u2001)
exten => s,n,Hangup
exten => s,103,Voicemail(u2001)
exten => s,104,Hangup
exten => h,1,Hangup
exten => i,1,Hangup
but that doesn't work. It seems that as soon as the first or second
ring is detected, Asterisk has decided it will answer the line, it just
waits 30 seconds to do it.
The problem I have is that the POTS line that Asterisk is on is shared
by handsets, and if somebody picks up a handset soon enough, I don't
want Asterisk to pick up the line. Yeah, Asterisk as an answering
machine... until I can get at least one FXS interface, anyway.
Any ideas?
b.
--
My other computer is your Microsoft Windows server.
Brian J. Murrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3429 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060202/16be82af/attachment.bin
More information about the asterisk-users
mailing list