Hello,
My box have two interface that are team0.lan and team0.sipprovider.
team0.lan=1.1.1.1
team0.sipprovider=2.2.2.2
When call comes from sipprovider (inbound call) I took capture. I see “Contact: sip:1.1.1.1:5060” in the capture but it have to be “Contact: sip:2.2.2.2:5060”. My counfiguration and capture below.
How can I fix this issuse.
SIP/2.0 200 OK
Via: SIP/2.0/UDP 55.55.55.55:5060;rport=5060;received=55.55.55.55;branch=z9hG4bK+cf0744e47998cd9dfe34a07a300b4c181+sip+1+b7a697bf
Call-ID: 134f906b689485d9e6e119a502bd8879@55.55.55.55
From: “09077811406” sip:05077411400@55.55.55.55;tag=55.55.55.55+1+77b1338f+f12eb25e
To: sip:09628155007@2.2.2.2;tag=1dfd61ce-8556-4668-bbb7-94f0b5018c26
CSeq: 1 INVITE
Server: Asterisk PBX 13.22.0
Contact: sip:1.1.1.1:5060
Allow: OPTIONS, SUB
;sipprovider PJSIPTrunk
[sipprovider]
type=endpoint
direct_media=no
transport=transport-udp-sipprovider
context=from-trunk
disallow=all
allow=alaw
allow=ulaw
aors=sipprovider
from_domain=55.55.55.55
language=tr
dtmf_mode=info
media_address=2.2.2.2
bind_rtp_to_media_address=yes
rtp_symmetric=yes
[sipprovider]
type=aor
qualify_frequency=30
qualify_timeout=45.0
authenticate_qualify=no
contact=sip:55.55.55.55:5060
[sipprovider]
type=identify
endpoint=sipprovider
match=55.55.55.55
[transport-udp-sipprovider]
type=transport
protocol=udp
bind=2.2.2.2:5060