more ZAT work

This commit is contained in:
redmatrix
2016-07-14 19:43:47 -07:00
parent e6c8614801
commit f3eb9af046
4 changed files with 37 additions and 3 deletions

View File

@@ -102,6 +102,8 @@ function atoken_xchan($atoken) {
return [
'xchan_hash' => $atoken['atoken_uid'] . '.' . $atoken['atoken_name'],
'xchan_name' => $atoken['atoken_name'],
'xchan_addr' => t('guest:') . $atoken['atoken_name'] . '@' . \App::get_hostname(),
'xchan_network' => 'unknown',
'xchan_hidden' => 1,
'xchan_photo_mimetype' => 'image/jpeg',