click to call implementation, get logged in Agent ID

Moderator: crythias

Post Reply
sameer615
Znuny newbie
Posts: 38
Joined: 16 Aug 2017, 11:26
Znuny Version: OTRS 5
Real Name: sameer sardar
Company: ENS

click to call implementation, get logged in Agent ID

Post by sameer615 »

Can you help to pass logged in user id in http-link

For Example :
Pass logged in agent id in link

[ 'UserPhone', 'Phone', 'phone', 1, 0, 'var', 'click2dial.pl?CustID=[% Data.AgentID%]', 0],

Something like above and get URL like :

http://192.168.2.122/otrs/click2dial.pl?CustID=12
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: click to call implementation, get logged in Agent ID

Post by root »

Hi,

Did you tried UserID?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
sameer615
Znuny newbie
Posts: 38
Joined: 16 Aug 2017, 11:26
Znuny Version: OTRS 5
Real Name: sameer sardar
Company: ENS

Re: click to call implementation, get logged in Agent ID

Post by sameer615 »

root wrote:Hi,

Did you tried UserID?

- Roy


hello roy

yes i have tried UserID but its not working ...
aaa1.png
Actually i want to implement click to call so i have tried above method.... now I am trying to implement this from AgentTicketZoom.tt file ...
aaa.png
i want userphone with the link ( https://192.168.2.11/clickcall/OtrsC2C. ... &agentid=1 )

AgentID or Agent login or agent email(Any information related to logged in agent ) is needed ..

help is needed .... plz suggest something ..
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: click to call implementation, get logged in Agent ID

Post by root »

Hi,

I hope you talk about the ID of the owner, then Data.OwnerID works.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
sameer615
Znuny newbie
Posts: 38
Joined: 16 Aug 2017, 11:26
Znuny Version: OTRS 5
Real Name: sameer sardar
Company: ENS

Re: click to call implementation, get logged in Agent ID

Post by sameer615 »

root wrote:Hi,

I hope you talk about the ID of the owner, then Data.OwnerID works.

- Roy
Thanks Roy
it worked ... :lol:
you always helped me ... 8) :lol:

Thanks Again
Post Reply