Created
August 28, 2019 00:58
-
-
Save bhowe/b52a7c9bec08032e3f5a6c21c3e25354 to your computer and use it in GitHub Desktop.
Twillo mock php array for local host testing
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
// Mock twillo objects | |
$twilllo_Mock_phone_array = array | |
( | |
Called => "+1601111111", | |
ToState =>"MS", | |
CallerCountry => "US", | |
Direction => "inbound", | |
CallerState => "MS", | |
ToZip => "39232", | |
CallSid => "CAeeead21aae4df102832401689cad777b", | |
To => "+11111111111", | |
CallerZip => "39213", | |
ToCountry => "US", | |
ApiVersion => "2010-04-01", | |
CalledZip => "39232", | |
CalledCity => "JACKSON", | |
CallStatus => "ringing", | |
From => "+1601111111", | |
AccountSid => "ACf5831563fb261642d639a7580eb5ac6e", | |
CalledCountry => "US", | |
CallerCity => "JACKSON", | |
Caller => "+11111111111", | |
FromCountry => "US", | |
ToCity => "JACKSON", | |
ErrorUrl => "http://hiddensmsforwork.com/sms-relay/controller.php", | |
FromCity => "JACKSON", | |
CalledState => "MS", | |
ErrorCode => "12100", | |
FromZip => "39213", | |
FromState => "MS" | |
); | |
$twilllo_Mock_sms_array = | |
array | |
( | |
ToCountry => "US", | |
ToState => "MS", | |
SmsMessageSid => "SMb952d364b81d1ec568e8d5545ee24c8a", | |
NumMedia => "0", | |
ToCity => "JACKSON", | |
FromZip => "39213", | |
SmsSid => "SMb952d364b81d1ec568e8d5545ee24c8a", | |
FromState => "MS", | |
SmsStatus => "received", | |
FromCity => "JACKSON", | |
Body => "This is a test", | |
FromCountry => "US", | |
To => "+1601111111", | |
ToZip => "39232", | |
MessageSid => "SMb952d364b81d1ec568e8d5545ee24c8a", | |
AccountSid => "ACf5831563fb261642d639a7580eb5ac6e", | |
From => "+160111111", | |
ApiVersion => "2010-04-01" | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment