%rphy
From Zenitel Wiki
The %rphy macro is used for finding the physical number related to a directory number.
Syntax
%rphy(dirno)
Examples
%rphy(101) - Return physical number 1 in a default database %rphy(%1.dir) - Return physical number of the event Owner %rphy(%2.dir) - Return physical number of the Related To station