[asterisk-bugs] [JIRA] (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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Dec 2 09:07:05 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp closed ASTERISK-22933.
----------------------------------

    Resolution: Not A Bug

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.
                
> 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 
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22933
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22933
>             Project: Asterisk
>          Issue Type: Information Request
>      Security Level: None
>          Components: Resources/res_rtp_asterisk
>    Affects Versions: 11.5.0
>         Environment: Ubuntu 12.04
>            Reporter: Kenneth Van Velthoven
>            Severity: Critical
>
> 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 at 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list