On Wed, 2004-04-21 at 01:03, Fran Boon wrote: > On Tue, 2004-04-20 at 23:21, Mark Elkins wrote: > > No matter what is dialled - I always go out on the 'Default' line. > > Swapping order makes no difference. If I comment out the 'default' - it > > does match the 'Cell' pattern - and works. > > Pattern-matching within a context is not done based on order at all.
> include => cell > include => default > > [cell] > exten => _00[78][234].,1,Playback(posix-cellphone) > exten => _00[78][234].,2,Dial(${TRUNK}:${EXTEN:${TRUNKMSD}}) > > [default] > exten => _0.,1,Playback(posix-defaultroute) > exten => _0.,2,Dial(${TRUNK}:${EXTEN:${TRUNKMSD}}) Thanks (to the three replies). Ended up leaving the cell pattern matching where it was and putting just the default [def-out] in its own context and 'including' that to the end of the pattern matching with... include=> def-out Little by little - I get to shape asterisk to the way I want it to work.. -- . . ___. .__ Posix Systems - Sth Africa /| /| / /__ [EMAIL PROTECTED] - Mark J Elkins, Cisco CCIE / |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496
signature.asc
Description: This is a digitally signed message part