[asterisk-bugs] [JIRA] (ASTERISK-21374) [patch] One-way Audio With auto_* NAT Settings When SIP Calls Initiated By PBX

David Brillert (JIRA) noreply at issues.asterisk.org
Mon May 13 12:20:38 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206317#comment-206317 ] 

David Brillert commented on ASTERISK-21374:
-------------------------------------------

Ping
The patch on reviewboard got a ship it.
Will you be committing soon so it makes it way into 11.5 or are you waiting for more ship its?
I can't test an uncommitted patch on a production server...
When you commit I will probably a do an SVN checkout for production.

                
> [patch] One-way Audio With auto_* NAT Settings When SIP Calls Initiated By PBX
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21374
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21374
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.3.0
>            Reporter: Michael L. Young
>            Assignee: Michael L. Young
>         Attachments: asterisk-21374-auto-nat-outgoing-fix.diff, asterisk-21374-fix-crash-and-rt-peers.diff, gdb.txt
>
>
> I found another case where the force_rport and comedia flags are not being set automatically when using the new auto_* settings.  This time it involves calls initiated by the PBX.
> When we reload asterisk the default flags turned on and off by auto_force_rport (force_rport) and auto_comedia (comedia) go back to the default setting of off.  These flags are turned on, as needed, when a peer re-registers or initiates a call.  This would apply to even just having the default global setting "nat=auto_force_rport".
> Everything is good except in the following scenario:
> We reload Asterisk and the peer's registration has not expired.  We load in the default settings for the peer which turns force_rport and comedia back to off.  Since the peer has not re-registered or placed a call yet, they remain off.  We then initiate a call to the peer from the PBX.  The force_rport and comedia flags stay off.  If NAT is involved, we end up with one-way audio since we never checked to see if the peer is behind NAT or not.

--
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