add X-Application-Sid in outdials so it ends up in cdr (#374)

This commit is contained in:
Dave Horton authored and GitHub committed 2023-06-09 12:57:35 -04:00
1 parent ffdb7a0bb5
commit ab0452879e
3 files changed
+6 -1

No files matched your search

+4
View File
@@ -45,6 +45,10 @@ class SingleDialer extends Emitter {
return this.callInfo.callStatus;
}
get applicationSid() {
return this.application?.application_sid || this.callInfo?.applicationSid;
}
/**
* can be used for all http requests within this session
*/