Skip to content

Commit

Permalink
Fix missing function early-media
Browse files Browse the repository at this point in the history
  • Loading branch information
hnimminh committed Apr 8, 2023
1 parent d9713de commit bd28faf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ i.e. `<Major version>.<Minor version>.<Patch version>`
- Support ignore ealry media to preanswer class #91
- Upgrate lib starlette==0.14.2 -> 0.25.0, redis==3.5.2 -> 4.4.4
- Version fastapi starlette agreement
- Fix missing function early-media


## [v0.5.9] - 2022-07-26
Expand Down
2 changes: 1 addition & 1 deletion callng/callfunc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function earlyMediaProcess(name, DxLeg)
elseif streamtype == 'speak' then
DxLeg:execute('speak', 'flite|slt|'..streamdata)
elseif streamtype == 'signal' then
if ({'true', 'false', 'ring_ready'}, streamdata) then
if ismeberof({'true', 'false', 'ring_ready'}, streamdata) then
DxLeg:setVariable("ignore_early_media", streamdata)
end
else end
Expand Down

0 comments on commit bd28faf

Please sign in to comment.