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

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

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
*/