>From what I have read in the wiki and in the source code the current pattern '.' will match one or more digits in the dialplan. This allows a match on a part of a dialed extension. E.g. '_0.' matches anything that starts with a 9 and has at least one more digit but not '0' by itself.
Can a pattern be written that immediately matches the '0' as well? I want to have a single digit 0 from the incoming channel dial out on the outgoing channel while at the same time allowing the incoming channel to pass '0phone-number' as well. I would like to hand over outgoing calls as fast as possible to the trunk line. It seems easy enough to add a 'match anything, even nothing' to EXTENSION_MATCH_CORE or ast_extension_match. Peter -- Peter Svensson ! Pgp key available by finger, fingerprint: <[EMAIL PROTECTED]> ! 8A E9 20 98 C1 FF 43 E3 07 FD B9 0A 80 72 70 AF ------------------------------------------------------------------------ Remember, Luke, your source will be with you... always... _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users