Skip to content

Instantly share code, notes, and snippets.

Avatar
🤸‍♂️
Not CartWheeling

Daisuke Don Horie dice

🤸‍♂️
Not CartWheeling
View GitHub Profile
@dice
dice / gist:4969390
Created Feb 17, 2013
Waitで待機していから着信
View gist:4969390
<Response>
<Wait length="5"/>
<Speak language="ja">着信を受け付ける前に5秒待機しました。</Speak>
<Wait length="5"/>
<Speak language="ja">また5秒待機しました。</Speak>
<Hangup/>
</Response>
@dice
dice / wait1.xml
Created Feb 17, 2013
Wait before answering a call
View wait1.xml
<Response>
<Wait length="5"/>
<Speak>Apologies for the delay but you will be waiting again.</Speak>
<Wait length="5"/>
<Speak>You waited for another 5 seconds.</Speak>
<Hangup/>
</Response>
@dice
dice / hangup1ja.xml
Last active Dec 13, 2015
<Message>をSMS送信して、 <Speak>でメッセージを再生後に<Hangup>で通話を終了する
View hangup1ja.xml
<Response>
 <Hangup schedule="3"/>
 <Message from="09012345678" to="819012345678">こんにちはテスト。</Message>
 <Speak language="ja">メッセージを送信しています。</Speak>
</Response>
@dice
dice / hangup1.xml
Last active Dec 13, 2015
<Hangup> after using <Speak> and <Message>
View hangup1.xml
<Response>
<Hangup schedule="3"/>
<Message from="09012345678" to="819012345678">Hello Test 123</Message>
<Speak>Sending a message</Speak>
</Response>
@dice
dice / speak3.xml
Last active Oct 12, 2015
FullCourt PhoneXML Speak Example
View speak3.xml
<?xml version="1.0" encoding="UTF-8" ?>
<Response>
<Speak language=”ja” voice=”man”>フルコートへようこそ</Speak>
</Response>
@dice
dice / delete.json
Created Sep 30, 2012
FullCourt IncomingPhoneNumbers Delete API response
View delete.json
{
"Message": "Delete Success",
"Success": true
}
@dice
dice / listresource.json
Created Sep 30, 2012
FullCourt IncomingPhoneNumbers List Resource API response
View listresource.json
{
"Message": [
{
"CountryNumber": "81",
"Carrier_Numbers_id": "CN12345678901234567890123456789012",
"AreaCode": "050",
"DateCreated": "Fri, 08 Jun 2012 17:57:37 +0900",
"ApplicationSid": "PXb3854d7a7fa560479e9d490e7148c238",
"PhoneNumber": 58309913,
"Sid": "VA12345678901234567890ZBDBG6789034",
@dice
dice / incomingphonenumberspurchase.json
Created Sep 30, 2012
FullCourt IncomingPhoneNumbers purchase API response
View incomingphonenumberspurchase.json
{
"Message": null,
"Success": true
}
@dice
dice / IncomingPhoneNumberslistnumbers.json
Created Sep 30, 2012
FullCourt IncomingPhoneNumbers API List numbers response
View IncomingPhoneNumberslistnumbers.json
{
"Message": [
{
"CountryNumber": "81",
"Carrier_Numbers_id": "CN12345678901234567890123456789011",
"AreaCode": "050",
"DateCreated": "Mon, 11 Jun 2012 10:25:03 +0900",
"ApplicationSid": "",
"PhoneNumber": 12345678,
"Sid": "PN05b79b3e37cbc450d951221c9538d710",
@dice
dice / availablephonenumbersresponse.json
Created Sep 30, 2012
Respone to FullCourt AvailablePhoneNumbers API
View availablephonenumbersresponse.json
{
"Message": [
{
"CountryNumber": "81",
"AreaCode": "050",
"Cost": 300.0,
"PhoneNumber": "58383124",
"Sid": "CN12345678901234567890123456789011", "IncomingPhoneNumber": "58383124"
}
],