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
#!/bin/bash | |
# Make sure to add your token and room id | |
# Input is from standard input, so you can run it like | |
# echo "This is a test" | hipchat_echo.sh | |
# date | hipcaht_echo.sh | |
# cat results.log | hipchat_echo.sh | |
# hipchat_echo.sh | |
# my quick message ^D |
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
#include <iostream> | |
using std::cout; | |
using std::cerr; | |
using std::endl; | |
#include <string> | |
using std::string; | |
#include "cryptlib.h" | |
using CryptoPP::Exception; |
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
async sipDialout( | |
sessionId: string, | |
pin: string, | |
sipUri: string | |
): Promise<OpenTokSipReponse> { | |
this.logger.verbose( | |
`Sip dialout [Session: ${sessionId}] [Pin: ${pin}] [Uri: ${sipUri}]` | |
); | |
return new Promise((resolve, reject) => { | |
const token: string = this.OT.generateToken(sessionId, { |