Retrieves the Company Name associated with the User.
@interaction::getCompanyName()
None
(string) name of the User's Company
The following example illustrates how the default callin script attempts to determine the Company Name of the User calling in to xMatters and, if it cannot identify the Company, plays an error message before hanging up:
$companyName = @interaction::getCompanyName()
IF (empty($companyName))
@phone::play("phrase", "route not found")
@phone::clearDtmf()
@phone::play("phrase", "goodbye")
@phone::hangup()
@script::log("Ending Callin Script")
exit
ENDIF