All pastes #260034 Raw Edit

Mine

public text v1 · immutable
#260034 ·published 2006-11-27 23:12 UTC
rendered paste body
; Note: If your SIP devices are behind a NAT and your Asterisk

;  server isn't, try adding "nat=1" to each peer definition to

;  solve translation problems.

 

[general]

 

bindport=5060                            ; UDP Port to bind to (SIP standard port is 5060)

bindaddr=0.0.0.0                        ; IP address to bind to (0.0.0.0 binds to all)

disallow=all

allow=ulaw

allow=alaw

allow=gsm

allow=ilbc

; If you need to answer unauthenticated calls, you should change this

; next line to 'from-trunk', rather than 'from-sip-external'.

; You'll know this is happening if when you call in you get a message

; saying "The number you have dialed is not in service. Please check the

; number and try again."

context = from-sip-external ; Send unknown SIP callers to this context

callerid = Unknown

tos=0x68

 

; #, in this configuration file, is NOT A COMMENT. This is exactly

; how it should be.

#include sip_nat.conf

#include sip_custom.conf

#include sip_additional.conf