sip.conf


 

;
; SIP Configuration for Asterisk
;
; Syntax for specifying a SIP device in extensions.conf is
; SIP/devicename where devicename is defined in a section below.
;
; You may also use
; SIP/username@domain to call any SIP user on the Internet
; (Don't forget to enable DNS SRV records if you want to use this)
;
; If you define a SIP proxy as a peer below, you may call
; SIP/proxyhostname/user or SIP/user@proxyhostname
; where the proxyhostname is defined in a section below
;
; Useful CLI commands to check peers/users:
;   sip show peers       Show all SIP peers (including friends)
;   sip show users       Show all SIP users (including friends)
;   sip show registry          Show status of hosts we register with
;
;   sip debug             Show all SIP messages
;

[general]
port=5060               ; Port to bind to
bindaddr=0.0.0.0        ; Address to bind SIP channel to
context=voice-mail             ; Default context for incoming calls
dtmfmode=rfc2833
allow=ulaw


[2486]                                  
type=friend
host=dynamic
context=voice-mail
dtmfmode=rfc2833
canreivet=yes
mailbox=2486@local
I found out that the above lines work best with CME.


[outbound]
type=peer
canreinvite=yes
host=192.168.1.1

[cme-pbx]
type=peer
canreinvite=no
host=192.168.1.1

[operator]
type=peer
canreinvite=no
host=192.168.1.1
 


© Kurt W. Pasewaldt 2005
Unauthorized duplication prohibited
without the author expressed written permission.