Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Cannot configure PJSIP TLS


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jleed at me.com
Guest





PostPosted: Tue Mar 03, 2015 12:15 pm    Post subject: [asterisk-users] Cannot configure PJSIP TLS Reply with quote

Hey guys,tried to make tls work with pjsip on asterisk 13.2.0

have compiled pjsip with ssl,

added transport

[tls]
type=transport
cert_file=/pbx/keys/server.crt
ca_list_file=/pbx/keys/ca.key
priv_key_file=/pbx/keys/server.key
protocol=tls
bind=192.168.1.4:5061
local_net=192.168.1.0/24
external_media_address=77.77.77.77
external_signaling_address=77.77.77.77

have configured Grandstream GXP1400 to use tis and srtp, server.crt and server.key uploaded to phone

ubuntu*CLI> pjsip show transports

Transport: tls tls 0 0 192.168.1.4:5061


so transport exist, have set endpoint transport to tls,

but for some reason phone getting timeout 408. tried from local network and behind the nat, nothing.
Back to top
jleed at me.com
Guest





PostPosted: Wed Mar 04, 2015 1:12 am    Post subject: [asterisk-users] Cannot configure PJSIP TLS Reply with quote

by removed line ca_list_file=/pbx/keys/ca.key ERROR[3301]: pjsip:0 <?>: ssl0x7fc8e40f8 Error loading CA list file '/pbx/keys/ca.key
gone.

But still cannot handle SRTP, phone says 488 error if I set media_encryption=sdes on an endpoint,

how do I check if srtp actually work on asterisk?
Quote:
On 03 Mar 2015, at 20:14, Nick Awesome <jleed@me.com (jleed@me.com)> wrote:
Hey guys,tried to make tls work with pjsip on asterisk 13.2.0

have compiled pjsip with ssl,

added transport

[tls]
type=transport
cert_file=/pbx/keys/server.crt
ca_list_file=/pbx/keys/ca.key
priv_key_file=/pbx/keys/server.key
protocol=tls
bind=192.168.1.4:5061
local_net=192.168.1.0/24
external_media_address=77.77.77.77
external_signaling_address=77.77.77.77

have configured Grandstream GXP1400 to use tis and srtp, server.crt and server.key uploaded to phone

ubuntu*CLI> pjsip show transports

Transport: tls tls 0 0 192.168.1.4:5061


so transport exist, have set endpoint transport to tls,

but for some reason phone getting timeout 408. tried from local network and behind the nat, nothing.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services