Summary: | ASTERISK-02768: Include in extensions.conf seems to be broken with asterisk-1.0.1 and 1.0.2 | ||
Reporter: | nappsoft (nappsoft) | Labels: | |
Date Opened: | 2004-11-09 02:19:33.000-0600 | Date Closed: | 2011-06-07 14:10:49 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/Configuration |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Since I've updated from 1.0.0 to 1.0.1 (tried it with 1.0.2 today), the inclusion of [echotest] (include => echotest) no longer works for me (extension 801). The same extensions work when I add them to my default context and don't try to add them with "include =>" Testing it with 1.0.0 again, the same extensions.conf works as it should... ****** ADDITIONAL INFORMATION ****** [echotest] exten => 801,1,Playback(demo-echotest) exten => 801,2,Echo exten => 801,3,Playback(demo-echodone) exten => 801,4,Goto(demo,s,6) [default] include => echotest exten => _.,1,agi,start.php exten => _.,2,agi,next.php exten => _.,3,agi,end.php | ||
Comments: | By: Brian West (bkw918) 2004-11-09 04:21:47.000-0600 THIS IS NOT MAJOR. you're doing it backwards. YOU DO NOT INCLUDE _. in a context directly. Its a greedy match and will always win. You always create a context with the _. in i and then INCLUDE that. _. is something that is nice to use but most people do not know how to use it properly. BZZT thanks for playing but this is 2 for 2 for you. bkw edited on: 11-09-04 04:24 By: Brian West (bkw918) 2004-11-09 04:22:59.000-0600 Read the bug posting guidelines. Thanks, Brian By: Brian West (bkw918) 2004-11-09 04:33:10.000-0600 [echotest] exten => 801,1,Playback(demo-echotest) exten => 801,2,Echo exten => 801,3,Playback(demo-echodone) exten => 801,4,Goto(demo,s,6) [wildcard] exten => _.,1,agi,start.php exten => _.,2,agi,next.php exten => _.,3,agi,end.php [default] include => echotest include => wildcard By: Brian West (bkw918) 2004-11-09 04:34:08.000-0600 improper usage of the wildcard. Remember not to directly include it in a context or it will win ALWAYS. You need to put it in its own context then include that context in the proper order. bkw |