[asterisk-users] [Extensions.conf] Interval + discrete extension?
Roderick A. Anderson
raanders at acm.org
Wed May 28 13:46:22 CDT 2008
Tilghman Lesher wrote:
> On Wednesday 28 May 2008 13:13:14 Vincent wrote:
>> Hello
>>
>> We currently offer extensions 1-4, but we also need to add extension
>> 9 so people can call an operator.
>>
>> This is the first line for this section in extension.conf:
>>
>> exten => _[1-4],1,Verbose(${CALLERID(name)} - ${CALLERID(num)})
>>
>> Is this the right way to add extension 9?
>>
>> exten => _[1-4,9],1,Verbose(${CALLERID(name)} - ${CALLERID(num)})
>
> You don't need the comma in there: _[1-49] is enough.
And, I think, if you feel like being /very/ specific you could use _[12349].
Rod
--
More information about the asterisk-users
mailing list