Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] TLS connect() error when calling udp to 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: Wed Mar 04, 2015 9:42 am    Post subject: [asterisk-users] TLS connect() error when calling udp to tls Reply with quote

Stuck with TLS transport,
I have 2 phones (both in local network for tests)
one connected with up second with tls

when I calling TLS to UPD everything is fine, but when UDP calls TLS I getting an error

ERROR[44230]: pjsip:0 <?>: tlsc0x7f143012 TLS connect() error: Connection refused [code=120111]

pjsip log:

-- Called PJSIP/601/sip:601@192.168.1.55 (601@192.168.1.55):5075;transport=tls
<--- Transmitting SIP request (1052 bytes) to TLS:192.168.1.55:5075 --->
INVITE [url=sip:601@192.168.1.55:5075;transport=tls]sip:601@192.168.1.55:5075;transport=tls[/url] SIP/2.0
Via: SIP/2.0/TLS 192.168.1.4:60410;rport;branch=z9hG4bKPj904eb4dc-b086-40c7-8ff1-4ddbaeea17f6;alias
From: "" <[url=sip:502@192.168.1.4]sip:502@192.168.1.4[/url]>;tag=5fc67f0a-2b96-469a-9d57-7b1d0ea8c1d3
To: <[url=sip:601@192.168.1.55]sip:601@192.168.1.55[/url]>
Contact: <[url=sip:f55239b9-1924-4d2c-b6ca-7bd5fde81971@192.168.1.4:60410;transport=TLS]sip:f55239b9-1924-4d2c-b6ca-7bd5fde81971@192.168.1.4:60410;transport=TLS[/url]>
Call-ID: 5ca66561-5755-4f1f-a951-2e6970aeeeda
CSeq: 28062 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, REFER, MESSAGE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 70
User-Agent: PBXe 1.4.0
Content-Type: application/sdp
Content-Length: 342

v=0
o=- 772596305 772596305 IN IP4 192.168.1.4
s=Asterisk
c=IN IP4 192.168.1.4
t=0 0
m=audio 14476 RTP/SAVP 0 8 101
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:Ojz7o69EOsPsdsRTgNO/wtRWPsrWc2NSnOidNcqh
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv


both phones SPA502, force_rport disabled for tls phone,

here is my transports:

[tls]
type=transport
ca_list_file=/pbx/keys/asterisk.pem
cert_file=/pbx/keys/asterisk.crt
priv_key_file=/pbx/keys/asterisk.key
method=sslv23
protocol=tls
bind=192.168.1.4:5061
external_media_address=8.8.8.8:5061
external_signaling_address=8.8.8.8:5061

[udp]
type=transport
protocol=udp
bind=192.168.1.4
local_net=192.168.1.0/24
external_media_address=8.8.8.8
external_signaling_address=8.8.8.8
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