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: [email protected]
[mailto:[email protected]] On Behalf Of Tzafrir Cohen
Sent: Wednesday, April 15, 2009 4:00 PM
To: [email protected]
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:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/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


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

Reply via email to