Webrtc does not hang up call when no answer

Status
Not open for further replies.

teemoz

Joined
Mar 23, 2014
Messages
26
Reaction score
0
Dear All

We have successfully installed call center module along with webrtc agent console, agent can log in make calls and receive calls no problem.
We are using chrome , the problem that we face is that when an agent receives the call and he do not answer and the caller hangs up , webrtc still rings at the agent browser . The only thing that the agent must do is reject the call to stop ringing. Same when you use if no answer transfer to another agent , the call is transferred to another agent but still rings at the first agent.
Any help
 
Can you collect the log from chrome(JS) and the sip debug if its possible?

In the meantime I'll do some tests.

Best regards.
 
Hi , Thank you , here is chrome debug

State machine: tsip_dialog_register_Started_2_InProgress_X_oRegister SIPml-api.js:1
SEND: REGISTER sip:asterisk SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKqi63rBaHxAHovw6omyGXT98k8NoxBi6o;rport
From: "SIP/2000"<sip:[email protected]>;tag=nqopoyRc36dccN2SJT3h
To: "SIP/2000"<sip:[email protected]>
Contact: "SIP/2000"<sip:[email protected];rtcweb-breaker=yes;transport=ws>;expires=1800;click2call=no
Call-ID: 4dccd6d9-fdf0-037a-f264-3c4280d560f9
CSeq: 6086 REGISTER
Content-Length: 0
Max-Forwards: 70
User-Agent: DM_SIPWEB-UA
Organization: Digital-Merge
Supported: path

SIPml-api.js:1
==stack event = connecting SIPml-api.js:1
==stack event = sent_request SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.254:10060;rport=10060;received=192.168.1.254;branch=z9hG4bKqi63rBaHxAHovw6omyGXT98k8NoxBi6o
From: "SIP/2000"<sip:[email protected]>;tag=nqopoyRc36dccN2SJT3h
To: "SIP/2000"<sip:[email protected]>;tag=as0a3af587
Call-ID: 4dccd6d9-fdf0-037a-f264-3c4280d560f9
CSeq: 6086 REGISTER
Content-Length: 0
Via: SIP/2.0/TCP 192.168.1.101:34404;rport;branch=z9hG4bKqi63rBaHxAHovw6omyGXT98k8NoxBi6o;ws-hacked=WS
Server: FPBX-2.8.1(11.7.0)
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer
WWW-Authenticate: Digest realm="asterisk",nonce="6a827495",stale=FALSE,algorithm=MD5

SIPml-api.js:1
State machine: tsip_dialog_register_InProgress_2_InProgress_X_401_407_421_494 SIPml-api.js:1
SEND: REGISTER sip:asterisk SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKmq2TybP4iHNS2DNaTO5DLPysRxxfZATH;rport
From: "SIP/2000"<sip:[email protected]>;tag=nqopoyRc36dccN2SJT3h
To: "SIP/2000"<sip:[email protected]>
Contact: "SIP/2000"<sip:[email protected];rtcweb-breaker=yes;transport=ws>;expires=1800;click2call=no
Call-ID: 4dccd6d9-fdf0-037a-f264-3c4280d560f9
CSeq: 6087 REGISTER
Content-Length: 0
Max-Forwards: 70
Authorization: Digest username="2000",realm="asterisk",nonce="6a827495",uri="sip:asterisk",response="f93167807f482ffe0deb6c916b7ba6a0",algorithm=MD5
User-Agent: DM_SIPWEB-UA
Organization: Digital-Merge
Supported: path

SIPml-api.js:1
==stack event = sent_request SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=OPTIONS sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK010fb318
From: "Unknown"<sip:[email protected]>;tag=as2313da2e
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)
Date: 30 Mar 2014 12:33:36 GMT;30
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer

SIPml-api.js:1
Not implemented SIPml-api.js:1
SEND: SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK010fb318
From: "Unknown"<sip:[email protected]>;tag=as2313da2e
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0

SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.254:10060;rport=10060;received=192.168.1.254;branch=z9hG4bKmq2TybP4iHNS2DNaTO5DLPysRxxfZATH
From: "SIP/2000"<sip:[email protected]>;tag=nqopoyRc36dccN2SJT3h
To: "SIP/2000"<sip:[email protected]>;tag=as0a3af587
Contact: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>;expires=1800
Call-ID: 4dccd6d9-fdf0-037a-f264-3c4280d560f9
CSeq: 6087 REGISTER
Expires: 1800
Content-Length: 0
Via: SIP/2.0/TCP 192.168.1.101:34404;rport;branch=z9hG4bKmq2TybP4iHNS2DNaTO5DLPysRxxfZATH;ws-hacked=WS
Server: FPBX-2.8.1(11.7.0)
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer
Date: 30 Mar 2014 12:33:36 GMT;30

SIPml-api.js:1
State machine: tsip_dialog_register_InProgress_2_Connected_X_2xx SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=NOTIFY sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK2fec9945
From: "Unknown"<sip:[email protected]>;tag=as39f3bbaa
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: [email protected]:5060
CSeq: 102 NOTIFY
Content-Type: application/simple-message-summary
Content-Length: 88
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)
Event: message-summary

Messages-Waiting: no
Message-Account: sip:*[email protected]
Voice-Message: 0/0 (0/0)
SIPml-api.js:1
SEND: SIP/2.0 481 Dialog/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK2fec9945
From: "Unknown"<sip:[email protected]>;tag=as39f3bbaa
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 NOTIFY
Content-Length: 0

SIPml-api.js:1
==stack event = connected SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=OPTIONS sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK1d9e9747
From: "Unknown"<sip:[email protected]>;tag=as26415b21
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)
Date: 30 Mar 2014 12:34:36 GMT;30
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer

SIPml-api.js:1
Not implemented SIPml-api.js:1
SEND: SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK1d9e9747
From: "Unknown"<sip:[email protected]>;tag=as26415b21
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0

SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=OPTIONS sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK1e89ed09
From: "Unknown"<sip:[email protected]>;tag=as77c8f679
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)
Date: 30 Mar 2014 12:35:37 GMT;30
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer

SIPml-api.js:1
Not implemented SIPml-api.js:1
SEND: SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK1e89ed09
From: "Unknown"<sip:[email protected]>;tag=as77c8f679
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0

SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=OPTIONS sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK45965642
From: "Unknown"<sip:[email protected]>;tag=as448a2200
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)
Date: 30 Mar 2014 12:36:37 GMT;30
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer

SIPml-api.js:1
Not implemented SIPml-api.js:1
SEND: SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK45965642
From: "Unknown"<sip:[email protected]>;tag=as448a2200
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0

SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=OPTIONS sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK20fef2dd
From: "Unknown"<sip:[email protected]>;tag=as6be85fd6
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)
Date: 30 Mar 2014 12:37:37 GMT;30
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer

SIPml-api.js:1
Not implemented SIPml-api.js:1
SEND: SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK20fef2dd
From: "Unknown"<sip:[email protected]>;tag=as6be85fd6
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0

SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=INVITE sip:[email protected]:10060 SIP/2.0
Via: SIP/2.0/WS 192.168.1.254:10060;rport;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 INVITE
Content-Type: application/sdp
Content-Length: 1201
Max-Forwards: 70
Route: <sip:192.168.1.101:34404;transport=ws;lr>
User-Agent: webrtc2sip Media Server 2.5.1

v=0
o=doubango 1983 678901 IN IP4 192.168.1.254
s=-
c=IN IP4 192.168.1.254
t=0 0
a=tcap:1 RTP/SAVPF RTP/SAVP RTP/AVPF
m=audio 36982 RTP/AVP 8 0 3 101
c=IN IP4 192.168.1.254
a=ptime:20
a=minptime:1
a=maxptime:255
a=silenceSupp:off - - - -
a=rtpmap:8 PCMA/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:3 GSM/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-16
a=acap:1 crypto:1 AES_CM_128_HMAC_SHA1_80 inline:Mt/cR1//8HO/goMQ7A2iY7GUWdbb6qb2Trukv4+Q
a=acap:2 crypto:2 AES_CM_128_HMAC_SHA1_32 inline:++gcCz0BgYgnjaEHpd9rE2tbUxxMrmmcLmtMwXHm
a=pcfg:1 t=1 a=1,2
a=pcfg:2 t=2 a=1,2
a=pcfg:3 t=3
a=sendrecv
a=rtcp-mux
a=ssrc:1239421622 cname:9dcf3993b7c276b6f7ea58990cfef652
a=ssrc:1239421622 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2
a=ssrc:1239421622 label:doubango@audio
a=ice-ufrag:glCwyXT1HYHGKu7
a=ice-pwd:gZgbjL8Ov1MZ4KDtB3KHY
a=candidate:XRwUZckGT 1 udp 2130706431 192.168.1.254 36982 typ host
a=candidate:XRwUZckGT 2 udp 2130706430 192.168.1.254 36983 typ host
a=candidate:srflxXRwU 1 udp 1694498815 41.233.92.106 36982 typ srflx raddr 192.168.1.254 rport 36982
a=candidate:srflxXRwU 2 udp 1694498814 41.233.92.106 36983 typ srflx raddr 192.168.1.254 rport 36983
SIPml-api.js:1
State machine: tsip_transac_ist_Started_2_Proceeding_X_INVITE SIPml-api.js:1
SEND: SIP/2.0 100 Trying (sent from the Transaction Layer)
Via: SIP/2.0/WS 192.168.1.254:10060;rport=10060;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 INVITE
Content-Length: 0

SIPml-api.js:1
PeerConnectionClass = function RTCPeerConnection() { [native code] } SessionDescriptionClass = function RTCSessionDescription() { [native code] } IceCandidateClass = function RTCIceCandidate() { [native code] } SIPml-api.js:1
ICE servers:[{"url":"stun:stun.l.google.com:19302"},{"url":"stun:stun.counterpath.net:3478"},{"url":"stun:numb.viagenie.ca:3478"}] SIPml-api.js:1
setRemoteDescription(offer)
v=0
o=doubango 1983 678901 IN IP4 192.168.1.254
s=-
c=IN IP4 192.168.1.254
t=0 0
a=tcap:1 RTP/SAVPF RTP/SAVP RTP/AVPF
m=audio 36982 RTP/SAVPF 8 0 3 101
c=IN IP4 192.168.1.254
a=ptime:20
a=minptime:1
a=maxptime:255
a=silenceSupp:off - - - -
a=rtpmap:8 PCMA/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:3 GSM/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-16
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:Mt/cR1//8HO/goMQ7A2iY7GUWdbb6qb2Trukv4+Q
a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:++gcCz0BgYgnjaEHpd9rE2tbUxxMrmmcLmtMwXHm
a=pcfg:1 t=1 a=1,2
a=pcfg:2 t=2 a=1,2
a=pcfg:3 t=3
a=sendrecv
a=rtcp-mux
a=ssrc:1239421622 cname:9dcf3993b7c276b6f7ea58990cfef652
a=ssrc:1239421622 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2
a=ssrc:1239421622 label:doubango@audio
a=ice-ufrag:glCwyXT1HYHGKu7
a=ice-pwd:gZgbjL8Ov1MZ4KDtB3KHY
a=candidate:XRwUZckGT 1 udp 2130706431 192.168.1.254 36982 typ host
a=candidate:XRwUZckGT 2 udp 2130706430 192.168.1.254 36983 typ host
a=candidate:srflxXRwU 1 udp 1694498815 41.233.92.106 36982 typ srflx raddr 192.168.1.254 rport 36982
a=candidate:srflxXRwU 2 udp 1694498814 41.233.92.106 36983 typ srflx raddr 192.168.1.254 rport 36983
SIPml-api.js:1
State machine: s0000_Started_2_Ringing_X_iINVITE SIPml-api.js:1
__on_add_stream SIPml-api.js:1
==stack event = m_permission_requested SIPml-api.js:1
onSetRemoteDescriptionSuccess SIPml-api.js:1
onGetUserMediaSuccess SIPml-api.js:1
createAnswer SIPml-api.js:1
State machine: tsip_transac_ist_Proceeding_2_Proceeding_X_1xx SIPml-api.js:1
SEND: SIP/2.0 180 Ringing
Via: SIP/2.0/WS 192.168.1.254:10060;rport=10060;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Contact: <sip:[email protected];transport=ws>
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 INVITE
Content-Length: 0
Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, PRACK, REFER, UPDATE

SIPml-api.js:1
==stack event = i_new_call SIPml-api.js:1
***********************incoming call ml5.js:109
Uncaught ReferenceError: showNotifICall is not defined ml5.js:123
==stack event = m_permission_accepted SIPml-api.js:1
onCreateSdpSuccess SIPml-api.js:1
onSetLocalDescriptionSuccess SIPml-api.js:1
onIceCandidate = undefined SIPml-api.js:1
onIceCandidate = undefined SIPml-api.js:1
onIceCandidate = undefined SIPml-api.js:1
onIceCandidate = undefined SIPml-api.js:1
onIceCandidate = undefined SIPml-api.js:1
onIceCandidate = undefined SIPml-api.js:1
onIceCandidate = undefined SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=CANCEL sip:[email protected]:10060 SIP/2.0
Via: SIP/2.0/WS 192.168.1.254:10060;rport;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 CANCEL
Content-Length: 0
Max-Forwards: 70
Route: <sip:192.168.1.101:34404;transport=ws;lr>
Route: <sip:192.168.1.101:34404;transport=ws;lr>

SIPml-api.js:1
State machine: s0000_Ringing_2_Terminated_X_iCANCEL SIPml-api.js:1
SEND: SIP/2.0 200 OK
Via: SIP/2.0/WS 192.168.1.254:10060;rport=10060;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Contact: <sip:[email protected];transport=ws>
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 CANCEL
Content-Length: 0

SIPml-api.js:1
=== INVITE Dialog terminated === SIPml-api.js:1
PeerConnection::stop() SIPml-api.js:1
State machine: tsip_transac_ist_Proceeding_2_Completed_X_300_to_699 SIPml-api.js:1
SEND: SIP/2.0 487 Request Cancelled
Via: SIP/2.0/WS 192.168.1.254:10060;rport=10060;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 INVITE
Content-Length: 0
Reason: SIP; cause=487; text="Request Cancelled"

SIPml-api.js:1
This/PeerConnection is null: unexpected SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=CANCEL sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK06724dfe
From: "Ahmed"<sip:[email protected]>;tag=as581a663e
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)

SIPml-api.js:1
SEND: SIP/2.0 481 Dialog/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK06724dfe
From: "Ahmed"<sip:[email protected]>;tag=as581a663e
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
Content-Length: 0

SIPml-api.js:1
State machine: tsip_transac_ist_Any_2_Terminated_X_cancel SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=ACK sip:[email protected]:10060 SIP/2.0
Via: SIP/2.0/WS 192.168.1.254:10060;rport;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 ACK
Content-Length: 0
Max-Forwards: 70
Route: <sip:192.168.1.101:34404;transport=ws;lr>

SIPml-api.js:1
SEND: SIP/2.0 481 Dialog/Transaction Does Not Exist
Via: SIP/2.0/WS 192.168.1.254:10060;rport=10060;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 ACK
Content-Length: 0

SIPml-api.js:1
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.7.1.min.js:3
Failed to find dialog with this opid [2] SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=OPTIONS sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK06e90d2b
From: "Unknown"<sip:[email protected]>;tag=as2d73b2f1
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)
Date: 30 Mar 2014 12:38:37 GMT;30
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer

SIPml-api.js:1
Not implemented SIPml-api.js:1
SEND: SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK06e90d2b
From: "Unknown"<sip:[email protected]>;tag=as2d73b2f1
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0

SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=OPTIONS sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK5e82a358
From: "Unknown"<sip:[email protected]>;tag=as27dd363a
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Contact: <sip:[email protected]:10060;transport=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)
Date: 30 Mar 2014 12:39:37 GMT;30
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,SUBSCRIBE,NOTIFY,INFO,PUBLISH
Supported: replaces,timer

SIPml-api.js:1
Not implemented SIPml-api.js:1
SEND: SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK5e82a358
From: "Unknown"<sip:[email protected]>;tag=as27dd363a
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 OPTIONS
Content-Length: 0

SIPml-api.js:1
 
Asterisk log

-- Called SIP/2000
-- SIP/2000-00000001 is ringing
-- SIP/2000-00000001 is ringing
== Spawn extension (macro-dial-one, s, 37) exited non-zero on 'SIP/1000-00000000' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/1000-00000000' in macro 'exten-vm'
== Spawn extension (from-internal, 2000, 1) exited non-zero on 'SIP/1000-00000000'
-- Executing [h@from-internal:1] Macro("SIP/1000-00000000", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/1000-00000000", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/1000-00000000", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/1000-00000000", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/1000-00000000", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/1000-00000000", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/1000-00000000", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/1000-00000000", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/1000-00000000", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/1000-00000000", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/1000-00000000", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/1000-00000000", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/1000-00000000", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/1000-00000000' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1000-00000000
 
recv=CANCEL sip:[email protected]:10060 SIP/2.0
Via: SIP/2.0/WS 192.168.1.254:10060;rport;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 CANCEL
Content-Length: 0
Max-Forwards: 70
Route: <sip:192.168.1.101:34404;transport=ws;lr>
Route: <sip:192.168.1.101:34404;transport=ws;lr>

SIPml-api.js:1
State machine: s0000_Ringing_2_Terminated_X_iCANCEL SIPml-api.js:1
SEND: SIP/2.0 200 OK
Via: SIP/2.0/WS 192.168.1.254:10060;rport=10060;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Contact: <sip:[email protected];transport=ws>
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 CANCEL
Content-Length: 0

SIPml-api.js:1
=== INVITE Dialog terminated === SIPml-api.js:1
PeerConnection::stop() SIPml-api.js:1
State machine: tsip_transac_ist_Proceeding_2_Completed_X_300_to_699 SIPml-api.js:1
SEND: SIP/2.0 487 Request Cancelled
Via: SIP/2.0/WS 192.168.1.254:10060;rport=10060;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 INVITE
Content-Length: 0
Reason: SIP; cause=487; text="Request Cancelled"

SIPml-api.js:1
This/PeerConnection is null: unexpected SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=CANCEL sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK06724dfe
From: "Ahmed"<sip:[email protected]>;tag=as581a663e
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
Content-Length: 0
Max-Forwards: 70
User-Agent: FPBX-2.8.1(11.7.0)

SIPml-api.js:1
SEND: SIP/2.0 481 Dialog/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.1.254:5060;rport=5060;received=192.168.1.254;branch=z9hG4bK06724dfe
From: "Ahmed"<sip:[email protected]>;tag=as581a663e
To: <sip:[email protected]:10060;rtcweb-breaker=yes;transport=udp;ws-src-ip=192.168.1.101;ws-src-port=34404;ws-src-proto=ws>
Call-ID: [email protected]:5060
CSeq: 102 CANCEL
Content-Length: 0

SIPml-api.js:1
State machine: tsip_transac_ist_Any_2_Terminated_X_cancel SIPml-api.js:1
__tsip_transport_ws_onmessage SIPml-api.js:1
recv=ACK sip:[email protected]:10060 SIP/2.0
Via: SIP/2.0/WS 192.168.1.254:10060;rport;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 ACK
Content-Length: 0
Max-Forwards: 70
Route: <sip:192.168.1.101:34404;transport=ws;lr>

SIPml-api.js:1
SEND: SIP/2.0 481 Dialog/Transaction Does Not Exist
Via: SIP/2.0/WS 192.168.1.254:10060;rport=10060;branch=z9hG4bK-1080501613
From: <sip:[email protected]>;tag=2001060891
To: <sip:[email protected]:10060>;tag=QmS5nx8IuIKawmnfe1Sm
Call-ID: cbdfa8b9-cbea-ad8c-6016-e5dfe6a73797
CSeq: 1866595518 ACK
Content-Length: 0

I can see the CANCEL coming from asterisk and the OK going from the SIPML5 API then a Unavailable transaction. I'm going to check if the RING never stop because my JAVA script code(an error not handling the cancel) or if its a BUG on the API.
 
Ok, I have confirmed that issue with my tests. I'm going to work to fix that ASAP.

Best Regards.
 
teemoz:

I have sent the new RPM with the bug fixed to the Elastix Addon Team. If all goes fine in short time you will update the addon to fix your issue.

Thanks for using the Addon and also thanks a lot for reporting bugs.

Best Regards.
 
Thank you so much , really appreciate
 
I have checked and seems like you can perfom the yum update and then the latest version will be installed.
 
Yep , updated and working , thanks .
Will inform you with any new bugs
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,859
Messages
589,433
Members
164,699
Latest member
CLTedu