Menu

#61 0 pause causes fatal error

closed
nobody
None
5
2006-10-16
2006-08-28
Dan Poirier
No

Having this in a scenario:
<pause milliseconds="0"/>

triggers a fatal error around line 824 of sipp.cpp, since
earlier on line 761 the test for a pause command breaks
if the pause duration is 0.

(The reason for a 0-length pause in my scenario is to
do a "goto"; I need some command that takes a next=""
attribute but doesn't really do anything else. I can't
think of another way to do control flow based on the
result of an earlier ereg.)

Discussion

  • Olivier Jacques

    Olivier Jacques - 2006-10-16

    Logged In: YES
    user_id=999021

    Fixed in rev 56 (2006-10-16).
    As a side note, <nop> could also have been used for goto usage.

     
  • Olivier Jacques

    Olivier Jacques - 2006-10-16
    • status: open --> closed
     

Log in to post a comment.