'Call us' button not working but link is working
Opened this issue · 5 comments
GoogleCodeExporter commented
What version of the product are you using? On what operating system?
OS: Windows 7
Browser: Chrome Version 25.0.1364.152 m
Please provide any additional information below.
Call us button is not working.
I pasted the code generated for call us button. After that the button appeared
on the page but when I clicked on the button, it immediately goes to 'call
terminating' state. I have pasted the <script>...</script> code in the <body>
element.
But the link is working fine. It is calling my sip client.
What could be the reason?
Original issue reported on code.google.com by yatendra...@gmail.com
on 14 Mar 2013 at 6:11
GoogleCodeExporter commented
Please share the javascript console logs
Original comment by boss...@yahoo.fr
on 15 Mar 2013 at 9:01
- Changed state: Accepted
GoogleCodeExporter commented
Javascript console logs (screenshot is also attached)
[C2C] API version = 1.0.1 c2c-api.js:1
SIPML5 API version = 1.2.185 SIPml-api.js:1
[C2C] c2c.init() SIPml-api.js:1
User-Agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.22 (KHTML, like Gecko)
Chrome/25.0.1364.172 Safari/537.22 SIPml-api.js:1
WebSocket supported = yes SIPml-api.js:1
Navigator friendly name = chrome SIPml-api.js:1
OS friendly name = windows SIPml-api.js:1
Have WebRTC = yes SIPml-api.js:1
Have GUM = yes SIPml-api.js:1
Engine initialized SIPml-api.js:1
s_websocket_server_url=wss://sipml5.org:10062 SIPml-api.js:1
s_sip_outboundproxy_url=(null) SIPml-api.js:1
b_rtcweb_breaker_enabled=yes SIPml-api.js:1
b_click2call_enabled=yes SIPml-api.js:1
SIP stack start: proxy='sipml5.org:14062', realm='<sip:click2dial.org>',
impi='eWF0ZW5kcmEuZ29lbC5jc0BnbWFpbC5jb20=',
impu='<sip:eWF0ZW5kcmEuZ29lbC5jc0BnbWFpbC5jb20=@click2dial.org>' SIPml-api.js:1
Connecting to 'wss://sipml5.org:10062' SIPml-api.js:1
[C2C] stack event = starting SIPml-api.js:1
__tsip_transport_ws_onopen SIPml-api.js:1
[C2C] stack event = started SIPml-api.js:1
[C2C] c2c.call() SIPml-api.js:1
State machine: c0000_Started_2_Outgoing_X_oINVITE 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.ne
t:3478"},{"url":"stun:numb.viagenie.ca:3478"}] SIPml-api.js:1
onGetUserMediaError SIPml-api.js:1
NavigatorUserMediaError {code: 1, PERMISSION_DENIED: 1} SIPml-api.js:1
tsk_utils_log_error SIPml-api.js:1
tmedia_session_jsep01.onGetUserMediaError SIPml-api.js:3
(anonymous function) SIPml-api.js:3
State machine: c0000_Outgoing_2_Cancelling_X_oCANCEL SIPml-api.js:1
PeerConnection::stop() SIPml-api.js:1
There is no INVITE request to cancel SIPml-api.js:1
[C2C] stack event = m_permission_requested SIPml-api.js:1
[C2C] session event = connecting SIPml-api.js:1
[C2C] stack event = m_permission_refused SIPml-api.js:1
__on_state_change SIPml-api.js:1
[C2C] session event = terminating SIPml-api.js:1
Original comment by yatendra...@gmail.com
on 15 Mar 2013 at 9:42
Attachments:
GoogleCodeExporter commented
Your logs show that you denied access to the microphone. Try to restart chrome
and make sure to hit 'allow' when permission is requested
Original comment by boss...@yahoo.fr
on 15 Mar 2013 at 1:27
GoogleCodeExporter commented
not working on chrome, it is working on Firefox but not chrome,in my country
the most popular browser is chrome
Original comment by george.b...@gmail.com
on 21 Jul 2013 at 8:09
GoogleCodeExporter commented
By the way you guys dont have a chrome only script ?? please email me with it
it will be apreciated, THANK YOU
Original comment by george.b...@gmail.com
on 21 Jul 2013 at 8:10