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:
commit
288779cda2
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue