/** * get Asterisk Voicemail data * * @return array */ protected function _getAsteriskVoicemail() { // create context $context = $this->_getAsteriskContext(); $context = $this->_json->saveAsteriskContext($context->toArray()); return new Voipmanager_Model_Asterisk_Voicemail(array('context' => $context['name'], 'context_id' => $context['id'], 'fullname' => Tinebase_Record_Abstract::generateUID()), TRUE); }