Hi,
Using 5.0.22 While dialing number from customer information need to have number + agent id so that call should go via that specific agent only
so finally got number using Data.UserPhone but not able to get looged in agent ID..
Can someone shed some light on this?
Your help will be really appreciated.
Click to call using znuny CTI
-
- Administrator
- Posts: 3976
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Click to call using znuny CTI
Hi,
How should the ULR look at the end?
- Roy
How should the ULR look at the end?
- 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 ?
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 ?
-
- Znuny newbie
- Posts: 68
- Joined: 30 Aug 2011, 13:14
- Znuny Version: 5.0.22
- Real Name: Sunny
- Contact:
Re: Click to call using znuny CTI
Hi,
Right now URL is looking like this -> http://IP/cti/call.php?num=88091441XX&agent=
But not getting agent ID value
so sending like below example
'UserPhone', 'Phone', 'phone', 1, 0, 'var', 'http://IP/cti/call.php?num=[% Data.UserPhone %]&agent=[% Data.AgentID %]
Right now URL is looking like this -> http://IP/cti/call.php?num=88091441XX&agent=
But not getting agent ID value
so sending like below example
'UserPhone', 'Phone', 'phone', 1, 0, 'var', 'http://IP/cti/call.php?num=[% Data.UserPhone %]&agent=[% Data.AgentID %]
-
- Administrator
- Posts: 3976
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Click to call using znuny CTI
Hi,
Without modofying code you can only use ticket data in addition, like Data.OwnerID.
- Roy
Without modofying code you can only use ticket data in addition, like Data.OwnerID.
- 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 ?
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 ?
-
- Administrator
- Posts: 3976
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Click to call using znuny CTI
Obviously it's the id of the owner. If you need the current user you'll have to code.
Anyway, what has this to do with Znuny4OTRS-CTI?
- 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 ?
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 ?
-
- Znuny newbie
- Posts: 68
- Joined: 30 Aug 2011, 13:14
- Znuny Version: 5.0.22
- Real Name: Sunny
- Contact:
Re: Click to call using znuny CTI
Hi Roy,
Ok, let me explain you I am using the CTI adon and while incoming call it is working as expected but on the right hand side where customer information shows the phone number which is a text so I want it to be clickable so for making it clickable I put a value in Znuny4OTRSCTI.pm in customeruser section like below
'UserPhone', 'Phone', 'phone', 1, 0, 'var', 'http://IP/cti/call.php?num=[% Data.UserPhone %]&agent=[% Data.AgentID %]
or are there anything else I need to do in that file? or may be not in that file for clicking purpose?
-
- Znuny superhero
- Posts: 629
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Click to call using znuny CTI
There is no such a thing called Data.AgentID, try instead
Code: Select all
Agent=[% Env("UserID") | uri %]
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
-
- Znuny newbie
- Posts: 68
- Joined: 30 Aug 2011, 13:14
- Znuny Version: 5.0.22
- Real Name: Sunny
- Contact:
Re: Click to call using znuny CTI
Wow it is really great ...it worked and really thankful to you @skullz I was trying very hard from last 2 days...skullz wrote: ↑14 May 2020, 14:46 There is no such a thing called Data.AgentID, try instead
Code: Select all
Agent=[% Env("UserID") | uri %]
Once again Thanks and Appreciated