diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatus2Response.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatus2Response.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,88 @@ +getBNumber(); + } + + /** + * returns the phone number of the second participant, who was called. + * + * @return string + */ + public function getBNumber() + { + if (isset($this->return->be164)) { + return $this->return->be164; + } + return null; + } + + /** + * Index of the phone number of the second participant (B), who was called. The value 0 means + * the first B party phone number which was called, 1 means the second B party phone number + * which was called etc. + * + * @return integer + */ + public function getBNumberIndex() + { + return $this->getBIndex(); + } + + /** + * Index of the phone number of the second participant (B), who was called. The value 0 means + * the first B party phone number which was called, 1 means the second B party phone number + * which was called etc. + * + * @return integer + */ + public function getBIndex() + { + if (isset($this->return->bindex)) { + return $this->return->bindex; + } + return null; + } +}