Daniel, without understanding your code, note that Agent profile data is not in a Ticket, but as a UserObject->GetPreferences (see dev.otrs.org, Kernel::System::User)
Basic concept: Get ticket's info, from that obtain UserID, from that, get the Preferences Hash from GetPreferences, from that, obtain the XMPPJID, On Mon, Jul 1, 2013 at 10:11 AM, Daniel Santos < daniel.san...@etice.ce.gov.br> wrote: > Hi Gerald, > > I successfully created the field (XMPPJID) on our agent preferences screen > based on your link. But now I'm stuck trying to retrieve this value in a > Ticket Event module. I've already tried $Param{XMPPJID}, > $Param{Data}->{XMPPJID}, but it doesn't work. > > > Daniel santosdaniel.san...@etice.ce.gov.br > ETICE - Empresa de Tecnologia da Informação do Cearáwww.etice.ce.gov.br > +55 85 3101.6600 > > On 06/26/13 11:26, Gerald Young wrote: > > http://forums.otterhub.org/viewtopic.php?f=60&t=19936 > > > On Wed, Jun 26, 2013 at 10:13 AM, Daniel Santos < > daniel.san...@etice.ce.gov.br> wrote: > >> Hi there. >> >> What's the correct way to add a new field (JabberUID) in the Agent's >> profile so we can configure our Agents to receive notifications on email >> and Jabber? >> >> I'm thinking on setting up a Ticket Event to make it send these Jabber >> notifications when a Ticket reaches its EscalationTime. >> >> Is there any way to create a new ArticleType (I.E: xmpp-notification) so >> I can create an Notification Event and use it to notify my Agents via >> Jabber instead of creating a Ticket Event? >> >> Thanks in advance! >> >> -- >> Daniel Santos >> daniel.san...@etice.ce.gov.br >> ETICE - Empresa de Tecnologia da Informação do Ceará >> www.etice.ce.gov.br >> +55 85 3101.6600 >> >> --------------------------------------------------------------------- >> OTRS mailing list: otrs - Webpage: http://otrs.org/ >> Archive: http://lists.otrs.org/pipermail/otrs >> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >> > > > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs >
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs