[Asterisk-Users] dummy Technology/resource for Dial

Morgan Gilroy morgan at telappliant.com
Tue Feb 7 04:27:55 MST 2006


Hmm see if this works,

Extensions.conf
[ring-30]
exten => s,1,ringing();
exten => s,2,wait(30);
exten => s,3,hangup();

...

then in your Dial(SIP/1&SIP/2&Local/s at ring-30);

 > -----Original Message-----
 > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
 > bounces at lists.digium.com] On Behalf Of Brian J. Murrell
 > Sent: 07 February 2006 03:56
 > To: Asterisk Users Mailing List - Non-Commercial Discussion
 > Subject: [Asterisk-Users] dummy Technology/resource for Dial
 > 
 > I need to guarantee a Dial(Technology/resource,20) will ring
somewhere
 > for 20 seconds before timing out.  The problem is that if all of my
 > Technology/resource pairs are SIP phones for example, if none of the
 > listed phones are actually online/logged in, the Dial bails
immediately.
 > I would rather the Dial run it's timeout course.
 > 
 > Any way I can do that?  Is there a way to create some kind of "dummy"
 > Technology/resource that will never answer but will always keep
Dial()
 > happy that it might?
 > 
 > Thanx,
 > b.
 > 
 > --
 > My other computer is your Microsoft Windows server.
 > 
 > Brian J. Murrell



More information about the asterisk-users mailing list