Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: macl06 on May 03, 2021, 06:27:35 PM

Title: How add Display Name in From SIP Invite
Post by: macl06 on May 03, 2021, 06:27:35 PM
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
Title: Re: How add Display Name in From SIP Invite
Post by: cavagnaro on May 03, 2021, 08:53:55 PM
Which EndPoint are you using?
Title: Re: How add Display Name in From SIP Invite
Post by: macl06 on May 03, 2021, 09:46:22 PM
InteractionWorkspaceSIPEndpoint
Title: Re: How add Display Name in From SIP Invite
Post by: hsujdik 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.
Title: Re: How add Display Name in From SIP Invite
Post by: macl06 on May 04, 2021, 08:06:32 AM
So the only possibility is doing a development.
Thank hsujdik.

Title: Re: How add Display Name in From SIP Invite
Post by: hsujdik 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 :)
Title: Re: How add Display Name in From SIP Invite
Post by: abdel 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
Title: Re: How add Display Name in From SIP Invite
Post by: macl06 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
Title: Re: How add Display Name in From SIP Invite
Post by: cavagnaro 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.