Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs: rewrite pattern matching documentation #58

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,20 @@ Within each extension, there must be one or more *priorities*. A priority is sim



```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "tip" just above this line (I can't mark it directly in this review because you didn't change it, should read:

!!! tip
    Priority numbers must begin with 1, and must increment sequentially. If Asterisk can't find the next priority number, it will terminate the call. We call this *auto-fallthrough*. Consider the example below:
[//]: # (end-tip)

javascriptexten => 6123,1,do something
```javascript title=" " linenums="1"
exten => 6123,1,do something
exten => 6123,2,do something else
exten => 6123,4,do something different

```




---


In this case, Asterisk would execute priorities one and two, but would then terminate the call, because it couldn't find priority number three.

```


### Priority letter n

Expand Down
Loading