[asterisk-bugs] [JIRA] (ASTERISK-24602) Unable to call WebRTC client via wss on chan_pjsip
Martin Tomec (JIRA)
noreply at issues.asterisk.org
Wed Sep 2 04:38:33 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227435#comment-227435 ]
Martin Tomec commented on ASTERISK-24602:
-----------------------------------------
It seems to be bug in pjsip library. Acording to this patch:
https://trac.pjsip.org/repos/ticket/1319
"When sips scheme is used, TLS must be used even when transport=tcp is specified in the URI"
This in real means: when sips scheme is used, transport parameter is ignored.
I will try to submit patch to pjsip.
> 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