[asterisk-users] . (period): Wildcard match; matches one or more characters
Mojo with Horan & Company, LLC
mojo at horanappraisals.com
Fri Sep 28 16:52:38 CDT 2007
An example similar to one that exists in many dialplans:
exten => _011.,1,Dial(Zap/g1/${EXTEN})
which would match any international number as dialed from North America
because, depending on what country you'd be calling, the number of
digits after the 011 would differ. As such, putting the period after
the 011 says 'match 011 followed by one or more digits". To use the
wildcard characters, 'X', 'N', or '.', I had to also prefix my
extension with '_', which enables pattern matching.
Mojo
bilal ghayyad wrote:
> Hi List;
>
> In the outbound, I read in the documents the Wildcard
> match "by using the . (period)", but I did not
> understand how Wildcard will work (like what)? As I
> know that Wildcard is a term used with the Diguim TDM
> card (FXO and FXS), so what is the relation between
> such cards and the matching in the dial plan?
>
> Any help?
>
> Regards
> Bilal
>
>
> ____________________________________________________________________________________
> Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
>
>
>
> _______________________________________________
>
> Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/
>
> --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