aboutsummaryrefslogtreecommitdiffstats
path: root/main/pbx.c
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-16 15:15:58 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-16 15:15:58 +0000
commit2289ddaea5a6f4074f8cb5a95961be471f5ddae9 (patch)
tree4897aab7ef61706eca4315bc0311d5f8360dbe2e /main/pbx.c
parent7156f4cb8e6b9742e34b07d1dead0b34deb3022f (diff)
I added a sentence to clarify why - and ' ' are ignored in patterns
as per bug 14076. Leif says he'll put some stuff about it in the extensions.conf sample, etc. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@164634 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 12d396489..a1a815046 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -595,7 +595,8 @@ static void pbx_destroy(struct ast_pbx *p)
* Special characters used in patterns:
* '_' underscore is the leading character of a pattern.
* In other position it is treated as a regular char.
- * ' ' '-' space and '-' are separator and ignored.
+ * ' ' '-' space and '-' are separator and ignored. Why? so
+ * patterns like NXX-XXX-XXXX or NXX XXX XXXX will work.
* . one or more of any character. Only allowed at the end of
* a pattern.
* ! zero or more of anything. Also impacts the result of CANMATCH