One way audio while making SIP calls

we are using asterix 14.6.2
scenario
we have 2 devices running sip client (one with sim card using 3G data and the other on wifi) and Asterix is on public ip (using data card)

when we make calls,
From A(wifi device) to B (3G), call gets connected. voice is heard only on B device and A gets voice for less than 20secs and no voice after that.
B gets continuous voice until disconnected.
wireshark logs shows that both A, B pkts (no firewall issue.)
Asterix sends A pkt to B but B pkt is NOT forwarded to A

observation : first time, RTP NAT locks to source address but sebsequently asterix is detecting the strict learning but doesnt switch to new source…any config missing ?

why are the pkts not forwarded, we donot see any errors or warnings from asterix on this,.
Sip Conf
Nat = force_rport,comedia
Directmedia=yes
asterix log as below.
rtp.conf
strictrtp=yes

[2017-10-06 16:40:00.372] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.390] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.408] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.428] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.448] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.468] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.482] VERBOSE[4986] chan_sip.c:
<— SIP read from UDP:49.203.140.120:35672 —>
ACK sip:9738441907@14.96.96.30:5060 SIP/2.0
Via: SIP/2.0/UDP 49.203.140.120:35672;rport;branch=z9hG4bKPjDzcyyARziCGBlvmaf2iZ9xB00jy.jFYO
Max-Forwards: 70
From: sip:9738441908@14.96.96.30;tag=6YMDBo2YSyBkvpi5VGy-o9M2TZgxbIci
To: sip:9738441907@14.96.96.30;tag=as1f705f08
Call-ID: XI6iAj-LEaPSr5fLZqaJrVP6wQTAcesM
CSeq: 18750 ACK
Content-Length: 0

<------------->
[2017-10-06 16:40:00.482] VERBOSE[4986] chan_sip.c: — (8 headers 0 lines) —
[2017-10-06 16:40:00.505] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: 0x7f60f40060b0 – Strict RTP learning complete - Locking on source address 223.186.64.212:1460
[2017-10-06 16:40:00.505] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.510] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.529] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 192.168.1.115:4000 (type 00, len 000020)
[2017-10-06 16:40:00.540] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: 0x7f60740187d0 – Strict RTP switching source address to 49.203.140.120:44827
[2017-10-06 16:40:00.540] DEBUG[5103][C-00000002] res_rtp_asterisk.c: RTP NAT: Got audio from other end. Now sending to address 49.203.140.120:44827
[2017-10-06 16:40:00.540] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.547] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.548] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.567] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.570] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.588] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.608] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.632] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.648] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.668] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.691] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.708] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.722] VERBOSE[4986] chan_sip.c:
<— SIP read from UDP:49.203.140.120:35672 —>
ACK sip:9738441907@14.96.96.30:5060 SIP/2.0
Via: SIP/2.0/UDP 49.203.140.120:35672;rport;branch=z9hG4bKPjDzcyyARziCGBlvmaf2iZ9xB00jy.jFYO
Max-Forwards: 70
From: sip:9738441908@14.96.96.30;tag=6YMDBo2YSyBkvpi5VGy-o9M2TZgxbIci
To: sip:9738441907@14.96.96.30;tag=as1f705f08
Call-ID: XI6iAj-LEaPSr5fLZqaJrVP6wQTAcesM
CSeq: 18750 ACK
Content-Length: 0

<------------->
[2017-10-06 16:40:00.722] VERBOSE[4986] chan_sip.c: — (8 headers 0 lines) —
[2017-10-06 16:40:00.728] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.729] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.747] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.748] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.762] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.766] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.780] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.789] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.790] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.808] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.809] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.830] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.831] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.848] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.849] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.867] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.873] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.889] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.889] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.907] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.908] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.928] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.929] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.950] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.951] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.970] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.971] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:00.987] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:00.992] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.008] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.009] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.028] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.033] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.047] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.053] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.068] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.082] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.091] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.092] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.106] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.110] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.129] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.130] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.150] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.151] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.168] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.169] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.187] VERBOSE[5106][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 49.203.140.120:44827 (type 00, len 000020)
[2017-10-06 16:40:01.188] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.210] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.230] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.252] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.269] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.290] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.309] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.330] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.350] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.372] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: 0x7f60740187d0 – Strict RTP learning complete - Locking on source address 49.203.140.120:44827
[2017-10-06 16:40:01.372] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.389] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.410] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)
[2017-10-06 16:40:01.432] VERBOSE[5103][C-00000002] res_rtp_asterisk.c: Sent RTP P2P packet to 223.186.64.212:1460 (type 00, len 000020)

You’ll need to provide further information such as the wireshark capture itself. As well if you disable strictrtp for testing does it work?

thanks for the support.
enclosed the wireshark log.
we did test with strictrtp=no, still the same result…

we did observe some destination unreachable… in wireshark logs… not
sure why it is coming…

we also observed that on the phone side, we do see RTP packet exchanges
for 1-2 secs and we observe RTP address switch…not sure why
what we are NOT clear is why is asterix not forwarding the packets
(packets are seen in wireshark).

thanks for the support again.

-venu