Merge pull request #1545 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:bugfix/FS-11281-verto.newcall-dialog-callback-overrides to master

* commit '5f96f669c2fe7f133164aab735b412bef794d932':
  FS-11281: Verto.newCall dialog callback overrides should be set before invite
This commit is contained in:
Christopher Rienzo 2018-08-24 12:57:49 +00:00
commit 288779cda2
1 changed files with 2 additions and 2 deletions

View File

@ -465,12 +465,12 @@
var dialog = new $.verto.dialog($.verto.enum.direction.outbound, this, args);
dialog.invite();
if (callbacks) {
dialog.callbacks = callbacks;
}
dialog.invite();
return dialog;
};