;--
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Non mapped elements start
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[general]
allowoverlap = no

[kamailio]
port = 5060

[local_linphone]
port = 6004

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Non mapped elements end
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--;


[global]
type = global
user_agent = Local Asterisk PJSIP
debug = yes
default_realm = Asterisk

[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0:5060
external_media_address = 192.168.1.235
external_signaling_address = 192.168.1.235
local_net = 192.168.1.0/255.255.255.128

[transport-tcp]
type = transport
protocol = tcp
bind = 0.0.0.0:5060
external_media_address = 192.168.1.235
external_signaling_address = 192.168.1.235
local_net = 192.168.1.0/255.255.255.128

[kamailio]
type = aor
contact = sip:192.168.1.229:5060

[kamailio]
type = identify
endpoint = kamailio
match = 192.168.1.229

[kamailio]
type = endpoint
context = incoming
dtmf_mode = rfc4733
disallow = all
allow = alaw
allow = ulaw
rtp_symmetric = yes
force_rport = yes
rewrite_contact = yes
rtp_timeout = 60
use_ptime = yes
direct_media = no
sdp_session = Local Asterisk PJSIP
aors = kamailio
moh_passthrough = yes

[local_linphone]
type = aor
contact = sip:192.168.1.50:6004

[local_linphone]
type = identify
endpoint = local_linphone
match = 192.168.1.50

[local_linphone]
type = endpoint
context = outgoing
dtmf_mode = rfc4733
disallow = all
allow = alaw
allow = ulaw
rtp_symmetric = yes
force_rport = yes
rewrite_contact = yes
rtp_timeout = 60
use_ptime = yes
direct_media = no
sdp_session = Local Asterisk PJSIP
aors = local_linphone
moh_passthrough = yes
