This is the Java trace for the call after I made the SAVPF to SAVP change:
SIP stack start: proxy='sipml5.org:4062', realm='<sip:65.110.58.60>', impi='7777', impu='<sip:7777@uringme>' tsip_stack.js:353
Connecting to 'ws://sipml5.org:4062' tsip_transport.js:326
Stack starting call.htm:424
__tsip_transport_ws_onopen tsip_transport.js:363
Stack started call.htm:424
State machine: tsip_dialog_register_Started_2_InProgress_X_oRegister tsk_fsm.js:99
Connecting... call.htm:471
REGISTER request successfully sent call.htm:471
__tsip_transport_ws_onmessage tsip_transport.js:375
State machine: tsip_dialog_register_InProgress_2_InProgress_X_401_407_421_494 tsk_fsm.js:99
REGISTER request successfully sent call.htm:471
__tsip_transport_ws_onmessage tsip_transport.js:375
State machine: tsip_dialog_register_InProgress_2_Connected_X_2xx tsk_fsm.js:99
Connected call.htm:471
__tsip_transport_ws_onmessage tsip_transport.js:375
State machine: c0000_Started_2_Outgoing_X_oINVITE tsk_fsm.js:99
__on_state_change tmedia_session_jsep.js:103
Media Added call.htm:559
Call in progress... call.htm:471
13__on_ice_candidate: 1792 tmedia_session_jsep.js:85
Start SAVP hack tmedia_session_jsep.js:188
o_hdr_M=RTP/SAVPF tmedia_session_jsep.js:190
__tsip_transport_ws_onmessage tsip_transport.js:375
State machine: x0000_Any_2_Any_X_i1xx tsk_fsm.js:99
Trying call.htm:559
__tsip_transport_ws_onmessage tsip_transport.js:375
State machine: c0000_Outgoing_2_Connected_X_i2xxINVITE tsk_fsm.js:99
SDP_RO=v=0
o=FreeSWITCH 1337758058 1337758059 IN IP4 65.110.58.60
s=FreeSWITCH
c=IN IP4 65.110.58.60
t=0 0
m=audio 27680 RTP/SAVP 0 126 13
a=rtpmap:0 PCMU/8000
a=rtpmap:126 telephone-event/8000
a=fmtp:126 0-16
a=rtpmap:13 CN/8000
a=ptime:20
a=crypto:0 AES_CM_128_HMAC_SHA1_32 inline:rMS9onCocnQO+wFcjmakmG6e1GGT1pafl8vqxezL
m=video 0 RTP/SAVP 19
tmedia_session_jsep.js:234
b_is_offer=false tmedia_session_jsep.js:235
DOMException
code: 12
message: "SYNTAX_ERR: DOM Exception 12"
name: "SYNTAX_ERR"
stack: "Error: An invalid or illegal string was specified.↵ at tmedia_session.__set_ro (file:///C:/uringme/starpound/sipml5/trunk/src/tinyMEDIA/src/tmedia_session_jsep.js:238:23)↵ at tmedia_session.set_ro (file:///C:/uringme/starpound/sipml5/trunk/src/tinyMEDIA/src/tmedia_session.js:565:17)↵ at tmedia_session_mgr.set_ro (file:///C:/uringme/starpound/sipml5/trunk/src/tinyMEDIA/src/tmedia_session.js:387:29)↵ at tsip_dialog.process_ro (file:///C:/uringme/starpound/sipml5/trunk/src/tinySIP/src/dialogs/tsip_dialog_invite.js:745:39)↵ at tsk_fsm_entry.c0000_Outgoing_2_Connected_X_i2xxINVITE [as fn_execute] (file:///C:/uringme/starpound/sipml5/trunk/src/tinySIP/src/dialogs/tsip_dialog_invite__client.js:131:27)↵ at tsk_fsm.act (file:///C:/uringme/starpound/sipml5/trunk/src/tinySAK/src/tsk_fsm.js:106:47)↵ at tsip_dialog.fsm_act (file:///C:/uringme/starpound/sipml5/trunk/src/tinySIP/src/dialogs/tsip_dialog.js:739:23)↵ at
tsip_dialog.__tsip_dialog_invite_event_callback [as fn_callback] (file:///C:/uringme/starpound/sipml5/trunk/src/tinySIP/src/dialogs/tsip_dialog_invite.js:894:26)↵ at tsip_dialog.callback (file:///C:/uringme/starpound/sipml5/trunk/src/tinySIP/src/dialogs/tsip_dialog.js:724:21)↵ at tsk_fsm_entry.__tsip_transac_ict_Proceeding_2_Accepted_X_2xx [as fn_execute] (file:///C:/uringme/starpound/sipml5/trunk/src/tinySIP/src/transactions/tsip_transac_ict.js:469:32)"
__proto__: DOMException
tmedia_session_jsep.js:245
tmedia_session_jsep.__set_ro tmedia_session_jsep.js:245
tmedia_session.set_ro tmedia_session.js:565
tmedia_session_mgr.set_ro tmedia_session.js:387
tsip_dialog_invite.process_ro tsip_dialog_invite.js:745
c0000_Outgoing_2_Connected_X_i2xxINVITE tsip_dialog_invite__client.js:131
tsk_fsm.act tsk_fsm.js:106
tsip_dialog.fsm_act tsip_dialog.js:739
__tsip_dialog_invite_event_callback tsip_dialog_invite.js:894
tsip_dialog.callback tsip_dialog.js:724
__tsip_transac_ict_Proceeding_2_Accepted_X_2xx tsip_transac_ict.js:469
tsk_fsm.act tsk_fsm.js:106
tsip_transac.fsm_act tsip_transac.js:138
__tsip_transac_ict_event_callback tsip_transac_ict.js:570
tsip_transac.callback tsip_transac.js:100
tsip_transac_layer.handle_incoming_message tsip_transac_layer.js:277
tsip_transport_layer.handle_incoming_message tsip_transport_layer.js:238
__tsip_transport_ws_onmessage tsip_transport.js:389
OK call.htm:559
In Call call.htm:471
--- On Mon, 5/21/12, Mamadou <diopm...@doubango.org> wrote:
> From: Mamadou <diopm...@doubango.org>
> Subject: Re: sipML5 and Freeswitch
I get a connection, and FreeSwitch is sending RTP data, but I don't hear any audio. I see it going to my public IP, but no audio. I tried the same extension with another SIP client (X-lite) and that worked, so I know there are no firewall/routing issues.
I noticed in the INVITE SDP that the origin line is 127.0.0.1 (it was my public IP in the X-Lite INVITE). The c= line is fine, though. Is there an API to change the IP of the o= line in the SDP?
INVITE and first part of SDP follows:
INVITE sip:77...@65.110.58.60 SIP/2.0
Via: SIP/2.0/UDP 87.106.69.240:7060;branch=z9hG4bK-524287-1---28761c25c112c562;rport
Via: SIP/2.0/TCP 68.205.137.246:49839;branch=z9hG4bKD2WhvHpVoTife74BXNJ7voPwvcQRyUZk;rport=49839;received=68.205.137.246
Max-Forwards: 69
Contact: "Peter Krause"<sip:77...@87.106.69.240:7060;transport=udp;ws-src-ip=68.205.137.246;ws-src-port=49839>;+sip.ice
To: <sip:77...@65.110.58.60>
From: <sip:7777@uringme>;tag=E9uN7TzQ1obmdOUuMFLD
Call-ID: c26cd184-eb23-e565-bfd3-0bfafe19742e
CSeq: 13372 INVITE
Content-Type: application/sdp
Organization: Doubango Telecom
User-Agent: IM-client/OMA1.0 sipML5/v0.0.0000.0
Content-Length: 1359
v=0
o=- 2660658294 1 IN IP4 127.0.0.1
s=webrtc (chrome 20.0.1127.0) - Doubango Telecom (sipML5 r000)
a=group:BUNDLE audio video
t=0 0
m=audio 50493 RTP/SAVP 103 104 0 8 106 105 13 126
c=IN IP4 68.205.137.246
....snip....
--- On Wed, 5/23/12, Mamadou <diopm...@doubango.org> wrote:
When I use another SIP client (X-Lite, not Chrome) and dial the same extension on the same server, I get audio no problem.
Maybe the o= line isn't the problem, but it's a major difference in the two INVITEs.
--- On Wed, 5/23/12, Mamadou <diopm...@doubango.org> wrote:
The problem is not with the crypto its with the a=crypto being inside the AVP vs SAVP (denoting secure)I am willing to lift this restriction or at least make it configurable since the alternative is you must send a double sized sdp with AVP for non secure stuff and SAVP for the secure.
--
Ive been able to successfully register a device using webrtc2sip gw, however i cant get any sound. The webserver, gw, and freeswitch are all on the same machine. Any ideas would be greatly appreciated?State machine: x0000_Any_2_Any_X_i401_407_INVITE /src/tinySAK/src/tsk_utils.js?svn=13:59SEND: INVITE sip:9999...@107.23.59.74 SIP/2.0 Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKcK4Ws75sM3nZIqUmq3nK5XOHdPtRcFiN;rport From: <sip:21303...@107.23.59.74>;tag=TIQtKygCbCAPoVtU7DpO To: <sip:9999...@107.23.59.74> Contact: "sp"<sip:21303...@df7jal23ls0d.invalid;transport=ws>;+sip.ice Call-ID: 7de16dc9-41b9-b1c6-b085-1b891489813e CSeq: 16406 INVITE Content-Type: application/sdp Content-Length: 1294 Max-Forwards: 70 Proxy-Authorization: Digest username="2130334003",realm="107.23.59.74",nonce="550d599a-3b30-11e2-a729-8b18d47feaee",uri="sip:9999...@107.23.59.74",response="92cde606c2012aad89e95c8d1ddf0e77",algorithm=MD5,cnonce="abdcca769628eaf4225f8366058419d1",qop=auth,nc=00000001 Route: <sip:107.23.59.74:5060;lr;transport=udp> User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/ Organization: Doubango Telecom v=0 o=- 2443276864 2 IN IP4 127.0.0.1 s=Doubango Telecom - PeerConnection t=0 0 a=group:BUNDLE audio video m=audio 57473 RTP/SAVP 103 104 0 8 106 105 13 126 c=IN IP4 46.246.201.235 a=rtcp:57473 IN IP4 46.246.201.235 a=candidate:3802297132 1 udp 2113937151 192.168.0.3 57472 typ host generation 0 a=candidate:3802297132 2 udp 2113937151 192.168.0.3 57472 typ host generation 0 a=candidate:1274936569 1 udp 1677729535 46.246.201.235 57473 typ srflx generation 0 a=candidate:1274936569 2 udp 1677729535 46.246.201.235 57473 typ srflx generation 0 a=candidate:2887880668 1 tcp 1509957375 192.168.0.3 50736 typ host generation 0 a=candidate:2887880668 2 tcp 1509957375 192.168.0.3 50736 typ host generation 0 a=ice-ufrag:8tg3B+2oWiN3sm7T a=ice-pwd:3sqK8PM+sqnw4CXN1ba9nSB0 a=ice-options:google-ice a=sendrecv a=mid:audio a=rtcp-mux a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:e8yvC9XIVcCUKtVYTDYlwkxPnQhvRtjzttMbDlCc a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:126 telephone-event/8000 a=ssrc:187558285 cname:lzjjnqBxw4gUofQn a=ssrc:187558285 mslabel:0KwLFawpJwjTWNLWqVKYQtPrhuHnDMVbz6BF a=ssrc:187558285 label:0KwLFawpJwjTWNLWqVKYQtPrhuHnDMVbz6BF00 /src/tinySAK/src/tsk_utils.js?svn=13:59__tsip_transport_ws_onmessage /src/tinySAK/src/tsk_utils.js?svn=13:59recv=SIP/2.0 180 Ringing Via: SIP/2.0/TCP 46.246.201.235:50587;rport=50587;received=46.246.201.235;branch=z9hG4bKcK4Ws75sM3nZIqUmq3nK5XOHdPtRcFiN From: <sip:21303...@107.23.59.74>;tag=TIQtKygCbCAPoVtU7DpO To: <sip:9999...@107.23.59.74>;tag=cQrace98U97Qc Contact: <sip:9999...@10.0.1.59:5060;transport=udp> Call-ID: 7de16dc9-41b9-b1c6-b085-1b891489813e CSeq: 16406 INVITE Content-Length: 0 Accept: application/sdp Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,UPDATE,INFO,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE Server: webrtc2sip Supported: timer,precondition,path,replaces User-Agent: FreeSWITCH-mod_sofia/1.2.0-rc2+git~20120616T193227Z~068586f28f Allow-Events: talk,hold,presence,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer Remote-Party-ID: screen=no;party=calling;privacy=off;screen=no
On Wednesday, September 5, 2012 2:18:40 PM UTC+3, Anton wrote:i've added in the end of
function tmedia_session_jsep.prototype.decorate_lo
in file
src\tinyMEDIA\src\tmedia_session_jsep.js
--
--
Looks like you got some new content there. I will have a look, investigate and keep you posted.
thank you very much!! You and your team are doing great work ;)
On Mon, Dec 3, 2012 at 7:26 PM, Mamadou DIOP <diopm...@doubango.org> wrote:
On Nov 30, 2012, at 9:58 PM, Ros P <rosph...@gmail.com> wrote:
Ive been able to successfully register a device using webrtc2sip gw, however i cant get any sound. The webserver, gw, and freeswitch are all on the same machine. Any ideas would be greatly appreciated?
State machine: x0000_Any_2_Any_X_i401_407_INVITE /src/tinySAK/src/tsk_utils.js?svn=13:59
SEND: INVITE sip:9999...@107.23.59.74 SIP/2.0 Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKcK4Ws75sM3nZIqUmq3nK5XOHdPtRcFiN;rport From: <sip:21303...@107.23.59.74>;tag=TIQtKygCbCAPoVtU7DpO To: <sip:9999...@107.23.59.74> Contact: "sp"<sip:2130334003@df7jal23ls0d.invalid;transport=ws>;+sip.ice Call-ID: 7de16dc9-41b9-b1c6-b085-1b891489813e CSeq: 16406 INVITE Content-Type: application/sdp Content-Length: 1294 Max-Forwards: 70 Proxy-Authorization: Digest username="2130334003",realm="107.23.59.74",nonce="550d599a-3b30-11e2-a729-8b18d47feaee",uri="sip:9999...@107.23.59.74",response="92cde606c2012aad89e95c8d1ddf0e77",algorithm=MD5,cnonce="abdcca769628eaf4225f8366058419d1",qop=auth,nc=00000001 Route: <sip:107.23.59.74:5060;lr;transport=udp> User-Agent: IM-client/OMA1.0 sipML5-v1.0.89.0/ Organization: Doubango Telecom v=0 o=- 2443276864 2 IN IP4 127.0.0.1 s=Doubango Telecom - PeerConnection t=0 0 a=group:BUNDLE audio video m=audio 57473 RTP/SAVP 103 104 0 8 106 105 13 126 c=IN IP4 46.246.201.235 a=rtcp:57473 IN IP4 46.246.201.235 a=candidate:3802297132 1 udp 2113937151 192.168.0.3 57472 typ host generation 0 a=candidate:3802297132 2 udp 2113937151 192.168.0.3 57472 typ host generation 0 a=candidate:1274936569 1 udp 1677729535 46.246.201.235 57473 typ srflx generation 0 a=candidate:1274936569 2 udp 1677729535 46.246.201.235 57473 typ srflx generation 0 a=candidate:2887880668 1 tcp 1509957375 192.168.0.3 50736 typ host generation 0 a=candidate:2887880668 2 tcp 1509957375 192.168.0.3 50736 typ host generation 0 a=ice-ufrag:8tg3B+2oWiN3sm7T a=ice-pwd:3sqK8PM+sqnw4CXN1ba9nSB0 a=ice-options:google-ice a=sendrecv a=mid:audio a=rtcp-mux a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:e8yvC9XIVcCUKtVYTDYlwkxPnQhvRtjzttMbDlCc a=rtpmap:103 ISAC/16000 a=rtpmap:104 ISAC/32000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:106 CN/32000 a=rtpmap:105 CN/16000 a=rtpmap:13 CN/8000 a=rtpmap:126 telephone-event/8000 a=ssrc:187558285 cname:lzjjnqBxw4gUofQn a=ssrc:187558285 mslabel:0KwLFawpJwjTWNLWqVKYQtPrhuHnDMVbz6BF a=ssrc:187558285 label:0KwLFawpJwjTWNLWqVKYQtPrhuHnDMVbz6BF00 /src/tinySAK/src/tsk_utils.js?svn=13:59
----
--
--
--
--
--