Question: Kamailio + Rtpengine + NAT

Fernando Lopes via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
Previous Thread: https://kamailio.org/mailman3/hyperkitty/list/[email protected]/thread/4U545DU5NHHPH23E3H5KVAHZMTVPWOR4/

I've followed some suggestions and got to check sip packets and got this. Change some configs, but couldn't get any NAT configuration to work, hoping to get a new opinion if it still, maybe it is a problem with NAT or maybe another thing.
#-------------------------------------------------------------------------------------------------------#
#-------------------------------------------------------------------------------------------------------#
Called from "outside" and my microsip doesn't have STUN Server on.

2025/04/08 12:19:06.747644 2.81.7x.1xx:59562 -> 192.168.1.75:5060
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 2.81.7x.1xx:59562;rport;branch=z9hG4bKPj19931b6928594c3b90ba976acb74cd02
Max-Forwards: 70
From: "6002" <sip:[email protected]:5060>;tag=7d887491eae24520b8b205a7dcdf569d
To: <sip:[email protected]:5060>
Contact: <sip:[email protected]:59562;ob>;+sip.ice
Call-ID: fa30f64e6adb4b7e9719084b9d34b5b6
CSeq: 8949 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: MicroSIP/3.21.5
Content-Type: application/sdp
Content-Length:   536

v=0
o=- 3953107147 3953107147 IN IP4 192.168.1.116
s=pjmedia
b=AS:84
t=0 0
a=X-nat:0
m=audio 4030 RTP/AVP 8 0 101
c=IN IP4 192.168.1.116
b=TIAS:64000
a=rtcp:4029 IN IP4 192.168.1.116
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:371808528 cname:7dd13e4d736d4043
a=ice-ufrag:69525f90
a=ice-pwd:16496df15af141bb26e901eb
a=candidate:Hc0a80174 1 UDP 2130706431 192.168.1.116 4030 typ host
a=candidate:Hc0a80174 2 UDP 2130706430 192.168.1.116 4029 typ host
#-------------------------------------------------------------------------------------------------------#
#-------------------------------------------------------------------------------------------------------#
With STUN Server On -- Also get Register but still can't get any audio

2025/04/08 12:18:26.032585 2.81.7x.1xx:57124 -> 192.168.1.75:5060
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 2.81.7x.1xx:57124;rport;branch=z9hG4bKPjaf3ec8e03d52425eb67708c7e61457b1
Max-Forwards: 70
From: "6002" <sip:[email protected]:5060>;tag=10bf4ad8533a4a45b478c900cb3242b1
To: <sip:[email protected]:5060>
Contact: "6002" <sip:[email protected]:57124;ob>;+sip.ice
Call-ID: 1e3dea0a3d2f4954b4232c624d37c9d8
CSeq: 7501 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: MicroSIP/3.21.5
Content-Type: application/sdp
Content-Length:   726

v=0
o=- 3953107106 3953107106 IN IP4 2.81.7x.1xx
s=pjmedia
b=AS:84
t=0 0
a=X-nat:1
m=audio 4033 RTP/AVP 8 0 101
c=IN IP4 2.81.7x.1xx
b=TIAS:64000
a=rtcp:4035 IN IP4 2.81.7x.1xx
a=sendrecv
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:803428650 cname:24b959022cf70edd
a=ice-ufrag:072851d1
a=ice-pwd:10d96c6c6ea14c665c5e6d4e
a=candidate:Sc0a80174 1 UDP 1862270975 2.81.7x.1xx 4033 typ srflx raddr 192.168.1.116 rport 4033
a=candidate:Hc0a80174 1 UDP 1694498815 192.168.1.116 4033 typ host
a=candidate:Sc0a80174 2 UDP 1862270974 2.81.7x.1xx 4035 typ srflx raddr 192.168.1.116 rport 4035
a=candidate:Hc0a80174 2 UDP 1694498814 192.168.1.116 4035 typ host

Thank you Very much.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.