ingromeo / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

cannot igore the reinvite request from freeswitch #172

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (Wireshark) or Javascript console log
if you want quick response

What steps will reproduce the problem?
1.make a call from chrome
2.about 1 min past a reinvite will send from freeswitch,so the chrome will tip 
user to allow use media device,no matter wether use choose, the call will 
interrupt

What is the expected output? What do you see instead?
The client should igore the invite when it in a call,or it should not fail on 
update media.

What version of the product are you using? On what operating system?
SIPML5 API version = 1.3.214

Please provide any additional information below.
State machine: x0000_Any_2_Any_X_i401_407_INVITE SIPml-api.js:1
SEND: INVITE sip:1004@172.16.18.107 SIP/2.0
Via: SIP/2.0/WS 
df7jal23ls0d.invalid;branch=z9hG4bK2cmayoSZzlRsmnunSiad44cxsb9udPZb;rport
From: "rockxsj"<sip:1005@172.16.18.107>;tag=ccQ7PyzNKdyaW3QKIMkg
To: <sip:1004@172.16.18.107>
Contact: 
"rockxsj"<sip:1005@df7jal23ls0d.invalid;rtcweb-breaker=no;click2call=no;transpor
t=ws>;+g.oma.sip-im;+sip.ice;language="en,fr"
Call-ID: fa20b47a-cf57-a7a6-bd49-24fb31c42ac3
CSeq: 47227 INVITE
Content-Type: application/sdp
Content-Length: 1861
Route: <sip:172.16.18.107:5501;lr;sipml5-outbound;transport=udp>
Max-Forwards: 70
Proxy-Authorization: Digest 
username="1005",realm="172.16.18.107",nonce="38405ed5-7d79-4e28-9ccf-6f1d339b491
a",uri="sip:1004@172.16.18.107",response="97b43c9b2e7940852fa5fa9e71bed91e",algo
rithm=MD5,cnonce="f8d5e054a72f1728ed6f376b0c5991ca",qop=auth,nc=00000001
X-test-header-aaa: aaaaaa
X-test-header-bbb: bbbbbb
User-Agent: IM-client/2345
X-Organization: 2345.com
X-session_id: <?php echo session_id();?>
X-mac_addr: ddddhhhhh
X-client: webrtc

v=0
o=- 3804507438382416400 2 IN IP4 127.0.0.1
s=Doubango Telecom - chrome
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS 58BgL5JJDgqeB6giHeoWkiBnrKU4YoG0d0vx
m=audio 60155 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 180.168.34.146
b=AS:64
a=rtcp:60155 IN IP4 180.168.34.146
a=candidate:528383386 1 udp 2113937151 172.16.99.151 60155 typ host generation 0
a=candidate:528383386 2 udp 2113937151 172.16.99.151 60155 typ host generation 0
a=candidate:2654370606 1 udp 1845501695 180.168.34.146 60155 typ srflx raddr 
172.16.99.151 rport 60155 generation 0
a=candidate:2654370606 2 udp 1845501695 180.168.34.146 60155 typ srflx raddr 
172.16.99.151 rport 60155 generation 0
a=candidate:1375568234 1 tcp 1509957375 172.16.99.151 0 typ host generation 0
a=candidate:1375568234 2 tcp 1509957375 172.16.99.151 0 typ host generation 0
a=ice-ufrag:1f7Sp1BOdUc/y7cR
a=ice-pwd:152jtdpdd9ZGiSgChCBzIKqm
a=ice-options:google-ice
a=fingerprint:sha-256 
AD:BB:11:06:93:C7:06:78:CE:E8:79:07:0A:C6:D6:28:DC:E8:05:51:9F:56:C6:5B:4D:9C:43
:53:3F:86:07:F9
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=crypto:0 AES_CM_128_HMAC_SHA1_32 
inline:5IszbMi9sZWO3dFEr9GbpmLj5eIKMhH8i02x3qa6
a=crypto:1 AES_CM_128_HMAC_SHA1_80 
inline:us2+PtAPz+tepboFaD54mz6ozVYK1Sko3rtv2Bfk
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
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=maxptime:60
a=ssrc:275269890 cname:NrXNvG1X9cyArJM+
a=ssrc:275269890 msid:58BgL5JJDgqeB6giHeoWkiBnrKU4YoG0d0vx 
21c87fce-6a5d-4163-8ff1-27a8013642bd
a=ssrc:275269890 mslabel:58BgL5JJDgqeB6giHeoWkiBnrKU4YoG0d0vx
a=ssrc:275269890 label:21c87fce-6a5d-4163-8ff1-27a8013642bd
 SIPml-api.js:1
会话实例事件类型:i_ao_request call_ml.js:70
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=SIP/2.0 100 Trying
Via: SIP/2.0/WS 
df7jal23ls0d.invalid;rport=52661;received=172.16.99.151;branch=z9hG4bK2cmayoSZzl
RsmnunSiad44cxsb9udPZb
From: "rockxsj"<sip:1005@172.16.18.107>;tag=ccQ7PyzNKdyaW3QKIMkg
To: <sip:1004@172.16.18.107>
Call-ID: fa20b47a-cf57-a7a6-bd49-24fb31c42ac3
CSeq: 47227 INVITE
Content-Length: 0
User-Agent: FreeSWITCH-mod_sofia/1.5.12b+git~20140326T233337Z~7ed144d115~64bit

Original issue reported on code.google.com by rock...@gmail.com on 28 Mar 2014 at 3:11