[Freeswitch-users] Broken pipe when calling WS SIP endpoint, while incoming call is ok

Dmitry Sytchev kbdfck at gmail.com
Wed Apr 22 18:29:26 MSD 2015


Hi all!

I faced strange problem after upgrading to real SSL certs from startssl for WSS.
When calling to WS endpoint (SIP.js 0.6.4), I get these strange
messages, and call doesn't reach browser.

tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240):
what(pf=2 ws/[1.2.2.94]:62846): Broken pipe
tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240):
what(pf=2 ws/[1.2.2.94]:62846): Broken pipe
nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken
pipe (32) with ws/[1.2.2.94]:62846


Strange thing that inbound calls from WS endpoint work just fine! And
setting certs back to self-signed doesn't fix problem.
I'd appreciate any help, because I don't know how to debug it further.
I really don't know what was the reason of the problem, does anybody
have any suggestions?

Here is log of calling to endpoint:

2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:87
sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA INIT
2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1203
sip:8vtik7g6 at 1.2.2.94:62846;transport=ws Setting proxy route to
sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846
2015-04-22 17:05:34.771151 [DEBUG] sofia_glue.c:1232
sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 sending invite version:
1.5.15b git 326289c 2014-12-20 06:25:59Z 64bit
Local SDP:
v=0
o=FreeSWITCH 1429686302 1429686303 IN IP4 3.4.90.23
s=FreeSWITCH
c=IN IP4 3.4.90.23
t=0 0
a=msid-semantic: WMS Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky
m=audio 25232 RTP/SAVPF 9 0 8 3 101 13
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fingerprint:sha-256
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
a=rtcp-mux
a=rtcp:25232 IN IP4 3.4.90.23
a=ssrc:1295801150 cname:0CyxWaKE90MpNGoa
a=ssrc:1295801150 msid:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky a0
a=ssrc:1295801150 mslabel:Crr9GuLnR9pipW39wCmFv1EBDRcj6Iky
a=ssrc:1295801150 label:Crr9GuLnR9pipW39wCmFv1EBDRcj6Ikya0
a=ice-ufrag:8AFtraVVSY5Pwgen
a=ice-pwd:ICKvClZCbCRP86P6wkpOlbA4
a=candidate:3511026785 1 udp 659136 3.4.90.23 25232 typ host generation 0
a=candidate:3511026785 2 udp 659136 3.4.90.23 25232 typ host generation 0
a=ptime:20
a=sendrecv

2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:40
sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 Standard INIT
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:48
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_INIT ->
CS_ROUTING
2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send
signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK]
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:512
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State INIT going to sleep
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change
CS_ROUTING
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING
2015-04-22 17:05:34.771151 [DEBUG] mod_sofia.c:123
sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 SOFIA ROUTING
2015-04-22 17:05:34.771151 [DEBUG] switch_ivr_originate.c:67
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State Change CS_ROUTING
-> CS_CONSUME_MEDIA
2015-04-22 17:05:34.771151 [DEBUG] switch_core_session.c:1388 Send
signal sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846 [BREAK]
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:528
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State ROUTING going to
sleep
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:472
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) Running State Change
CS_CONSUME_MEDIA
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA
2015-04-22 17:05:34.771151 [DEBUG] switch_core_state_machine.c:547
(sofia/internal/sip:8vtik7g6 at 1.2.2.94:62846) State CONSUME_MEDIA going
to sleep
tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240):
what(pf=2 ws/[1.2.2.94]:62846): Broken pipe
tport.c:984 tport_base_connect() tport_base_connect(0x7f07dc005240):
what(pf=2 ws/[1.2.2.94]:62846): Broken pipe
nta.c:8496 outgoing_print_tport_error() nta: INVITE (74519703): Broken
pipe (32) with ws/[1.2.2.94]:62846

-- 
Best regards,

Dmitry Sytchev,
IT Engineer



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list