All pastes #181599 Raw Edit

Mine

public text v1 · immutable
#181599 ·published 2006-09-25 05:27 UTC
rendered paste body
[root@asterisk1 asterisk]# cat sip.conf
; 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
allow=g729

; 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


[ethosInboundLive]
type=peer
context=ethosInbound
host=206.123.106.102

[ethosInboundDev]
type=peer
context=ethosInbound
host=206.123.106.103