[asterisk-users] Exit Dial Application
Danny Nicholas
danny at debsinc.com
Wed Apr 15 16:10:37 CDT 2009
Mea culpa. Just being a bit lazy. In real use, the _X.-noanswer would be
s-NOANSWER (at least that's how it works in MY Dialplan).
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tzafrir Cohen
Sent: Wednesday, April 15, 2009 4:00 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Exit Dial Application
On Wed, Apr 15, 2009 at 09:24:54AM -0500, Danny Nicholas wrote:
> This is what you "Really" want; It should work with SIP or Zap
>
> exten => _X.,1,Dial(${DIALNUM},${ARG2},tT)
> exten => _X.-NOANSWER,1,background(press5tocallback)
> exten => -X.-NOANSWER,2,waitexten(5)
Anything after a '.' in a pattern match is practically ignored.
Also note that X only matches digits.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list