Hi Matt So simple it's amazing!!! Thanx :-)
Paolo PS - I forgot to mention it works too... On Tue, Apr 3, 2012 at 9:13 AM, Matt Riddell <[email protected]> wrote: > On 3/04/2012, at 6:42 PM, Paolo Supino wrote: >> Hi >> >> Isn't there a better way of doing it that, other than hard coding the >> extension groups? >>> >>> exten => _20XX,1,Dial(SIP/${EXTEN},30) >>> exten => _20XX,n,Dial(SIP/2000,30) > > > Change to: > > exten => _2XXX,1,Dial(SIP/${EXTEN},30) > exten => _2XXX,n,Dial(SIP/${EXTEN:0:2}00,30) > > -- > Cheers, > > Matt Riddell > _______________________________________________ > > http://www.venturevoip.com/news.php (Daily Asterisk News) > http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk) > http://www.venturevoip.com/exchange.php (Full ITSP Solution) > http://www.venturevoip.com/cc.php (Call Centre Solutions) > > > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
