<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi,<br>
<br>
is there someone with working asterisk13+chan_sip+SIP.js/sipml5 ?<br>
<br>
or is chan_pjsip better supported?<br>
<br>
or the recommended way for asterisk is use respoke.io?<br>
<br>
<br>
my problem with asterisk13+chan_sip+sipml5(the same problem is with
SIP.js)<br>
<span><span style="color: rgb(0, 0, 0); font-family: Tahoma;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium; display: inline !important; float: none;">chan_sip.c:10496
process_sdp: Can't provide secure audio requested in SDP offer "</span></span>
<br>
<br>
sip.conf (important parts)<br>
[vr1a882]<br>
...<br>
nat=force_rport,comedia<br>
canreinvite=no<br>
encryption=yes<br>
avpf=yes<br>
force_avp=yes<br>
icesupport=yes<br>
directmedia=yes<br>
transport=wss,ws<br>
dtlsrekey=60<br>
dtlsverify=no<br>
dtlscertfile=/etc/pki/tls/certs/rapidssl.crt<br>
dtlsprivatekey=/etc/pki/tls/private/rapidssl.key<br>
dtlssetup=actpass<br>
<br>
<br>
sip dump<br>
<--- SIP read from <a class="moz-txt-link-freetext" href="WS:2.2.2.2:8558">WS:2.2.2.2:8558</a> ---><br>
INVITE <a class="moz-txt-link-freetext" href="sip:887@ipbx">sip:887@ipbx</a> SIP/2.0<br>
Via: SIP/2.0/WSS
df7jal23ls0d.invalid;branch=z9hG4bKyhVsmJdAtwRvuOWz9BHiNo1DGcqp4grQ;rport<br>
From:
"cervenka"<a class="moz-txt-link-rfc2396E" href="sip:vr1a882@vhXXX.example.com"><sip:vr1a882@vhXXX.example.com></a>;tag=RDmpGm2Mubc5xQQ8NMli<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:887@ipbx"><sip:887@ipbx></a><br>
Contact:
"cervenka"<a class="moz-txt-link-rfc2396E" href="sips:vr1a882@df7jal23ls0d.invalid;rtcweb-breaker=no;click2call=no;transport=wss"><sips:vr1a882@df7jal23ls0d.invalid;rtcweb-breaker=no;click2call=no;transport=wss></a>;+g.oma.sip-im;language="en,fr"<br>
Call-ID: cf2990ba-3f12-3d9e-adb6-52889c414ed3<br>
CSeq: 41942 INVITE<br>
Content-Type: application/sdp<br>
Content-Length: 1250<br>
Max-Forwards: 70<br>
Authorization: Digest
username="vr1a882",realm="pbx",nonce="0edd0f1f",uri=<a class="moz-txt-link-rfc2396E" href="sip:887@ipbx">"sip:887@ipbx"</a>,response="46f10b5c84accd119fea0c65bdad3dee",algorith
m=MD5<br>
User-Agent: IM-client/OMA1.0 sipML5-v1.2015.03.18<br>
Organization: Doubango Telecom<br>
<br>
v=0<br>
o=mozilla...THIS_IS_SDPARTA-38.0.1 4294967295 0 IN IP4 127.0.0.1<br>
s=Doubango Telecom - firefox<br>
t=0 0<br>
a=sendrecv<br>
a=fingerprint:sha-256
A4:67:26:11:1F:1E:F2:8F:75:02:FE:69:2F:FC:FA:87:7A:2C:DA:86:6D:40:43:31:B7:4C:89:0B:15:44:00:56<br>
a=group:BUNDLE sdparta_0<br>
a=ice-options:trickle<br>
a=msid-semantic:WMS *<br>
m=audio 52438 UDP/TLS/RTP/SAVPF 109 9 0 8<br>
c=IN IP4 2.2.2.2<br>
a=candidate:0 1 UDP 2128609535 10.128.3.220 52438 typ host<br>
a=candidate:5 1 UDP 2128543999 192.168.56.1 52439 typ host<br>
a=candidate:0 2 UDP 2128609534 10.128.3.220 52440 typ host<br>
a=candidate:5 2 UDP 2128543998 192.168.56.1 52441 typ host<br>
a=candidate:4 1 UDP 1692467199 2.2.2.2 52438 typ srflx raddr
10.128.3.220 rport 52438<br>
a=candidate:4 2 UDP 1692467198 2.2.2.2 52440 typ srflx raddr
10.128.3.220 rport 52440<br>
a=sendrecv<br>
a=end-of-candidates<br>
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level<br>
a=ice-pwd:5d1f4a8e35737ce88b14c471b3416e55<br>
a=ice-ufrag:2425a6be<br>
a=mid:sdparta_0<br>
a=msid:{b2ea5e2d-54e2-433e-ac63-5c52874aa378}
{aca6671f-8943-4773-9e36-398ef112a22f}<br>
a=rtcp-mux<br>
a=rtpmap:109 opus/48000/2<br>
a=rtpmap:9 G722/8000/1<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:8 PCMA/8000<br>
a=setup:actpass<br>
a=ssrc:1181629171 cname:{dc854b06-da58-45b3-8185-bbc6a57746c0}<br>
<-------------><br>
--- (13 headers 31 lines) ---<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:25444
handle_request_invite: Initializing initreq for method INVITE -
callid cf2990ba- 3f12-3d9e-adb6-52889c414ed3<br>
Using INVITE request as basis request -
cf2990ba-3f12-3d9e-adb6-52889c414ed3<br>
Found peer 'vr1a882' for 'vr1a882' from 2.2.2.2:8558<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: rtp_engine.c:421
ast_rtp_instance_new: Using engine 'asterisk' for RTP instance
'0x9072064'<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: res_rtp_asterisk.c:2437
ast_rtp_new: Allocated port 17304 for RTP instance '0x9072064'<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: rtp_engine.c:430
ast_rtp_instance_new: RTP instance '0x9072064' is setup and ready to
go<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: rtp_engine.c:421
ast_rtp_instance_new: Using engine 'asterisk' for RTP instance
'0x941ca0c'<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: res_rtp_asterisk.c:2437
ast_rtp_new: Allocated port 12356 for RTP instance '0x941ca0c'<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: rtp_engine.c:430
ast_rtp_instance_new: RTP instance '0x941ca0c' is setup and ready to
go<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: res_rtp_asterisk.c:4682
ast_rtp_prop_set: Setup RTCP on RTP instance '0x941ca0c'<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: res_rtp_asterisk.c:4682
ast_rtp_prop_set: Setup RTCP on RTP instance '0x9072064'<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:5589
do_setnat: Setting NAT on RTP to On<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:5593
do_setnat: Setting NAT on VRTP to On<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP v=0... UNSUPPORTED OR
FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP
o=mozilla...THIS_IS_SDPARTA-38.0.1 429 4967295 0 IN
IP4 127.0.0.1... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP s=Doubango Telecom -
firefox... UNSUPP ORTED OR FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP t=0 0... UNSUPPORTED OR
FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP a=sendrecv... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:7553
initialize_udptl: Setting NAT on UDPTL to On<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP a=fingerprint:sha-256
A4:67:26:11:1F:1
E:F2:8F:75:02:FE:69:2F:FC:FA:87:7A:2C:DA:86:6D:40:43:31:B7:4C:89:0B:15:44:00:56...
UNSUPPORTED OR FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP a=group:BUNDLE
sdparta_0... UNSUPPORTE D OR FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP a=ice-options:trickle...
UNSUPPORTED O R FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10003
process_sdp: Processing session-level SDP a=msid-semantic:WMS *...
UNSUPPORTED O R FAILED.<br>
Found RTP audio format 109<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: rtp_engine.c:664
ast_rtp_codecs_payloads_set_m_type: Setting payload 109 (0x951dc54)
based on m t ype on 0xb34664bc<br>
Found RTP audio format 9<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: rtp_engine.c:664
ast_rtp_codecs_payloads_set_m_type: Setting payload 9 (0x951efd4)
based on m typ e on 0xb34664bc<br>
Found RTP audio format 0<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: rtp_engine.c:664
ast_rtp_codecs_payloads_set_m_type: Setting payload 0 (0x914f66c)
based on m typ e on 0xb34664bc<br>
Found RTP audio format 8<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: rtp_engine.c:664
ast_rtp_codecs_payloads_set_m_type: Setting payload 8 (0x944dcb4)
based on m typ e on 0xb34664bc<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP c=IN IP4 2.2.2.2...
OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=candidate:0 1 UDP
2128609535 1 0.128.3.220 52438 typ host... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=candidate:5 1 UDP
2128543999 1 92.168.56.1 52439 typ host... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=candidate:0 2 UDP
2128609534 1 0.128.3.220 52440 typ host... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=candidate:5 2 UDP
2128543998 1 92.168.56.1 52441 typ host... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=candidate:4 1 UDP
1692467199 2 12.71.138.50 52438 typ srflx raddr
10.128.3.220 rport 52438... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=candidate:4 2 UDP
1692467198 2 12.71.138.50 52440 typ srflx raddr
10.128.3.220 rport 52440... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=sendrecv... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP
a=end-of-candidates... UNSUPPORT ED OR FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=extmap:1
urn:ietf:params:rtp-h drext:ssrc-audio-level...
UNSUPPORTED OR FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP
a=ice-pwd:5d1f4a8e35737ce88b14c4 71b3416e55... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP
a=ice-ufrag:2425a6be... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=mid:sdparta_0...
UNSUPPORTED O R FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP
a=msid:{b2ea5e2d-54e2-433e-ac63- 5c52874aa378}
{aca6671f-8943-4773-9e36-398ef112a22f}... UNSUPPORTED OR FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=rtcp-mux...
UNSUPPORTED OR FAI LED.<br>
Found audio description format opus for ID 109<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=rtpmap:109
opus/48000/2... OK.<br>
Found audio description format G722 for ID 9<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=rtpmap:9
G722/8000/1... OK.<br>
Found audio description format PCMU for ID 0<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=rtpmap:0
PCMU/8000... OK.<br>
Found audio description format PCMA for ID 8<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=rtpmap:8
PCMA/8000... OK.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=setup:actpass...
UNSUPPORTED O R FAILED.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:10458
process_sdp: Processing media-level (audio) SDP a=ssrc:1181629171
cname:{dc854b0 6-da58-45b3-8185-bbc6a57746c0}...
UNSUPPORTED OR FAILED.<br>
[May 19 16:47:43] WARNING[14160][C-00000007]: chan_sip.c:10496
process_sdp: Can't provide secure audio requested in SDP offer<br>
<br>
<--- Reliably Transmitting (NAT) to 2.2.2.2:8558 ---><br>
SIP/2.0 488 Not acceptable here<br>
Via: SIP/2.0/WSS
df7jal23ls0d.invalid;branch=z9hG4bKyhVsmJdAtwRvuOWz9BHiNo1DGcqp4grQ;received=2.2.2.2;rport=8558<br>
From:
"cervenka"<a class="moz-txt-link-rfc2396E" href="sip:vr1a882@vhXXX.example.com"><sip:vr1a882@vhXXX.example.com></a>;tag=RDmpGm2Mubc5xQQ8NMli<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:887@ipbx"><sip:887@ipbx></a>;tag=as5d30f0ef<br>
Call-ID: cf2990ba-3f12-3d9e-adb6-52889c414ed3<br>
CSeq: 41942 INVITE<br>
Server: ipbx 3.2.0<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO, PUBLISH, MESSAGE<br>
Supported: replaces, timer<br>
Content-Length: 0<br>
<br>
<br>
<------------><br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:3696
__sip_xmit: Trying to put 'SIP/2.0 488' onto WS socket destined for
2.2.2.2 :8558<br>
Scheduling destruction of SIP dialog
'cf2990ba-3f12-3d9e-adb6-52889c414ed3' in 32000 ms (Method: INVITE)<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:25557
handle_request_invite: No compatible codecs for this SIP call.<br>
[May 19 16:47:43] DEBUG[14160][C-00000007]: chan_sip.c:28297
handle_request_do: SIP message could not be handled, bad request:
cf2990ba-3f12- 3d9e-adb6-52889c414ed3<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
---------------------------------------
Marek Cervenka
=======================================
</pre>
</body>
</html>