[asterisk-bugs] [JIRA] (ASTERISK-26357) AMI binds to random port every Asterisk restart on FreeBSD
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Sun Sep 11 11:29:03 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232240#comment-232240 ]
Asterisk Team commented on ASTERISK-26357:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> AMI binds to random port every Asterisk restart on FreeBSD
> ----------------------------------------------------------
>
> Key: ASTERISK-26357
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26357
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: . I did not set the category correctly.
> Affects Versions: 13.10.0, 13.11.2
> Environment: OS: FreeBSD 11.0-STABLE amd64
> Asterisk 13.11.2
> Reporter: Roman Petrov
>
> I'm setup simpliest asterisk system, and try to work with AMI.
> That's my manager.conf:
> ----------------------------------------
> [general]
> enabled = yes
> webenabled= no
> debug = no
> port = 5038
> bindaddr= 127.0.0.1
> [admin]
> secret = secret
> deny = 0.0.0.0/0.0.0.0
> permit = 127.0.0.1/255.255.255.0
> read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
> write = system,call,agent,user,config,command,reporting,originate,message
> -------------------------------------------------
> When I start asterisk, and see: netstat -an | grep LISTEN
> there is not 127.0.0.1:5038 socket.
> But it has other record:
> tcp4 0 0 127.0.0.1.54792 *.* LISTEN
> And when I try to check that opened port with telnet, it is a AMI port:
> telnet 127.0.0.1 54792
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> Asterisk Call Manager/2.8.0
> I can authorize on telnet with credentials which I setup in manager.conf.
> When I see in asterisk console: manager show settings it gives me:
> ----------------------------------------
> Global Settings:
> ----------------
> Manager (AMI): Yes
> Web Manager (AMI/HTTP): No
> TCP Bindaddress: 127.0.0.1:0
> HTTP Timeout (minutes): 60
> TLS Enable: No
> TLS Bindaddress: Disabled
> TLS Certfile: asterisk.pem
> TLS Privatekey:
> TLS Cipher:
> Allow multiple login: Yes
> Display connects: Yes
> Timestamp events: No
> Channel vars:
> Debug: Yes
> ----------------------------------------
> And other interesting info: When I restart asterisk, that port changes to other and that happens every asterisk restart.
> Similar appears with 2 versions: 13.10.0 and 13.11.2
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list