[asterisk-bugs] [JIRA] (ASTERISK-24602) Unable to call WebRTC client via wss on chan_pjsip

cervajs (JIRA) noreply at issues.asterisk.org
Wed Aug 26 08:17:33 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227370#comment-227370 ] 

cervajs commented on ASTERISK-24602:
------------------------------------

this debug shows that TLS transport is chosen, but transport=wss is configured for endpoint

contact webrtc_cervenka/sips:webrtc_cervenka at 1.1.1.1:58757;transport=wss;rtcweb-breaker=no

can i change somehow pjsip resolve transport?

[Aug 26 14:50:11] DEBUG[30213]: pjsip:0 <?>:     dlg0xb3f1d17c Module WebSocket Transport Module added as dialog usage, data=(nil                            )
[Aug 26 14:50:11] DEBUG[30213]: pjsip:0 <?>:     dlg0xb3f1d17c Module NAT added as dialog usage, data=(nil)
[Aug 26 14:50:11] DEBUG[30213]: pjsip:0 <?>:     inv0xb3f1d17c .Sending Request msg INVITE/cseq=32339 (tdta0xb3f3b8b8)
[Aug 26 14:50:11] DEBUG[30213]: pjsip:0 <?>:     dlg0xb3f1d17c ..Sending Request msg INVITE/cseq=32339 (tdta0xb3f3b8b8)
[Aug 26 14:50:11] DEBUG[30213]: pjsip:0 <?>:     tsx0xb3f3c924 ...Transaction created for Request msg INVITE/cseq=32338 (tdta0xb3                            f3b8b8)
[Aug 26 14:50:11] DEBUG[30213]: pjsip:0 <?>:     tsx0xb3f3c924 ..Sending Request msg INVITE/cseq=32338 (tdta0xb3f3b8b8) in state                             Null
[Aug 26 14:50:11] DEBUG[30213]: pjsip:0 <?>:     sip_resolve.c ...Target '1.1.1.1:58757' type=TLS resolved to '1.1.1.1:58757' type=TLS (TLS transport)
[Aug 26 14:50:11] WARNING[30213]: pjsip:0 <?>:   tsx0xb3f3c924 ...Failed to send Request msg INVITE/cseq=32338 (tdta0xb3f3b8b8)!                             err=171060 (Unsupported transport (PJSIP_EUNSUPTRANSPORT))


> Unable to call WebRTC client via wss on chan_pjsip
> --------------------------------------------------
>
>                 Key: ASTERISK-24602
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24602
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.0.0
>         Environment: Centos 6.5 x86
> pjproject 2.3 (https://github.com/asterisk/pjproject)
>            Reporter: Oleg Kozlov
>            Assignee: Oleg Kozlov
>         Attachments: endpoint_config.txt, failing.log, inbound_debug (with TLS transport on).txt, pjsip.transport.conf, registration_outbound_debug(works fine).txt, working.log
>
>
> Calls to WebRTC client (sipml5) via WSS transport or chan_pjsip always fail.
> Registration and calls from WebRTC client work without issues.
> I believe that the issue is about Asterisk trying to use wrong transport (TLS instead of WSS) to SIP INVITE WebRTC clients.
> Error summary:
> 1. TLS transport isn't configured in pjsip.conf:
> bq. pjsip:0 <?>: 	 tsx0xb740c914 ...Failed to send Request msg INVITE/cseq=5413 (tdta0xb740d3c8)! err=171060 (Unsupported transport (PJSIP_EUNSUPTRANSPORT))
> 2. TLS transport is configured for some other peers in pjsip.conf:
> {quote}
> 	<--- Transmitting SIP request (1741 bytes) to TLS:CLIENT_IP:62950 --->
> 	INVITE sips:tempwss2 at CLIENT_IP:62950;transport=wss;rtcweb-breaker=no SIP/2.0
> 	...
> 	pjsip:0 <?>: tlsc0x884bf24 TLS connect() error: Connection timed out
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list