]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8046 change error back to log
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 28 Aug 2015 22:12:06 +0000 (17:12 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 28 Aug 2015 22:12:19 +0000 (17:12 -0500)
html5/verto/js/src/jquery.verto.js
html5/verto/video_demo/js/verto-min.js

index e02dc4e7e71736b45f9f3382f730a747d0323694..393a0cacd645475de2bf61a7c4571d94341f88b4 100644 (file)
             return false;
         }
 
-        console.error("Dialog " + dialog.callID + ": state change from " + dialog.state.name + " to " + state.name);
+        console.log("Dialog " + dialog.callID + ": state change from " + dialog.state.name + " to " + state.name);
 
         dialog.lastState = dialog.state;
         dialog.state = state;
index f8abdbf0320fa9f6927383c7214826f5016928c2..8504c32e0beb48a23c9f72d4a3914c073a935ed6 100644 (file)
@@ -240,7 +240,7 @@ dialog.verto.rpcClient.call(method,obj,function(e){dialog.processReply(method,tr
 return false;}
 $.verto.dialog.prototype.setState=function(state){var dialog=this;if(dialog.state==$.verto.enum.state.ringing){dialog.stopRinging();}
 if(dialog.state==state||!checkStateChange(dialog.state,state)){console.error("Dialog "+dialog.callID+": INVALID state change from "+dialog.state.name+" to "+state.name);dialog.hangup();return false;}
-console.error("Dialog "+dialog.callID+": state change from "+dialog.state.name+" to "+state.name);dialog.lastState=dialog.state;dialog.state=state;if(!dialog.causeCode){dialog.causeCode=16;}
+console.log("Dialog "+dialog.callID+": state change from "+dialog.state.name+" to "+state.name);dialog.lastState=dialog.state;dialog.state=state;if(!dialog.causeCode){dialog.causeCode=16;}
 if(!dialog.cause){dialog.cause="NORMAL CLEARING";}
 if(dialog.callbacks.onDialogState){dialog.callbacks.onDialogState(this);}
 switch(dialog.state){case $.verto.enum.state.early:case $.verto.enum.state.active:var speaker=dialog.useSpeak;console.info("Using Speaker: ",speaker);if(speaker&&speaker!=="any"){var videoElement=dialog.audioStream;setTimeout(function(){console.info("Setting speaker:",videoElement,speaker);attachSinkId(videoElement,speaker);},500);}