Hi, I had asterisk installed, ISDN-adapter, some x-lite software-phones and I can call betweens the softphone- and 'normal' phones during the ISDN-card. 2 questions now 1) Is it posible to create policies, so that some SIP-users can dial ALL numbers, and some SIP-users not are allowed to dial eg. 900xxx-numbers, 30xxxxxx (mobilphones), 40xxxx(long distance) and if possible on time basic- so that from 18.00-0800 it is possible to dial all numbers ? 2) when dialing in to asterisk via ISDN get a new dialtone so it's posibble to dial all sipphones, or get voiceresponce saying press 1 to dial manager, press 2 to dial dad, and 3 to leave a message ? /Hans-Henrik _________________________________________________________________ Tired of slow downloads? Compare online deals from your local high-speed providers now. https://broadband.msn.com
Hans-Henrik Andresen wrote:> Hi, > > I had asterisk installed, ISDN-adapter, some x-lite software-phones > and I can call betweens the softphone- and 'normal' phones during the > ISDN-card. > > 2 questions now > > 1) Is it posible to create policies, so that some SIP-users can dial > ALL numbers, and some SIP-users not are allowed to dial eg. > 900xxx-numbers, 30xxxxxx (mobilphones), 40xxxx(long distance) > and if possible on time basic- so that from 18.00-0800 it is possible > to dial all numbers ?Yes this is controlled by your dial plan.. If you haven't already I suggest taking a read through the hand book which will help a lot to get you started..> > > 2) when dialing in to asterisk via ISDN get a new dialtone so it's > posibble to dial all sipphones, or get voiceresponce saying press 1 to > dial manager, press 2 to dial dad, and 3 to leave a message ?Yes but you won't do it with a dial tone, you will use voice prompts to tell the person calling in what options are availible to them.. Later..
Hi!> > 1) Is it posible to create policies, so that some SIP-users can dial > > ALL numbers, and some SIP-users not are allowed to dial eg. > > 900xxx-numbers, 30xxxxxx (mobilphones), 40xxxx(long distance) > > and if possible on time basic- so that from 18.00-0800 it is possible > > to dial all numbers ? > > Yes this is controlled by your dial plan.. If you haven't already I > suggest taking a read through the hand book which will help a lot to get > you started..Look at contexts and the include statement. Read the draft handbook linked from www.asterisk.org, support section. Or look here: http://www.voip-info.org/wiki-Asterisk+howto+dial+plan> > 2) when dialing in to asterisk via ISDN get a new dialtone so it's > > posibble to dial all sipphones, or get voiceresponce saying press 1 to > > dial manager, press 2 to dial dad, and 3 to leave a message ? > > Yes but you won't do it with a dial tone, you will use voice prompts to > tell the person calling in what options are availible to them..For the dialtone: You can very well use separate context for that with a Background() announcement and something like [dial_what_you_want_context] exten => s,1,Background(enter-an-extension) exten => _.,1,Dial(Local/${EXTEN}) Apart from that if you wish to dial out again look at/ search for DISA. http://www.voip-info.org/wiki-Asterisk+cmd+DISA Greetings, Philipp
Thank you both, I will start reading, and had already get something to work :) /Hans-Henrik Andresen> >Look at contexts and the include statement. Read the draft handbook >linked from www.asterisk.org, support section. Or look here: >http://www.voip-info.org/wiki-Asterisk+howto+dial+plan > > >For the dialtone: You can very well use separate context for that with a >Background() announcement and something like > >[dial_what_you_want_context] >exten => s,1,Background(enter-an-extension) >exten => _.,1,Dial(Local/${EXTEN}) > >Apart from that if you wish to dial out again look at/ search for DISA. >http://www.voip-info.org/wiki-Asterisk+cmd+DISA >_________________________________________________________________ Working moms: Find helpful tips here on managing kids, home, work — and yourself. http://special.msn.com/msnbc/workingmom.armx