[Asterisk-Users] call initiation
Roger
grunky at rockriver.net
Fri Apr 23 12:52:57 MST 2004
Roger wrote:
> Users withing the office can dial a 3 digit extension and that will
> ring a phone. The problem I'm running into is you have to press xxx
> then press 'send or 'dial'. The pbx doesn't recognize a 3 digit
> number as an internal extension and automatically dial it the user has
> to initiate that call. Asterisk automatically initiates calls w/ 9+7
> digits and LD calls, 9+1+areacode+number.
>
> How would you tell the PBX try an extension once and 3 digits have
> been pressed. The exception being 9 as that gives a outside line.
>
Because everyone in the office has a 3 digit extension I tried this...
exten => _[0-8]XX,1,Dial(SIP/${ARG1},20|r)
The 2rd and 3rd numbers don't matter - but the first must be 0-8, not 9.
Can anyone office suggestions on how to clean this code up?
More information about the asterisk-users
mailing list