File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " jssip" ,
3
3
"title" : " JsSIP" ,
4
4
"description" : " the Javascript SIP library" ,
5
- "version" : " 0.3.3 -devel" ,
5
+ "version" : " 0.3.4 -devel" ,
6
6
"homepage" : " http://jssip.net" ,
7
7
"author" : " José Luis Millán <jmillan@aliax.net>" ,
8
8
"contributors" : [
Original file line number Diff line number Diff line change @@ -840,6 +840,11 @@ RTCSession.prototype.receiveResponse = function(response) {
840
840
break ;
841
841
}
842
842
843
+ // An error on dialog creation will fire 'failed' event
844
+ if ( ! this . createDialog ( response , 'UAC' ) ) {
845
+ break ;
846
+ }
847
+
843
848
this . rtcMediaHandler . onMessage (
844
849
'answer' ,
845
850
response . body ,
@@ -848,11 +853,6 @@ RTCSession.prototype.receiveResponse = function(response) {
848
853
* SDP Answer fits with Offer. Media will start
849
854
*/
850
855
function ( ) {
851
- // An error on dialog creation will fire 'failed' event
852
- if ( ! session . createDialog ( response , 'UAC' ) ) {
853
- return ;
854
- }
855
-
856
856
session . sendACK ( ) ;
857
857
session . status = C . STATUS_CONFIRMED ;
858
858
session . started ( 'remote' , response ) ;
You can’t perform that action at this time.
0 commit comments