 +		if(sess->cred.type == PJ_STUN_AUTH_CRED_WEBRTC){
 +			// Fix for http://code.google.com/p/sipml5/issues/detail?id=36
 +			// Do not send error to chrome
-+			return (!sess->cred.data.webrtc_cred.rx_username.slen || !sess->cred.data.webrtc_cred.tx_username.slen) ? -1 : PJ_SUCCESS;
++			return (!sess->cred.data.webrtc_cred.rx_username.slen || !sess->cred.data.webrtc_cred.tx_username.slen) ? PJ_STUN_ERROR_WEBRTC_NOTREADY : PJ_SUCCESS;
 +		}
 +		
  	PJ_LOG(5,(SNAME(sess), "Message authentication failed"));

 	if (pj_ice_sess_create_check_list(rtp->ice, &ufrag, &passwd, ao2_container_count(rtp->remote_candidates), &candidates[0]) == PJ_SUCCESS) {
 		pj_ice_sess_start_check(rtp->ice);
 		pj_timer_heap_poll(timerheap, NULL);

+						    PJ_VERSION_NUM_MINOR, \
+						    PJ_VERSION_NUM_REV, \
+						    PJ_VERSION_NUM_EXTRA)
+#endif
+
+#ifndef PJ_STUN_ERROR_WEBRTC_NOTREADY
+#	define PJ_STUN_ERROR_WEBRTC_NOTREADY -3891
+#endif
+
 /**
