Just a list of some asterisk functions and commands that are popular from real working conditions
This command will cut the channel variable, starting at position 5, and then moving 3 characters over and save it in variable foo
exten => s,n,Set(foo=${CHANNEL:5:3})
This command will cut the channel variable, starting at position 5, and then moving 3 characters over and save it in variable foo
exten => s,n,Set(foo=${CHANNEL:5:3})
No comments:
Post a Comment
Feel free to leave a comment! If you have any information that you think should be included, please do so here and I'll get it added in.