У нас вы можете посмотреть бесплатно 11 patterns - asterisk tutorials или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
I introduce two things. One thing that has nothing to do with patterns but makes using patterns in the scenario I give very practical. It is the Extension variable. Syntax of extension variable: ${EXTEN} As you write the script you can use the ${EXTEN} variable in the function side, and at run time (when in call), it will be replaced by the number that is dialed. Again, whatever number is dialed, it becomes the Extension variable. So now essentially all your lines for you extension configuration are going to pretty much look the same, except for the number dialed. So how can this be compressed (for lack of a better word). Through a pattern. Instead of defining each and every phone number that can be possibly dialed, define a pattern that can represent hundreds, thousands, or millions of extensions/phone numbers. You can see why this is necessary to implement in the real world. See http://www.the-asterisk-book.com/ for a good guide on how to write patterns.