Re: [discuss-webrtc] Problem with handling initial INVITE without the SDP

88 views
Skip to first unread message

Justin Uberti

unread,
May 17, 2013, 9:18:36 PM5/17/13
to discuss-webrtc
What happens in your call? Do you get any ICE state changes?


On Thu, May 16, 2013 at 5:18 AM, Sumanta Sen <sen.suma...@gmail.com> wrote:
Hi All,

We are facing trouble in handling the initial INVITE without SDP.

It means that the offer will go in 200 OK and answer will come in ACK. However, media path is not established.

Is anyone aware of such issues?


Ready! webphone.js:585
[INFO] RTC constructor qoffeesip.js:50
[INFO] New state  OFFLINE(0) qoffeesip.js:1502
ws://10.54.2.49:5082 qoffeesip.js:859
[INFO]    websocket created qoffeesip.js:761
[INFO]    websocket opened qoffeesip.js:761
[INFO] New state  REGISTERING (before challenge)(1) qoffeesip.js:1502
[STATE] 1 webphone.js:442
[INFO] Sending data REGISTER sip:10.54.2.49 SIP/2.0
Route: <sip:10.54.2.49:5082;transport=ws;lr>
Via: SIP/2.0/WS dt5F56opvLHN.invalid;branch=z9hG4bKNbOoVCK3dGe62JjPAosNa76pO0pO0B
From: sip:an...@10.54.2.49;tag=j4UoRhEElP0cTt4cePgA
Call-ID: G5E23oTd5607n4g1
CSeq: 790 REGISTER
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE
Supported: path, outbound, gruu
User-Agent: My agent
Contact: <sip:an...@dt5F56opvLHN.invalid;transport=ws>;reg-id=1;+sip.instance="<urn:uuid:595-0b43-e4f06f43>"
Content-Length: 0

 qoffeesip.js:1458
[INFO] Parsing qoffeesip.js:423
SIP/2.0 200 OK
To: <sip:an...@10.54.2.49>;tag=79045844_73cd66e0_49e5bd9a-e562-4b2b-8f8d-84dd0774d109
Via: SIP/2.0/WS 10.70.54.25:60542;branch=z9hG4bKNbOoVCK3dGe62JjPAosNa76pO0pO0B;rport=60542
CSeq: 790 REGISTER
Call-ID: G5E23oTd5607n4g1
From: <sip:an...@10.54.2.49>;tag=j4UoRhEElP0cTt4cePgA
Contact: <sip:an...@10.70.54.25:60542;transport=ws>;+sip.instance="<urn:uuid:595-0b43-e4f06f43>";reg-id=1
Content-Length: 0

 qoffeesip.js:424
Array[1]
 qoffeesip.js:482
Object
 qoffeesip.js:492
[INFO] Parsed qoffeesip.js:442
Object
 qoffeesip.js:443
[INFO]    Input message qoffeesip.js:761
[INFO]    register-success qoffeesip.js:761
PeerConnection starting qoffeesip.js:135
[INFO] createPeerConnection qoffeesip.js:142
[MEDIA] ICE servers qoffeesip.js:143
Array[2]
 qoffeesip.js:144
[INFO] createStream qoffeesip.js:195
[INFO] New state  REGISTERED(3) qoffeesip.js:1502
[STATE] 3 webphone.js:442
[INFO] getUserMedia successed qoffeesip.js:203
LocalMediaStream
 qoffeesip.js:204
[INFO] attachStream qoffeesip.js:109
localstream 
LocalMediaStream
 qoffeesip.js:208
[INFO] Parsing qoffeesip.js:423
INVITE sip:an...@10.70.54.25:60542;transport=WS SIP/2.0
CSeq: 1 INVITE
From: <sip:san...@10.70.54.191:1354>;tag=28901649_73cd66e0_9970fdb4-b35f-475d-a00b-b1a7362515c1
Max-Forwards: 70
Contact: <sip:san...@10.54.2.49:5082;transport=ws>
Via: SIP/2.0/WS 10.54.2.49:5082;branch=z9hG4bK9970fdb4-b35f-475d-a00b-b1a7362515c1_73cd66e0_3882574130964889
Content-Length: 0

 qoffeesip.js:424
Array[1]
 qoffeesip.js:482
Object
 qoffeesip.js:492
[INFO] Parsed qoffeesip.js:442
Object
 qoffeesip.js:443
[INFO]    Input message qoffeesip.js:761
Will send 180 ringing[object Object] qoffeesip.js:1019
[INFO] Sending data SIP/2.0 180 Ringing
Via: SIP/2.0/WS 10.54.2.49:5082;branch=z9hG4bK9970fdb4-b35f-475d-a00b-b1a7362515c1_73cd66e0_3882574130964889
From: sip:san...@10.54.2.49;tag=;tag=28901649_73cd66e0_9970fdb4-b35f-475d-a00b-b1a7362515c1
To: sip:an...@10.54.2.49;tag=PGej2aK9roNVf6tiA1gS
CSeq: 1 INVITE
Max-Forwards: 70
Supported: path, outbound, gruu
User-Agent: My agent
Contact: <sip:an...@TEokM4876CM8.invalid;transport=ws>
Content-Length: 0

 qoffeesip.js:1458
[INFO] New state  RINGING(6) qoffeesip.js:1502
[STATE] 6 webphone.js:442
[INFO] No offer recieved in Invite qoffeesip.js:314
[INFO] Late Media,send offer qoffeesip.js:283
[INFO] createAnswer qoffeesip.js:254
[INFO] New state  INCOMING CALL(4) qoffeesip.js:1502
[STATE] 4 webphone.js:442
[INFO] peerconnectionstate changed -> have-local-offer qoffeesip.js:180
[INFO] setLocalDescription successed qoffeesip.js:230
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] New ICE candidate: qoffeesip.js:159
a=candidate:1485740735 1 udp 2113937151 10.70.53.185 50448 typ host generation 0
 qoffeesip.js:166
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] New ICE candidate: qoffeesip.js:159
a=candidate:1485740735 2 udp 2113937151 10.70.53.185 50448 typ host generation 0
 qoffeesip.js:166
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] New ICE candidate: qoffeesip.js:159
a=candidate:2689087557 1 udp 2113937151 10.70.54.25 50449 typ host generation 0
 qoffeesip.js:166
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] New ICE candidate: qoffeesip.js:159
a=candidate:2689087557 2 udp 2113937151 10.70.54.25 50449 typ host generation 0
 qoffeesip.js:166
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] New ICE candidate: qoffeesip.js:159
a=candidate:369976911 1 tcp 1509957375 10.70.53.185 60585 typ host generation 0
 qoffeesip.js:166
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] New ICE candidate: qoffeesip.js:159
a=candidate:369976911 2 tcp 1509957375 10.70.53.185 60585 typ host generation 0
 qoffeesip.js:166
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] New ICE candidate: qoffeesip.js:159
a=candidate:4006331573 1 tcp 1509957375 10.70.54.25 60586 typ host generation 0
 qoffeesip.js:166
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] New ICE candidate: qoffeesip.js:159
a=candidate:4006331573 2 tcp 1509957375 10.70.54.25 60586 typ host generation 0
 qoffeesip.js:166
[INFO] onicecandidate qoffeesip.js:156
undefined qoffeesip.js:157
[INFO] No more ice candidates qoffeesip.js:168
[MEDIA] qoffeesip.js:221
[INFO] Sending data SIP/2.0 200 OK
Via: SIP/2.0/WS 10.54.2.49:5082;branch=z9hG4bK9970fdb4-b35f-475d-a00b-b1a7362515c1_73cd66e0_3882574130964889
From: sip:san...@10.54.2.49;tag=;tag=28901649_73cd66e0_9970fdb4-b35f-475d-a00b-b1a7362515c1
To: sip:an...@10.54.2.49;tag=PGej2aK9roNVf6tiA1gS
CSeq: 1 INVITE
Max-Forwards: 70
Supported: path, outbound, gruu
User-Agent: My agent
Contact: <sip:an...@TEokM4876CM8.invalid;transport=ws>
Content-Type: application/sdp
Content-Length: 1747

v=0
o=- 866311585 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS rYU4XjMii8TAmOJpnNnkWvZqv7e98sF1vqeJ
m=audio 50448 RTP/SAVPF 103 104 111 0 8 107 106 105 13 126
c=IN IP4 10.70.53.185
a=rtcp:50448 IN IP4 10.70.53.185
a=candidate:1485740735 1 udp 2113937151 10.70.53.185 50448 typ host generation 0
a=candidate:1485740735 2 udp 2113937151 10.70.53.185 50448 typ host generation 0
a=candidate:2689087557 1 udp 2113937151 10.70.54.25 50449 typ host generation 0
a=candidate:2689087557 2 udp 2113937151 10.70.54.25 50449 typ host generation 0
a=candidate:369976911 1 tcp 1509957375 10.70.53.185 60585 typ host generation 0
a=candidate:369976911 2 tcp 1509957375 10.70.53.185 60585 typ host generation 0
a=candidate:4006331573 1 tcp 1509957375 10.70.54.25 60586 typ host generation 0
a=candidate:4006331573 2 tcp 1509957375 10.70.54.25 60586 typ host generation 0
a=ice-ufrag:/+q/IS0s/hIehdlx
a=ice-pwd:BtlZb2Rlug1+sJsgX7jXqJ+F
a=ice-options:google-ice
a=sendrecv
a=mid:audio
a=rtcp-mux
a=crypto:0 AES_CM_128_HMAC_SHA1_32 inline:r75qvb4/ZnsDPnkzUcoEhLBpNtAbTkgGkahtJmQ4
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:WZWD11eGafhvrG+LzsxZiT++vZL5Oe2WtS6GcwMk
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:107 CN/48000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:294156760 cname:cf5sxVFPt1BHl029
a=ssrc:294156760 msid:rYU4XjMii8TAmOJpnNnkWvZqv7e98sF1vqeJ rYU4XjMii8TAmOJpnNnkWvZqv7e98sF1vqeJa0
a=ssrc:294156760 mslabel:rYU4XjMii8TAmOJpnNnkWvZqv7e98sF1vqeJ
a=ssrc:294156760 label:rYU4XjMii8TAmOJpnNnkWvZqv7e98sF1vqeJa0
 qoffeesip.js:1458


[INFO] Parsing qoffeesip.js:423
ACK sip:an...@10.70.54.25:60542;transport=ws SIP/2.0
CSeq: 1 ACK
From: <sip:san...@10.70.54.191:1354>;tag=28901649_73cd66e0_9970fdb4-b35f-475d-a00b-b1a7362515c1
To: <sip:an...@10.70.54.25:60542>;tag=PGej2aK9roNVf6tiA1gS
Max-Forwards: 70
Content-Type: application/sdp
Via: SIP/2.0/WS 10.54.2.49:5082;branch=z9hG4bK9970fdb4-b35f-475d-a00b-b1a7362515c1_73cd66e0_3882603080324371
Content-Length: 1144

v=0
o=- 2817694487 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS nIkzyd0IgqN8mNAYAUhRdFVOIQxfpyT7XrLr
m=audio 1381 RTP/SAVPF 103 104 111 0 8 107 106 105 13 126
c=IN IP4 10.70.54.191
a=rtcp:1 IN IP4 0.0.0.0
a=candidate:3762892097 1 udp 2113937151 10.70.54.191 1381 typ host generation 0
a=candidate:2932527537 1 tcp 1509957375 10.70.54.191 1382 typ host generation 0
a=ice-ufrag:L3gkHLcMypl2IkRP
a=ice-pwd:4n90UmC0wELr2QYyFWcCAP35
a=sendrecv
a=mid:audio
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:MVS0rSGjG/rRZF9etFJaDJNPbo9rhTGW9KguZ0nL
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:107 CN/48000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:3695102198 cname:j99aPRrN/hPshuz1
a=ssrc:3695102198 msid:nIkzyd0IgqN8mNAYAUhRdFVOIQxfpyT7XrLr nIkzyd0IgqN8mNAYAUhRdFVOIQxfpyT7XrLra0
a=ssrc:3695102198 mslabel:nIkzyd0IgqN8mNAYAUhRdFVOIQxfpyT7XrLr
a=ssrc:3695102198 label:nIkzyd0IgqN8mNAYAUhRdFVOIQxfpyT7XrLra0
 qoffeesip.js:424
["Via: SIP/2.0/WS 10.54.2.49:5082;branch=z9hG4bK9970…-475d-a00b-b1a7362515c1_73cd66e0_3882603080324371"]
 qoffeesip.js:482
Object {vias: Array[1], branch: "z9hG4bK9970fdb4-b35f-475d-a00b-b1a7362515c1_73cd66e0_3882603080324371"}
 qoffeesip.js:492
[INFO] Parsed qoffeesip.js:442
Object {frame: "ACK sip:an...@10.70.54.25:60542;transport=ws SIP/2…98 label:nIkzyd0IgqN8mNAYAUhRdFVOIQxfpyT7XrLra0
↵", meth: "ACK", type: "request", vias: Array[1], branch: "z9hG4bK9970fdb4-b35f-475d-a00b-b1a7362515c1_73cd66e0_3882603080324371"…}
 qoffeesip.js:443
[INFO]    Input message qoffeesip.js:761
[INFO] New state  CALL STABLISHED (callee)(8) qoffeesip.js:1502
[STATE] 8 webphone.js:442


--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Sumanta Sen

unread,
May 21, 2013, 8:12:15 AM5/21/13
to discuss...@googlegroups.com
Nothing happens after this. No more message/logs. But we do not have media path


On Saturday, 18 May 2013 06:48:36 UTC+5:30, Justin Uberti wrote:
What happens in your call? Do you get any ICE state changes?
On Thu, May 16, 2013 at 5:18 AM, Sumanta Sen <sen.suma...@gmail.com> wrote:
Hi All,

We are facing trouble in handling the initial INVITE without SDP.

It means that the offer will go in 200 OK and answer will come in ACK. However, media path is not established.

Is anyone aware of such issues?


Ready! webphone.js:585
[INFO] RTC constructor qoffeesip.js:50
[INFO] New state  OFFLINE(0) qoffeesip.js:1502
ws://10.54.2.49:5082 qoffeesip.js:859
[INFO]    websocket created qoffeesip.js:761
[INFO]    websocket opened qoffeesip.js:761
[INFO] New state  REGISTERING (before challenge)(1) qoffeesip.js:1502
[STATE] 1 webphone.js:442
[INFO] Sending data REGISTER sip:10.54.2.49 SIP/2.0
Route: <sip:10.54.2.49:5082;transport=ws;lr>
Via: SIP/2.0/WS dt5F56opvLHN.invalid;branch=z9hG4bKNbOoVCK3dGe62JjPAosNa76pO0pO0B
From: sip:...@10.54.2.49;tag=j4UoRhEElP0cTt4cePgA
Call-ID: G5E23oTd5607n4g1
CSeq: 790 REGISTER
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE
Supported: path, outbound, gruu
User-Agent: My agent
Contact: <sip:anand@dt5F56opvLHN.invalid;transport=ws>;reg-id=1;+sip.instance="<urn:uuid:595-0b43-e4f06f43>"
Content-Length: 0

 qoffeesip.js:1458
[INFO] Parsing qoffeesip.js:423
SIP/2.0 200 OK
To: <sip:...@10.54.2.49>;tag=79045844_73cd66e0_49e5bd9a-e562-4b2b-8f8d-84dd0774d109
Via: SIP/2.0/WS 10.70.54.25:60542;branch=z9hG4bKNbOoVCK3dGe62JjPAosNa76pO0pO0B;rport=60542
CSeq: 790 REGISTER
Call-ID: G5E23oTd5607n4g1
From: <sip:...@10.54.2.49>;tag=j4UoRhEElP0cTt4cePgA
CSeq: 1 INVITE
From: <sip:san...@10.70.54.191:1354>;tag=28901649_73cd66e0_9970fdb4-b35f-475d-a00b-b1a7362515c1
Max-Forwards: 70
Contact: <sip:san...@10.54.2.49:5082;transport=ws>
Via: SIP/2.0/WS 10.54.2.49:5082;branch=z9hG4bK9970fdb4-b35f-475d-a00b-b1a7362515c1_73cd66e0_3882574130964889
Content-Length: 0

 qoffeesip.js:424
Array[1]
 qoffeesip.js:482
Object
 qoffeesip.js:492
[INFO] Parsed qoffeesip.js:442
Object
 qoffeesip.js:443
[INFO]    Input message qoffeesip.js:761
Will send 180 ringing[object Object] qoffeesip.js:1019
[INFO] Sending data SIP/2.0 180 Ringing
Via: SIP/2.0/WS 10.54.2.49:5082;branch=z9hG4bK9970fdb4-b35f-475d-a00b-b1a7362515c1_73cd66e0_3882574130964889
From: sip:s...@10.54.2.49;tag=;tag=28901649_73cd66e0_9970fdb4-b35f-475d-a00b-b1a7362515c1
To: sip:...@10.54.2.49;tag=PGej2aK9roNVf6tiA1gS
CSeq: 1 INVITE
Max-Forwards: 70
Supported: path, outbound, gruu
User-Agent: My agent
Contact: <sip:anand@TEokM4876CM8.invalid;transport=ws>
From: sip:s...@10.54.2.49;tag=;tag=28901649_73cd66e0_9970fdb4-b35f-475d-a00b-b1a7362515c1
To: sip:...@10.54.2.49;tag=PGej2aK9roNVf6tiA1gS
CSeq: 1 INVITE
Max-Forwards: 70
Supported: path, outbound, gruu
User-Agent: My agent
Contact: <sip:anand@TEokM4876CM8.invalid;transport=ws>

Justin Uberti

unread,
May 21, 2013, 12:06:04 PM5/21/13
to discuss-webrtc
Please send output from webrtc-internals.
Reply all
Reply to author
Forward
0 new messages