mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
feat moh (#423)
* feat moh * feat moh * fix typo * fix typo * fix * fix * wip * wip * wip * wip * wip * wip * wip * wip * wip * git commit -a -m wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * fix * fix * fix * fix * wip * rebase * fix * fix
This commit is contained in:
7
lib/utils/sdp-utils.js
Normal file
7
lib/utils/sdp-utils.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const isOnhold = (sdp) => {
|
||||
return sdp && (sdp.includes('a=sendonly') || sdp.includes('a=inactive'));
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
isOnhold
|
||||
};
|
||||
Reference in New Issue
Block a user