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. -- Rock River Internet Roger Grunkemeyer 202 W. State St, 8th Floor grunky@rockriver.net Rockford, IL 61101 815-968-9888 x101
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?
On Fri, 2004-04-23 at 14:39, 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.I'm assuming you mean asterisk when you say pbx, and I am assuming you mean SIP phones from the 'send' or 'dial' comment. This sounds like a problem with the dialplan in the individual phones. So depending on what kind of phone you have, you will have to configure it differently. Even if this is an asterisk thing, it would be in your dialplan. You have configured it to match the longer sequences, but not the shorter ones. -- Steven Critchfield <critch@basesys.com>
Roger, Maybe you are using extensions like "_9." try to put de complete number in your estension.conf ej; exten => _9XXXXXXX,1,Dial(..... exten => 101,1,Dial(Zap/1) ............ in that case send congestion if the 3 digits extensions are not in extensions.conf. Regards, Pedro J. Vela Ruiz Director T?cnico Bomonte Tecnolog?as SL (BoMonTec) Tel. 902 141 181 -----Mensaje original----- De: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]En nombre de Roger Enviado el: viernes, 23 de abril de 2004 21:39 Para: asterisk-users@lists.digium.com Asunto: [Asterisk-Users] call initiation 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. -- Rock River Internet Roger Grunkemeyer 202 W. State St, 8th Floor grunky@rockriver.net Rockford, IL 61101 815-968-9888 x101 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Others correct me if I'm wrong, but I believe that: Presumably, you have lines like: exten => _XXX,1,Dial(SIP/${EXTEN}) exten => _9NXXXXXX,1,Dial(ZAP/1/${EXTEN:1}) exten => _91NXXNXXXXXX,1,Dial(Zap/1/${EXTEN:1}) if none of your internal extensions start with a nine (ie if they are in the range 000-899 or smaller), try changing the first to: exten => _[0-8]XX,1,Dial(SIP/${EXTEN}) or even narrower as your needs require This way, * doesn't have to wait for you to stop dialing to distinguish between outgoing 918185551212 and extension 918. Hope this helps! -Chris On Fri, 23 Apr 2004 14:39:28 -0500, "Roger" <grunky@rockriver.net> said:> 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. > > -- > Rock River Internet Roger Grunkemeyer > 202 W. State St, 8th Floor grunky@rockriver.net > Rockford, IL 61101 815-968-9888 x101 > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users