Penguin
Diff: AsteriskSampleSetup
EditPageHistoryDiffInfoLikePages

Differences between version 16 and previous revision of AsteriskSampleSetup.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 16 Last edited on Sunday, February 1, 2004 11:24:18 pm by MattBrown Revert
Older page: version 12 Last edited on Sunday, February 1, 2004 9:28:15 pm by KyleCarter Revert
@@ -1,8 +1,12 @@
 note - most, if not all asterisk config files you need to change should be in /etc/asterisk 
  
-I recommend installing the asterisk sample configuration files, and renaming the ones we are modifying to .conf.old, so rename extensions.conf.old then create a new one as below. this means the asterisk samples are still there to refer to if you want to see more options, and the modules etc should all be setup correctly (we dont change these yet).  
-  
+I recommend installing the asterisk sample configuration files, to achieve this in the asterisk source directory type  
+ make samples  
+You probably want to renaming the ones we are modifying to .conf.old, so rename extensions.conf.old  
+ cd /etc/asterisk  
+ for i in *; do cp $i $i.old; done  
+Then create a new one as below. This means the asterisk samples are still there to refer to if you want to see more options, and the modules etc should all be setup correctly (we dont change these yet). 
  
 The first step is to configure each phone device in the extensions.conf. 
 Each phone device should be assigned to an extension as below 
  [[globals] 
@@ -136,10 +140,9 @@
 ---- 
  
 !Adding FWD to the callplan and reveiving incoming FWD calls. 
  
-To add dialling from and to FreeWorldDialup we need to make asterisk register to teh FWD servers with the correct password and username, we also need to make FWD ring the correct phones when asterisk receives a call from FWD.  
-to so this we need to add the following lines to extensions.conf 
+To add dialling from and to FreeWorldDialup we need to make asterisk register to teh FWD servers with the correct password and username, we also need to make FWD ring the correct phones when asterisk receives a call from FWD. To so this we need to add the following lines to extensions.conf. This configuration assumes that you also have an extension with the same number as your FWD user ID if you do not already have this extension you should add it using the templates in the previous section.  
  
  <in globals section> 
  FWDUSERID=<FWDUSERNUMBER> 
  MYNAME=<NAME> 
@@ -179,8 +182,10 @@
  exten => ${FWDUSERID},1,Dial(${PHONES1}&${PHONES2},30,Ttm) 
  exten => ${FWDUSERID},2,Voicemail2(u${PHONES1VM}) 
  exten => ${FWDUSERID},3,Hangup 
  
+ <in home context of extensions.conf>  
+ include => dialout  
  
 in sip.conf we have to setup the passwords etc for the FWD account this is done as below 
  
  ; Here we register our FWD phone number so that when someone calls it,