[asterisk-users] tls on asterisk 13

Toufic Gmail toufic.khreish at gmail.com
Thu Mar 17 19:00:18 CDT 2016


I did using acrobits groundwire on asterisk 13.7.2
Had to add a statement in pjsip.endpointxxx
I do not have it in mind but can look it up for you tomorrow. 

Sent from my iPhone

> On Jul 8, 2015, at 9:05 PM, ricky gutierrez <xserverlinux at gmail.com> wrote:
> 
> Hi list , I'm doing some tests with asterisk 13.4 and tls, and failed
> to make it work, all my terminals spa Cisco 5XX
> 
> look my cli
> 
> [Jul  8 11:09:16] ERROR[14733]: pjsip:0 <?>:    tlsc0x7f539801 TLS
> connect() error: Connection refused [code=120111]
> [Jul  8 11:09:16] WARNING[14733]: pjsip:0 <?>:  tsx0x7f53a8008 Failed
> to send Request msg OPTIONS/cseq=48024 (tdta0x7f53c000dcb0)!
> err=120111 (Connection refused)
> [Jul  8 11:09:46] ERROR[14733]: pjsip:0 <?>:    tlsc0x7f539801 TLS
> connect() error: Connection refused [code=120111]
> [Jul  8 11:09:46] WARNING[14733]: pjsip:0 <?>:  tsx0x7f53a8008 Failed
> to send Request msg OPTIONS/cseq=31917 (tdta0x7f53c000dcb0)!
> err=120111 (Connection refused)
> 
> someone has had good results with tls
> 
> my config
> [transport-tls]
> type=transport
> protocol=tls
> bind=0.0.0.0:5061
> cert_file=/etc/asterisk/keys/asterisk.crt
> priv_key_file=/etc/asterisk/keys/asterisk.key
> method=tlsv1
> 
> [XXXX]
> type=endpoint
> context=XX-Xip
> disallow=all
> allow=ulaw
> allow=alaw
> transport=transport-tls
> direct_media=no
> force_rport=yes
> rtp_symmetric=yes
> mailboxes=XXXX at default
> auth=XXXX
> aors=XXXX
> media_encryption=sdes
> dtmfmode=rfc4733
> 
> 
> regardss
> 
> -- 
> rickygm
> 
> http://gnuforever.homelinux.com
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list