$mohsilence ?? '')); } if (function_exists('timeconditions_timegroups_drawgroupselect')){ $optionalelems .= load_view(__DIR__.'/timecond.php', array('time_group_id' => $time_group_id ?? '', 'time_mode' => $time_mode ?? '','timezone' => $timezone ?? '','calendar_id' => $calendar_id ?? '','calendar_group_id' => $calendar_group_id ?? '')); } //Notification tab email settings $emailfrom = (isset($emailInfo) && isset($emailInfo['emailfrom'])) ? $emailInfo['emailfrom'] : ''; $emailto = (isset($emailInfo) && isset($emailInfo['emailto'])) ? $emailInfo['emailto'] : ''; $emailsubject = (isset($emailInfo) && isset($emailInfo['emailsubject'])) ? $emailInfo['emailsubject'] : ''; $emailbody = (isset($emailInfo) && isset($emailInfo['emailbody'])) ? $emailInfo['emailbody'] : ''; //Hooks.... //$module_hook = moduleHook::create(); //if (!empty($module_hook->hookHtml)) { if (!empty($hooks['oldHooks'])) { $hooktab = '
'._("A Dial Pattern is a unique set of digits that will select this route and send the call to the designated trunks. If a dialed pattern matches this route, no subsequent routes will be tried. If Time Groups are enabled, subsequent routes will be checked for matches outside of the designated time(s).").'
'; $dphstring[] = '| X | '. _("matches any digit from 0-9").' |
| Z | '. _("matches any digit from 1-9").' |
| N | '. _("matches any digit from 2-9").' |
| [1237-9] | '. _("matches any digit or letter in the brackets (in this example, 1,2,3,7,8,9)").' |
| . | '. _("wildcard, matches one or more characters").' |
| | | '. _("separates a dialing prefix from the number (for example, 9|NXXXXXX would match when some dialed \"95551234\" but would only pass \"5551234\" to the trunks)").' |
| / | ;'. _("appended to a dial pattern, matches a CallerID or CallerID pattern (for example, NXXXXXX/104 would match only if dialed by extension \"104\")").' |
| '. _("prepend:"). ' | '. _("Digits to prepend to a successful match. If the dialed number matches the patterns specified by the subsequent columns, then this will be prepended before sending to the trunks.").' |
| '. _("prefix:"). ' | '. _("Prefix to remove on a successful match. The dialed number is compared to this and the subsequent columns for a match. Upon a match, this prefix is removed from the dialed number before sending it to the trunks.").' |
| '. _("match pattern:"). ' | '. _("The dialed number will be compared against the prefix + this match pattern. Upon a match, the match pattern portion of the dialed number will be sent to the trunks").' |
| '. _("CallerID:"). ' | '. _("If CallerID is supplied, the dialed number will only match the prefix + match pattern if the CallerID being transmitted matches this. When extensions make outbound calls, the CallerID will be their extension number and NOT their Outbound CID. The above special matching sequences can be used for CallerID matching similar to other number matches.").' |
| ';
$trunkhtml .= ' ';
$trunkhtml .= ' ';
$trunkhtml .= '';
$trunkhtml .= '';
$trunkhtml .= '';
$trunkhtml .= ' | ';
$trunkhtml .= '
| ';
$trunkhtml .= ' ';
$trunkhtml .= ' ';
$trunkhtml .= '';
$trunkhtml .= '';
$trunkhtml .= '';
$trunkhtml .= ' | ';
$trunkhtml .= '