[asterisk-bugs] [JIRA] (ASTERISK-25580) WSS will not work with asterisk 11

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Nov 20 14:00:33 CST 2015


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

Matt Jordan edited comment on ASTERISK-25580 at 11/20/15 1:58 PM:
------------------------------------------------------------------

TLS binds to 8089:

{{tlsbindaddr=0.0.0.0:8089}}

What are you attempting to connect to?

And if Asterisk isn't showing up as bound to 8089, are you sure that Asterisk is starting up without any WARNINGs related to binding the HTTP's server's TLS socket?


was (Author: mjordan):
TLS binds to 8089:

{{tlsbindaddr=0.0.0.0:8089}}

What are you attempting to connect to?

> WSS will not work with asterisk 11
> ----------------------------------
>
>                 Key: ASTERISK-25580
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25580
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_http_websocket
>    Affects Versions: 11.20.0
>         Environment: Centos 6.7
>            Reporter: David Sarmiento
>            Assignee: Unassigned
>
> I'm trying to connect a SIPML5 client to asterisk via WSS, I keep getting "Failed to connect to server". However, when I try to connect via WS it works (I can register and place calls).
> Below:
> - http.conf with tlsenabled=yes and path to ssl certificates
> - core show settings
> - netstat output showing only port 8088 open.
> root at testasterisk [~]# cat /etc/asterisk/http.conf 
> [general]
> enabled=yes
> enablestatic=yes
> bindaddr=0.0.0.0
> bindport=8088
> prefix=asterisk
> tlsenable=yes
> tlsbindaddr=0.0.0.0:8089
> tlscertfile=/etc/pki/tls/certs/server.cert.pem
> tlsprivatekey= /etc/pki/tls/private/server.key
> root at testasterisk [~]# rasterisk -x "core show settings"
> PBX Core settings
> -----------------
>   Version:                     11.20.0
>   Build Options:               LOADABLE_MODULES
>   Maximum calls:               Not set
>   Maximum open file handles:   Not set
>   Root console verbosity:      3
>   Current console verbosity:   0
>   Debug level:                 0
>   Maximum load average:        0.000000
>   Minimum free memory:         0 MB
>   Startup time:                11:16:31
>   Last reload time:            11:16:31
>   System:                      Linux/2.6.32-573.8.1.el6.x86_64 built by root on x86_64 2015-11-16 03:31:17 UTC
>   System name:                 
>   Entity ID:                   00:0c:29:14:e5:88
>   Default language:            en
>   Language prefix:             Enabled
>   User name and group:         asterisk/asterisk
>   Executable includes:         Enabled
>   Transcode via SLIN:          Enabled
>   Transmit silence during rec: Enabled
>   Generic PLC:                 Enabled
>   Min DTMF duration::          80
> * Subsystems
>   -------------
>   Manager (AMI):               Enabled
>   Web Manager (AMI/HTTP):      Disabled
>   Call data records:           Enabled
>   Realtime Architecture (ARA): Enabled
> * Directories
>   -------------
>   Configuration file:          
>   Configuration directory:     /etc/asterisk
>   Module directory:            /usr/lib64/asterisk/modules
>   Spool directory:             /var/spool/asterisk
>   Log directory:               /var/log/asterisk
>   Run/Sockets directory:       /var/run/asterisk
>   PID file:                    /var/run/asterisk/asterisk.pid
>   VarLib directory:            /var/lib/asterisk
>   Data directory:              /var/lib/asterisk
>   ASTDB:                       /var/lib/asterisk/astdb
>   IAX2 Keys directory:         /var/lib/asterisk/keys
>   AGI Scripts directory:       /var/lib/asterisk/agi-bin
> root at testasterisk [~]# rasterisk -x "http show status"
> HTTP Server Status:
> Prefix: /asterisk
> Server Enabled and Bound to 0.0.0.0:8088
> Enabled URI's:
> /asterisk/httpstatus => Asterisk HTTP General Status
> /asterisk/static/... => Asterisk HTTP Static Delivery
> /asterisk/ws => Asterisk HTTP WebSocket
> Enabled Redirects:
>   None.
> root at testasterisk [~]# netstat -anp | grep 808.
> tcp        0      0 0.0.0.0:8088                0.0.0.0:*                   LISTEN      2531/asterisk       
> root at testasterisk [~]# 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list