[Home]

Summary:ASTERISK-04691: template matching code needs to be case sensitive
Reporter:sedwards (sedwards)Labels:
Date Opened:2005-07-26 15:57:29Date Closed:2005-07-26 16:54:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The extensions.conf snippet below shows that the template matching code needs to be case sensitive:

[T](!)
       exten = T,1,                    goto(max-time,s,1)
[t](!)
       exten = t,1,                    goto(${CONTEXT},s,1)
[test](T,t)

This yields the following output:

   -- Registered extension context 'test'
   -- Added extension 'T' priority 1 to test
Jul 26 13:41:17 WARNING[18004]: pbx.c:4644 ast_add_extension2: Unable to register extension 'T', priority 1 in 'test', already in use
Jul 26 13:41:17 WARNING[18004]: pbx_config.c:1758 pbx_load_module: Unable to register extension at line 45
ap1> show dialplan test
[ Context 'test' created by 'pbx_config' ]
 'T' =>            1. goto(max-time|s|1)                         [pbx_config]
Comments:By: sedwards (sedwards) 2005-07-26 16:20:21

My bad -- posted in wrong category. Please delete or ignore.