
上QQ阅读APP看书,第一时间看更新
Adding a user to the demo example directory and dialplan
Users are defined in User Directory. Where a call must go (eg, where it is routed to) is defined in dialplan. In dialplan, there are regular expressions (regexes) that check variables for string patterns. The most checked on variable is "destination_number", whose value is the number the caller dialed.
So, if we add a user in the "directory", we must then be sure the dialplan allows for calls to reach that newly added user. This often, but not always, means that we must modify the dialplan too. We'll see about this later in this section.