" /> How add Display Name in From SIP Invite - Genesys CTI User Forum

Author Topic: How add Display Name in From SIP Invite  (Read 2698 times)

Offline macl06

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
How add Display Name in From SIP Invite
« on: May 03, 2021, 06:27:35 PM »
Advertisement
Hello, I need your help.

I am trying to add a "[b]display name[/b]" to the sip message. The environment is as follows: I have many agents that connect to an extension pool, such as 10000-19999. They cannot select it, they receive one random, and that's the reason why I never know what selection they will get. Therefore, I cannot set it up at an extension level, neither in the trunk as they have the same dialplan.

I've seen that I can do a manipulation in MGW (audiocodec) by using the Display-Name.

Example         Agent: Tom
Extension: 10011
Dial number: 12345678

INVITE sip:12345678@10.1.1.1:5060 SIP/2.0
From: "[b]CHICAGO[/b]" <sip:10011@11.1.1.1>;tag=
To: <sip:12345678@..........>
Call-ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx-xxxxxxx

How can I add [b]CHICAGO [/b]to the call?
Is it possible at the level of Application (WDE), Agent group , Skill , Agent?

I´m using WDE SipEndpoint.

Thank

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: How add Display Name in From SIP Invite
« Reply #1 on: May 03, 2021, 08:53:55 PM »
Which EndPoint are you using?

Offline macl06

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: How add Display Name in From SIP Invite
« Reply #2 on: May 03, 2021, 09:46:22 PM »
InteractionWorkspaceSIPEndpoint

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: How add Display Name in From SIP Invite
« Reply #3 on: May 04, 2021, 01:06:10 AM »
I believe the only way to do this would be creating a Custom Plugin Module for WDE to insert CPNDigits and DisplayName on the AttributeExtensions whenever a RequestMakeCall is performed by WDE (on chain of commands "MediaVoiceMakeCall", before command "MakeCall", editing the parameter "Extensions"). Not a simple task, hard to distribute, but I don't see any other easier "configuration-changes way" to do it.

Offline macl06

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: How add Display Name in From SIP Invite
« Reply #4 on: May 04, 2021, 08:06:32 AM »
So the only possibility is doing a development.
Thank hsujdik.


Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: How add Display Name in From SIP Invite
« Reply #5 on: May 04, 2021, 02:14:22 PM »
[quote author=macl06 link=topic=12006.msg53915#msg53915 date=1620115592]
So the only possibility is doing a development.
Thank hsujdik.


[/quote]
I'm not 100% sure of this, but it is the only way I see how to do it. Maybe other people can come here with a better solution :)

Offline abdel

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Re: How add Display Name in From SIP Invite
« Reply #6 on: May 05, 2021, 11:09:47 PM »
Did you check the modify from header section in genesys doc?
https://docs.genesys.com/Documentation/SIPS/8.1.1/Dep/CPNDigits

Offline macl06

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: How add Display Name in From SIP Invite
« Reply #7 on: May 06, 2021, 10:02:32 AM »

Hi Abdel

These options are only to be used at the DN level and I need it to be in application, agent group, skill ..... Thank

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: How add Display Name in From SIP Invite
« Reply #8 on: May 06, 2021, 02:48:14 PM »
CPN at Application(why?)/skill (used on inbound not outbound)/agent group (used for Inbound not Outbound)
I think your request makes no sense as these options are only used to Inbound calls or would be identificable in that flow only.
Outbound is a process that goes directly to the SIPServer without any logic. If you want that, then only develepment is needed.