Small Question

Fernando Lopes via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
Hello Everyone, 
I have a cloud vm with public ip: 135.2xx.1xx.1xx:5060 and locally 10.0.0.4
When I receive a SIP message the invite looks like this, it gets stuck here.


SIP Invite:
2025/06/03 16:24:58.249284 192.76.120.10:5060 -> 10.0.0.4:5060
INVITE sip:[email protected]:5060 SIP/2.0
Record-Route: <sip:192.76.120.10;r2=on;lr;ftag=765jrrKarBe3F>
Record-Route: <sip:10.255.0.1;r2=on;lr;ftag=765jrrKarBe3F>
Via: SIP/2.0/UDP 192.76.120.10;branch=z9hG4bKbb37.28332dbc5901e729308403cd5e049713.0
v:SIP/2.0/UDP 10.239.44.224:6000;received=10.239.44.224;rport=6000;branch=z9hG4bKD4UtjN52Qrm9D
Max-Forwards:55
f:"+3519xx78xx1x"<sip:[email protected]>;tag=765jrrKarBe3F
t:<sip:[email protected]:5060>
i:c64314db-75b9-4029-8147-be3f3d77da2a
CSeq:99930157 INVITE
m:<sip:[email protected]:6000>
Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REFER,NOTIFY
k:timer,path
u:talk,hold,conference,refer
Privacy:none
c:application/sdp
Content-Disposition:session
l:205
P-Asserted-Identity:"+3519xx78xx1x"<sip:[email protected];verstat=No-TN-Validation>

v=0
o=Telnyx 1748940128 1748940129 IN IP4 50.114.150.25
s=Telnyx
c=IN IP4 50.114.150.25
t=0 0
m=audio 27770 RTP/AVP 9
a=rtpmap:9 G722/8000
a=sendrecv
a=rtcp:27771 IN IP4 50.114.150.25
a=ptime:20


Kamailio Code:
#!define DS_LIST "/etc/kamailio/dispatcher.list"
#!define LISTEN_UDP_PUBLIC udp:135.2xx.1xx.1xx:5060
#!define LISTEN_UDP_PRIVATE udp:10.0.0.4:5060
#!define LISTEN_TCP_PUBLIC tcp:135.2xx.1xx.1xx:5060
#!define LISTEN_TCP_PRIVATE tcp:10.0.0.4:5060
#!define EXTERNAL_IP "10.0.0.4"
#!define KUBERNETES_NETWORK "172.19."
#!define FLAG_TELNYX_CALL 12

#set module path
mpath = "/usr/lib/x86_64-linux-gnu/kamailio/modules"


####### Global Parameters #########
#mhomed=1 # doesn't work with virtual IPs

#!ifdef WITH_DEBUG
debug=4
#!else
debug=2
#!endif
log_stderror=no

memdbg=5
memlog=5

#log_facility=LOG_LOCAL6
log_facility=LOG_LOCAL0

fork=yes
children=4

auto_aliases=no

#listen=LISTEN_UDP_PUBLIC
listen=LISTEN_UDP_PRIVATE
listen=LISTEN_TCP_PRIVATE

####### FLAGS ######
#!define FLAG_FROM_ASTERISK 10
#!define FLAG_FROM_PEER 11

sip_warning=no
__________________________________________________________
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.