[Asterisk-Users] Pattern Matching, speed and memory....

Rushowr madprofzero at yahoo.com
Tue Dec 13 20:07:47 MST 2005


I'm curious about something minor, and haven't seen anything covering it
yet:

If you want to match an 11 digit US phone number (and know that ONLY proper
numbers are being passed to this portion of your dialplan), which is more
speed & memory efficient:

	exten = _1.,1,VERBOSE(1|${EXTEN})

		or

	exten = _1NXXNXXXXXX,1,VERBOSE(1|${EXTEN})

Thanks for any info,

SKM




More information about the asterisk-users mailing list