i think what i guessed in beginning is correct
i guess the issue is from the other side who i send to
why it choose other RTP address ?
here is other example i made == Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/4166736190:4166736190@10.101.0.6/
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001494, ts 091840, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022204, ts 091520, len 000160)
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001495, ts 092000, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022205, ts 091680, len 000160)
– SIP/10.101.0.6-000000e7 is ringing
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001496, ts 092160, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022218, ts 093760, len 000160)
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001509, ts 094240, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022219, ts 093920, len 000160)
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001510, ts 094400, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022220, ts 094080, len 000160)
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001511, ts 094560, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022221, ts 094240, len 000160)
> 0x7f5d381246e0 – Probation passed - setting RTP source address to 10.101.0.82:52396
[2017-06-09 07:01:35] DEBUG[14313][C-00000075]: res_rtp_asterisk.c:4706 ast_rtp_read: RTP NAT: Got audio from other end. Now sending to address 10.101.0.82:52396
Got RTP packet from 10.101.0.82:52396 (type 00, seq 000000, ts 000160, len 000160)
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001512, ts 094720, len 000160)
> 0x7f5d381246e0 – Probation passed - setting RTP source address to 10.101.0.82:52396
Got RTP packet from 10.101.0.82:52396 (type 00, seq 000001, ts 000320, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022222, ts 094400, len 000160)
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001513, ts 094880, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022223, ts 094560, len 000160)
Got RTP packet from 10.101.0.82:52396 (type 00, seq 000002, ts 000480, len 000160)
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001514, ts 095040, len 000160)
Got RTP packet from 10.101.0.82:52396 (type 00, seq 000003, ts 000640, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022224, ts 094720, len 000160)
– SIP/10.101.0.6-000000e7 answered SIP/SIP2/OUT-000000e6
– Channel SIP/10.101.0.6-000000e7 joined ‘simple_bridge’ basic-bridge <22f5c078-dcdc-4fbd-8c09-2f670c7d9a48>
– Channel SIP/SIP2/OUT-000000e6 joined ‘simple_bridge’ basic-bridge <22f5c078-dcdc-4fbd-8c09-2f670c7d9a48>
Got RTP packet from 172.17.21.100:27932 (type 00, seq 001515, ts 095200, len 000160)
Sent RTP packet to 10.101.0.82:52396 (type 00, seq 006837, ts 095200, len 000160)
> 0x7f5d381246e0 – Probation passed - setting RTP source address to 10.101.0.82:52396
Got RTP packet from 10.101.0.82:52396 (type 00, seq 000004, ts 000800, len 000160)
Sent RTP packet to 172.17.21.100:27932 (type 00, seq 022225, ts 000800, len 000160)
call go to 10.101.0.6 but RTP comes from 10.101.0.82
then after sometime u see in logs ;
2017-06-09 04:45:34] NOTICE[26829]: chan_sip.c:29516 check_rtp_timeout: Disconnecting call ‘xxxxx’ for lack of RTP activity in 31 seconds
then call die
should i contact other provider for this issue you think ?
do u think i need to play with my sip.conf ?
cheers