<div dir="ltr">Cert -> key -> signing CA cert<br>Calls from WS to FS work.<div><br></div><div>I noticed that problem may be linked with user accounts, which have registrations from WS and from plain SIP.</div><div>Is it possible FS stops sending calls to WS when it start sending it to SIP endpoint?<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-22 17:32 GMT+03:00 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What order did you put your wss.pem in ?<div><br></div><div>/b</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Apr 22, 2015 at 9:29 AM, Dmitry Sytchev <span dir="ltr"><<a href="mailto:kbdfck@gmail.com" target="_blank">kbdfck@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hi all!<br>
<br>
I faced strange problem after upgrading to real SSL certs from startssl for WSS.<br>
When calling to WS endpoint (SIP.js 0.6.4), I get these strange<br>
messages, and call doesn't reach browser.<br>
<br>
tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240):<br>
what(pf=2 ws/[1.2.2.94]:62846): Broken pipe<br>
tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240):<br>
what(pf=2 ws/[1.2.2.94]:62846): Broken pipe<br>
nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken<br>
pipe (32) with ws/[1.2.2.94]:62846<br>
<br>
<br>
Strange thing that inbound calls from WS endpoint work just fine! And<br>
setting certs back to self-signed doesn't fix problem.<br>
I'd appreciate any help, because I don't know how to debug it further.<br>
I really don't know what was the reason of the problem, does anybody<br>
have any suggestions?<br>
<br>
Here is log of calling to endpoint:<br>
<br>
2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:87<br>
sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a> SOFIA INIT<br>
2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1203<br>
sip:8vtik7g6@1.2.2.94:62846;transport=ws Setting proxy route to<br>
sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a><br>
2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1232<br>
sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a> sending invite version:<br>
1.5.15b git 326289c 2014-12-20 06:25:59Z 64bit<br>
Local SDP:<br>
v=0<br>
o=FreeSWITCH 1429686302 1429686303 IN IP4 3.4.90.23<br>
s=FreeSWITCH<br>
c=IN IP4 3.4.90.23<br>
t=0 0<br>
a=msid-semantic: WMS Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky<br>
m=audio 25232 RTP/SAVPF 9 0 8 3 101 13<br>
a=rtpmap:9 G722/8000<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:8 PCMA/8000<br>
a=rtpmap:3 GSM/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fingerprint:sha-256<br>
FD:70:F0:83:A9:4E:C4:77:24:68:E3:75:0A:8D:D2:C9:F9:1D:ED:EC:5F:1B:B6:FE:1F:A0:27:33:37:FB:F2:9F<br>
a=rtcp-mux<br>
a=rtcp:25232 IN IP4 3.4.90.23<br>
a=ssrc:1295801150 cname:0CyxWaKE90MpNGoa<br>
a=ssrc:1295801150 msid:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky a0<br>
a=ssrc:1295801150 mslabel:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky<br>
a=ssrc:1295801150 label:Crr9GuLnR9pipW39wCmFv1EBDRcj6Ikya0<br>
a=ice-ufrag:8AFtraVVSY5Pwgen<br>
a=ice-pwd:ICKvClZCbCRP86P6wkpOlbA4<br>
a=candidate:3511026785 1 udp 659136 3.4.90.23 25232 typ host generation 0<br>
a=candidate:3511026785 2 udp 659136 3.4.90.23 25232 typ host generation 0<br>
a=ptime:20<br>
a=sendrecv<br>
<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:40<br>
sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a> Standard INIT<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:48<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) State Change CS_INIT -><br>
CS_ROUTING<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send<br>
signal sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a> [BREAK]<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:512<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) State INIT going to sleep<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) Running State Change<br>
CS_ROUTING<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) State ROUTING<br>
2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:123<br>
sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a> SOFIA ROUTING<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_ivr_originate.c:67<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) State Change CS_ROUTING<br>
-> CS_CONSUME_MEDIA<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send<br>
signal sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a> [BREAK]<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) State ROUTING going to<br>
sleep<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) Running State Change<br>
CS_CONSUME_MEDIA<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) State CONSUME_MEDIA<br>
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547<br>
(sofia/internal/<a href="http://sip:8vtik7g6@1.2.2.94:62846" target="_blank">sip:8vtik7g6@1.2.2.94:62846</a>) State CONSUME_MEDIA going<br>
to sleep<br>
tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240):<br>
what(pf=2 ws/[1.2.2.94]:62846): Broken pipe<br>
tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240):<br>
what(pf=2 ws/[1.2.2.94]:62846): Broken pipe<br>
nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken<br>
pipe (32) with ws/[1.2.2.94]:62846<br>
<br>
--<br>
Best regards,<br>
<br>
Dmitry Sytchev,<br>
IT Engineer<br>
<br></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">ClueCon 2015 <a href="https://www.cluecon.com/call-for-speakers/" target="_blank">Call for Speakers</a> | <a href="https://freeswitch.com/cart.php?gid=1" target="_blank">Register</a> TODAY! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer</div>
</div>