[asterisk-bugs] [JIRA] (ASTERISK-22728) [patch] Improve Understanding Of 'Forcerport' When Running "sip show peers"

Michael L. Young (JIRA) noreply at issues.asterisk.org
Thu Oct 17 17:08:03 CDT 2013


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

Michael L. Young updated ASTERISK-22728:
----------------------------------------

    Assignee: Walter Doekes
      Status: Waiting for Feedback  (was: Open)

Walter, is this what you had in mind?
                
> [patch] Improve Understanding Of 'Forcerport' When Running "sip show peers"
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-22728
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22728
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.5.1
>            Reporter: Michael L. Young
>            Assignee: Walter Doekes
>            Severity: Trivial
>         Attachments: asterisk-forcerport-display-clarification.diff
>
>
> Walter Doekes pointed out ASTERISK-22236, that when running "sip show peers", there can be confusion about what "N" means under the column "Forcerport".  The "N" used to stand for NAT.  Now, that we use this same column for other settings involving the force_rport setting, someone could get confused as to what is meant by the N.
> If "A" is displayed under it, it means auto_force_rport is turned on _and_ force_rport is set to on (NAT) for the peer.  If "a" (lowercase) is displayed, it means auto_force_rport is turned on _but_ force_rport is off for the peer.  
> The proposed patch makes a minor change.  If force_rport is off, it will use "N" to mean no instead of NAT.  If force_rport is on, it will use "Y" to mean yes, the force_rport setting is on for the peer.
> This mirrors what is displayed through the manager as well.  The manager uses yes and no for these settings.
> Also, this patch adds a column for the comedia setting since that would be helpful to see if auto_force_rport/force_rport _and_ comedia/auto_comedia are turned on 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