[rt-users] Look up User by Attribute in Scrip

ktm at rice.edu ktm at rice.edu
Sat Oct 27 14:14:22 EDT 2012

On Fri, Oct 26, 2012 at 04:52:37PM -0700, Ram wrote:
> Hey folks,
> I'm writing a scrip to help us manage our voicemails in RT. The
> voicemails arrive via email as attachments and the extension of the
> recipient is the only distinguishing characteristic in the email. How
> can I load an RT user in a script given only their work telephone?
> thanks!
> ram

Hi Ram,

You will need to lookup their phone number in a table that has their
user information. Here this is all available in our campus LDAP directory
so some simple Net::LDAP calls can be used for this. It could also pull
the information from an RT custom field for the user as well.


More information about the rt-users mailing list