[asterisk-users] Issue with (pattern) matching extension
Philip A. Prindeville
philipp_subx at redfish-solutions.com
Thu Apr 29 13:11:17 CDT 2010
On 04/29/2010 12:09 PM, Tilghman Lesher wrote:
> On Thursday 29 April 2010 11:46:39 Philip Prindeville wrote:
>
>> On 4/29/10 4:22 AM, Jim Dickenson wrote:
>>
>>> I banged my head with a like problem a few days ago.
>>>
>>>
>>>>> exten => _fn-.,1,NoOp(ISN: ${DIALSTATUS})
>>>>>
>>> n does not mean the letter n in a pattern it has a special meaning!
>>>
>> That's capital N, isn't it?
>>
> No, it's both cases.
>
>
>> Also, the prefix "_stdexten-." seems to work fine in the [stdexten]
>> context, so I'm not sure what's different here.
>>
> Actually, it probably doesn't. Testing fail.
>
>
That's highly inconsistent, then.
Why does the 'n' in stdexten (or the 'x' for that matter) match a
regular letter in that case, but not in the freenum case?
Doesn't quite make it 'deterministic' if you have to test it to see what
it's going to do.
More information about the asterisk-users
mailing list