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