[asterisk-users] [Extensions.conf] Interval + discrete extension?

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed May 28 13:29:35 CDT 2008


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.

-- 
Tilghman



More information about the asterisk-users mailing list