; Sample /etc/asterisk/iax.conf
; Created September 1, 2004

; =========================================================
; QUICKSTART WITH VOICEPULSE CONNECT! SERVICE:
; 
; * Login to your VoicePulse Connect! account at:
;   http://connect.voicepulse.com/
;
; * Go to the Devices tab and note your device login and
;   password
;
; * If you have a phone number from VoicePulse Connect!, 
;   replace MY_DEVICE_LOGIN and MY_DEVICE_PASSWORD in the
;   "register => " statement below with your device login
;   and password. (Line 69)
;
; * If you have a phone number from VoicePulse Connect!,
;   download the VoicePulse Connect! public key by typing:
; 
;   cd /var/lib/asterisk/keys
;   wget http://connect.voicepulse.com/keys/voicepulse01.pub
; 
; * If you DO NOT have a phone number from VoicePulse
;   Connect!, comment out the following lines by placing a
;   semicolon ";" at the beginning:
; 
;   - The "register =>" line (Line 69)
;   - The entire "[voicepulse-in-01]" user (Lines 93-98)
; =========================================================
; 
; *********************************************************
; Note for customers prior to Sept. 1, 2004:
; We no longer use the "in-xxxxxxxxxx" convention for the
; login in the "register =>" line.
; *********************************************************
; 

[general]
port=5036
tos=lowdelay
jitterbuffer=no

; ---------------------------------------------------------
; The following codecs are support by the VoicePulse 
; Connect! service:
; ---------------------------------------------------------
disallow=all
allow=ulaw
allow=ilbc
allow=gsm
allow=adpcm
allow=alaw
;allow=g726     ; g726 is NOT supported as of 10/1/2004,
                ; but is coming soon.

; ---------------------------------------------------------
; This is how you tell VoicePulse Connect! gateways where 
; to send your incoming calls.  The 10 characters before 
; the ":" are your VoicePulse Connect! gateway login and 
; the 10 characters after the colon are your Connect! 
; gateway password.  You can find this information by 
; logging into your VoicePulse Connect! account at 
; http://connect.voicepulse.com and clicking on Devices.
; ---------------------------------------------------------

; 
; The entire "register =>" line below should be on one line
; (with no carriage returns in the middle):
; 
;register => MY_DEVICE_LOGIN:MY_DEVICE_PASSWORD@gwiax-in-01.voicepulse.com

; ---------------------------------------------------------
; We use RSA keys for authentication purposes.  If you 
; haven't already saved the VoicePulse public key, you can 
; get it by doing the following from a shell prompt: 
;
;  cd /var/lib/asterisk/keys
;  wget http://connect.voicepulse.com/keys/voicepulse01.pub
;
; ---------------------------------------------------------

; 
; This is a guest user to catch all unauthenticated calls
; 
[guest]
type=user
context=abcxyz
auth=none

;
; This is the VoicePulse user for incoming calls to your
; Asterisk server:
;
;[voicepulse-in-01]     ; <-- Name must be [voicepulse-in-01]
;type=user
;context=arbitrary-name ; <-- Should match the context you 
 ;                      ;     are using in extensions.conf
;auth=rsa
;inkeys=voicepulse01


;
; This is a test user.  You can use Dan Toma's DIAX Software
; Phone to test your Asterisk configuration.  Set the
; following in the DIAX > Config > Registration menu option:
; 
;   Server: <your Asterisk server IP address>
;   Username: diax
;   Password: diaxpassword
; 
; You can get DIAX at: 
; http://www.laser.com/dante/diax/diax.html
; 

[diax]
type=friend
context=outgoing
auth=md5
secret=diaxpassword
notransfer=1
host=dynamic
allow=gsm

[manoj]
type=friend
;context=outgoing
auth=md5
secret=manoj
notransfer=1
host=dynamic
allow=gsm

[2000]
type=friend
;context=outgoing
auth=md5
secret=2000
notransfer=1
host=dynamic
allow=gsm

