All pastes #24284 Raw Edit

Mine

public text v1 · immutable
#24284 ·published 2005-09-30 07:19 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]

#port = 5060           ; Port to bind to (SIP is 5060)
#bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
#disallow=all
#allow=ulaw
#allow=alaw
#context = from-sip-external ; Send unknown SIP callers to this context
#callerid = Unknown

#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf


nat=1
port = 5060           ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
disallow=all
allow=g711
allow=G723
allow=ilbc
allow=gsm
allow=ulaw
allow=alaw
context= from-sip-external ; Send unknown SIP callers to this context
callerid= unknown


#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf