Summary: | ASTERISK-22933: Preventig RT packets to public IP's: res_rtp_asterisk.c:3574 ast_rtp_read: RTP NAT: Got audio from other end. Now sending to address | ||
Reporter: | Kenneth Van Velthoven (kvveltho) | Labels: | |
Date Opened: | 2013-12-02 09:01:09.000-0600 | Date Closed: | 2013-12-02 09:06:26.000-0600 |
Priority: | Critical | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_rtp_asterisk |
Versions: | 11.5.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Ubuntu 12.04 | Attachments: | |
Description: | Hello,
Is there a way to prevent RTP packets being send before audio is received? Addr->IP : 41.214.177.42:55422 Defaddr->IP : (null) Prim.Transp. : UDP Allowed.Trsp : UDP Def. Username: 81284 SIP Options : (none) Codecs : (alaw|g729|ilbc|g722) Codec Order : (g722:30,ilbc:30,alaw:20,g729:20) Auto-Framing : No Status : OK (255 ms) Useragent : 3CXPhone 6.0.26523.0 Reg. Contact : sip:81284@192.168.0.19:55422;rinstance=4740e70e6f2c901d When intiating a call, RTP packets are send to the private natted IP in fillcontact: Sent RTP packet to 192.168.0.19:40046 (type 08, seq 056300, ts 015040, len 000160) Sent RTP packet to 192.168.0.19:40046 (type 08, seq 056301, ts 015200, len 000160) Sent RTP packet to 192.168.0.19:40046 (type 08, seq 056302, ts 015360, len 000160) Sent RTP packet to 192.168.0.19:40046 (type 08, seq 056303, ts 015520, len 000160) Sent RTP packet to 192.168.0.19:40046 (type 08, seq 056304, ts 015680, len 000160) Sent RTP packet to 192.168.0.19:40046 (type 08, seq 056305, ts 015840, len 000160) Sent RTP packet to 192.168.0.19:40046 (type 08, seq 056306, ts 016000, len 000160) [Dec 2 14:51:27] DEBUG[9388][C-00000005]: res_rtp_asterisk.c:3574 ast_rtp_read: RTP NAT: Got audio from other end. Now sending to address 41.214.177.42:40046 Got RTP packet from 41.214.177.42:40046 (type 08, seq 003902, ts 035644, len 000160) Sent RTP packet to 41.214.177.42:40046 (type 08, seq 056307, ts 018016, len 000160) Got RTP packet from 41.214.177.42:40046 (type 08, seq 003903, ts 035804, len 000160) Sent RTP packet to 41.214.177.42:40046 (type 08, seq 056308, ts 018176, len 000160) Got RTP packet from 41.214.177.42:40046 (type 08, seq 003904, ts 035964, len 000160) Sent RTP packet to 41.214.177.42:40046 (type 08, seq 056309, ts 018336, len 000160) Got RTP packet from 41.214.177.42:40046 (type 08, seq 003905, ts 036124, len 000160) Sent RTP packet to 41.214.177.42:40046 (type 08, seq 056310, ts 018496, len 000160) When picked up the RTP packets are send to the correct public IP. The problem is that our TRANSIT provider detects packets to private IP's as possible problems and blocks our servers. So we would like to know if there's a setting to prevent RTP packets being send to private or any IP before audio is received. Thanks in advance. gr, Kenneth. | ||
Comments: | By: Joshua C. Colp (jcolp) 2013-12-02 09:06:26.547-0600 The Asterisk issue tracker is not a viable support forum for questions such as these. For future questions please use the asterisk-users mailing list, which you can sign up on at lists.digium.com To answer your question though... there is currently no option for that. |