-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding new blog entry and updating skipping call routing location and… (
#1123) * adding new blog entry and updating skipping call routing location and links #1119 * fixing broken docs links
- Loading branch information
Showing
7 changed files
with
3,486 additions
and
2,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
slug: pr-extension-hack | ||
title: Hacking Yap to Add a PR extension | ||
authors: [dgershman] | ||
tags: [formats, yap] | ||
--- | ||
|
||
# Hacking Yap to Add a PR extension | ||
|
||
You can add a Public Relations or other miscellaneous extensions by doing the following, and leveraging the [Menu Options](/general/menu-options/) and the [Custom Extensions](/helpline/custom-extensions/) option. | ||
|
||
1. Update or set a digit map as follows adding a new option. As see below we added a new option for pressing 3. | ||
|
||
```php | ||
static $digit_map_search_type = ['1' => SearchType::MEETINGS, '2' => SearchType::VOLUNTEERS, '3' => SearchType::CUSTOM_EXTENSIONS]; | ||
``` | ||
|
||
2. You will have to add a voice green recording that states what all the options are because by default the custom extension is a hidden menu option in that the spoken voice feature will not indicate it is there. You set this by placing an MP3 or WAV file on a webserver and referencing it with [this setting](/general/voice-greeting/). | ||
|
||
3. You will create a new setting that indicates what each custom extension is and what phone number it goes to. For example if you wanted extension 1 to go to 555-555-1212 you would set this as below. | ||
|
||
```php | ||
static $custom_extensions = [1 => '555-555-1212']; | ||
``` | ||
|
||
4. Once that is done you will create another voice recording indicating what each custom extension will route to. You can include as many as you want. The important thing to note is that your custom recording should inform the caller to press pound after they enter the extension number. | ||
|
||
```php | ||
static $en_US_custom_extensions_greeting = "https://example.org/customext.mp3"; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
pjaudiomv: | ||
name: Patrick Joyce | ||
name: Patrick J | ||
title: BMLT Contributor | ||
url: https://github.com/pjaudiomv | ||
image_url: https://github.com/pjaudiomv.png | ||
|
||
fortysevenbot: | ||
name: FortySeven Bot | ||
title: BMLT Bot | ||
url: https://github.com/fortysevenbot | ||
image_url: https://github.com/fortysevenbot.png | ||
dgershman: | ||
name: Danny G | ||
title: BMLT Contributor | ||
url: https://github.com/dgershman | ||
image_url: https://github.com/dgershman.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.