<div dir="ltr">i have similar problem, but only with streams due i used NAT with rtpproxy.. some help are apreciate in details!<br><br clear="all"><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.com</a></font></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar., 19 de feb. de 2019 a la(s) 03:22, Techinnovation (<a href="mailto:techinnovation@inbox.lv">techinnovation@inbox.lv</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<span style="font-family:"Courier New";font-size:9pt">Hello,<br>
<br>
Could you please help me correctly to configure Kamailio with load balancing between two asterisk servers and topology hidding with topoh module.<br>
In attach sip trace from kamailio and my config.<br>
<br>
Currently my problem is that after call UP on Asterisk side, Asterisk send 10 times Retransmitting to <br>
<-------------><br>
Retransmitting #5 (no NAT) to <a href="http://37.148.171.162:5060" target="_blank">37.148.171.162:5060</a>:<br>
SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP 37.148.171.162;branch=z9hG4bKf534.157d7d1321019895cc6ba367dd3ae94c.0;received=37.148.171.162<br>
Via: SIP/2.0/UDP 37.148.171.162;branch=z9hG4bKsr-mDYdVEts1x8-yJc91MhEVMtOVMhC6pni1uai1uSAQiytLvyKkMqHB5JsSg98PMYayEyHzESE1gdA6E9C<br>
From: "testaccount" <<a href="mailto:sip%3A37125511039@213.21.197.50" target="_blank">sip:37125511039@213.21.197.50</a>>;tag=as7abbf1f1<br>
To: <<a href="http://sip:100@37.148.171.162:5060" target="_blank">sip:100@37.148.171.162:5060</a>>;tag=as143173ac<br>
Call-ID: !!:1MeMfMhpfGtgfo6MQu6HfMNH1v-515SC1omDQocT1Efc1MhEVMtOVMhC6pni1uai1uSA<br>
CSeq: 102 INVITE<br>
Server: Asterisk PBX GIT-master-c83a44c<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br>
Supported: replaces, timer<br>
Session-Expires: 1800;refresher=uas<br>
Contact: <<a href="http://sip:100@37.148.171.164:5060" target="_blank">sip:100@37.148.171.164:5060</a>><br>
Content-Type: application/sdp<br>
Require: timer<br>
Content-Length: 267<br>
<br>
v=0<br>
o=root 1502512559 1502512559 IN IP4 37.148.171.164<br>
s=Asterisk PBX GIT-master-c83a44c<br>
c=IN IP4 37.148.171.164<br>
t=0 0<br>
m=audio 19658 RTP/AVP 8 101<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-16<br>
a=ptime:20<br>
a=maxptime:150<br>
a=sendrecv<br>
<br>
And no ACK answer from Kamailio. After 32 sec call drops.<br>
<br>
I have call flow: Provider 213.21.197.50 -> Kamailio 37.148.171.162 -> Asterisk 37.148.171.163.<br>
<br>
kamailio -v<br>
version: kamailio 5.2.0 (x86_64/linux) 535e13<br>
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
id: 535e13<br>
compiled on 01:27:51 Dec 16 2018 with gcc 4.8.5<br>
<br>
On Asterisk side I have config<br>
<br>
[general]<br>
language=en<br>
maxexpirey=3600<br>
defaultexpirey=3600<br>
bindport=5060<br>
subscribecontext=lab<br>
allowsubscribe=yes<br>
limitonpeers=yes<br>
notifyringing=yes<br>
notifyhold=yes<br>
disallow=all<br>
alwaysauthreject=yes<br>
allowguest=no<br>
allow=alaw<br>
bindaddr=37.148.171.163<br>
t38pt_udptl=yes,redundancy<br>
faxdetect=yes<br>
directmedia=no<br>
rtptimeout=60<br>
rtpholdtimeout=300<br>
<br>
[kamailio]<br>
type=friend<br>
host=37.148.171.162<br>
port=5060<br>
nat=no<br>
qualify=no<br>
canreinvite=yes<br>
insecure=invite<br>
context=from-pstn<br>
;directmedia=yes<br>
<br>
Many thanks !<br>
<br>
BR,<br>
Alex<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<span style="font-family:"arial";font-size:8pt;color:rgb(192,192,192)"><i>-- <br>
Best regards,<br>
Techinnovation </i></span></span><a style="font-family:"arial"" href="mailto:techinnovation@inbox.lv" target="_blank">mailto:techinnovation@inbox.lv</a></div>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>