Skip to content

Commit

Permalink
codec_builtin: Use multiples of 20 for maximum_ms
Browse files Browse the repository at this point in the history
Allows the test to accept maxptime as a variable value.
Some providers require a multiple of 20 for the maxptime or fail to complete calls,
e.g. Vivo in Brazil. To increase compatibility, only multiples of 20 are now used.

Resolves: #15
  • Loading branch information
eduardomazolini committed Aug 25, 2023
1 parent 37ca0d7 commit 79b51b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<ereg regexp="a=ptime:30+..*"
search_in="body" check_it="true" assign_to="2"/>
<test assign_to="2" variable="2" compare="equal" value=""/>
<ereg regexp="a=maxptime:150+..*"
<ereg regexp="a=maxptime:140+..*"
search_in="body" check_it="true" assign_to="3"/>
<test assign_to="3" variable="3" compare="equal" value=""/>
</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<ereg regexp="a=ptime:40+..*"
search_in="body" check_it="true" assign_to="2"/>
<test assign_to="2" variable="2" compare="equal" value=""/>
<ereg regexp="a=maxptime:150+..*"
<ereg regexp="a=maxptime:140+..*"
search_in="body" check_it="true" assign_to="3"/>
<test assign_to="3" variable="3" compare="equal" value=""/>
</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<ereg regexp="a=ptime:40+..*"
search_in="body" check_it="true" assign_to="2"/>
<test assign_to="2" variable="2" compare="equal" value=""/>
<ereg regexp="a=maxptime:150+..*"
<ereg regexp="a=maxptime:140+..*"
search_in="body" check_it="true" assign_to="3"/>
<test assign_to="3" variable="3" compare="equal" value=""/>
</action>
Expand Down

0 comments on commit 79b51b5

Please sign in to comment.