This file contains hidden or 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
| if(is_method("REGISTER")) { | |
| $rd = "vox5.cloudvox.com"; | |
| t_relay(); | |
| } |
This file contains hidden or 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
| [{"name":"Speak","phrase":"Please hold while we connect you."}, | |
| {"name":"Dial","destination":"8635296493", "Speak","phrase":"Testing 1 2 3 4."}] |
This file contains hidden or 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
| [{"name":"Speak","phrase":"It works. Enter 4 digits!"}, | |
| {"name":"GetDigits","url":"http://some.com/url-to-hit-with-result.json","max":4}, | |
| {"name":"Playback","filename":"airport"}, | |
| {"name":"Playback","filename":"north-dakota"}, | |
| {"name":"Include","url":"http://other.com/some-other-component.json"}] |
This file contains hidden or 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
| [{"name":"Speak","phrase":"It works. Enter 4 digits!"}, | |
| {"name":"Dial","destination","8635296493"}, | |
| {"name":"Playback","filename":"airport"}, | |
| {"name":"Playback","filename":"north-dakota"}, | |
| {"name":"Include","url":"http://other.com/some-other-component.json"}] |
This file contains hidden or 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
| [{"name":"Speak","phrase":"It works. Enter 4 digits!"}, | |
| {"name":"Dial","destination","8635296493"}, | |
| {"name":"Playback","filename":"airport"}, | |
| {"name":"Playback","filename":"north-dakota"}] |
This file contains hidden or 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
| def test_swapping_with_parallel_assignment | |
| first_name = "Roy" | |
| last_name = "Rob" | |
| first_name, last_name = last_name, first_name | |
| assert_equal "Rob", first_name | |
| assert_equal "Roy", last_name | |
| end |
This file contains hidden or 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
| [{"name":"speak","phrase":"Thanks for calling!"}, | |
| {"name":"dial","destination":"8635296493"}] |
This file contains hidden or 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
| [{"name":"speak","phrase":"Thanks for calling!"}] |
This file contains hidden or 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
| require 'yaml' | |
| require 'rest_client' | |
| require 'json' | |
| class EditSIPAccount | |
| def initialize | |
| @cv_config = YAML.load_file 'cloudvox_account.yml' | |
| #cloudvox_account.yml format |
This file contains hidden or 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
| <?php | |
| //Name of Cloudvox Account | |
| $CVAccountName = 'foo'; | |
| //URL to post to create SIP account | |
| $url ="https://$CVAccountName.cloudvox.com/phones.json"; | |
| //Extension to create | |
| $extension = '2720'; |
OlderNewer