Manipulating Dialplan Variables : Asterisk
Manipulating Dialplan Variables : Asterisk
We often require to do string manipulation on a variable. For example, a variable named phonenumber which represents a number we’d like to call, and we want to strip off the first 5 digit before dialing the number. Asterisk provides a special syntax for doing just that, which looks like ${variable[:skip[:length]} The optional skip field tells Asterisk how many digits to strip off the front of the…
View On WordPress













