We planning to have a out of the box application to broadcast a message to group of agent. I tried going through WDE development guide to create custom commands. But fail to get an sample example of using broadcast message command or how to use broadcast message protocol. So if somebody can help me with small sample code to broadcast message to communication DN subscribed by multiple agents. WDE APIs just provide class and objects details but no samples as it was provided in .NET SDK API. Request your helpâŚ
Hope my above code is correct for bradcasting message to all agents who has subscribed DN:-Broadcast_DN. but its not working for me. anyway i am checking configuration on DN subscribe thing. Mean time request you to share if i am missing some steps.
I can see âRequestDistributeUserEvent receved from IWS_dev_User.Nameâ in the logs, but in IWS i can see message âSearch in standard responses library is not available:-Appropriate indexes are disabled in universal contact serverâ. instead of âTest Messageâ. Request you to please help.
Also, to configure parameters to send the message is in the KeyValueCollection, for a specific agent, all or agent group, you must send the attach data what you configure in the Bussiness Attribute.
You can read this post to view the correctly configuration.
I can see the message âMessage Sentâ, means there response is not null. but still i do not get any message on IWS. I tried going through the logs. I can see the event:-RequestDistributeUserEvent with the messages i have configured. and same is communicated to the other applications also. but its not reaching IWS agent. please find below the log snippet:-
01:02:04.262 Trc 04541 RequestDistributeUserEvent received from [520] (000000ab anonymousTServerClient 10.96.96.212:55763)
message RequestDistributeUserEvent
AttributeReferenceID 1
AttributeUserData [160] 00 07 00 00..
âIWS_Subjectâ âTestâ
âIWS_Priorityâ âLowâ
âIWS_Messageâ âHelloâ
âIWS_Dateâ âDec-7â
âIWS_Topicâ âAgent Shrikantâ
âIWS_Senderâ âMr Xâ
âIWS_MessageTypeâ âNotificationâ
AttributeThisDN âBroadcast_DNâ
AttributeCommunicationDN âBroadcast_DNâ
01:02:04.262 Int 04543 Interaction message âRequestDistributeUserEventâ received from 520 (âanonymousTServerClientâ) @01:02:04.2620 [ISCC] Client location anonymousTServerClient:000000ab@ added @01:02:04.2620 [0] 8.1.000.21 send_to_client: message EventACK
AttributeEventSequenceNumber 0000000000001547
AttributeTimeinuSecs 262000
AttributeTimeinSecs 1452232924 (01:02:04)
AttributeReferenceID 1
AttributeThisDN âBroadcast_DNâ
AttributeUserEvent RequestDistributeUserEvent
01:02:04.262 Trc 04542 EventACK sent to [520] (000000ab anonymousTServerClient 10.96.96.212:55763) @01:02:04.2620 [0] 8.1.000.21 distribute_user_event: message EventUserEvent
AttributeEventSequenceNumber 0000000000001548
AttributeTimeinuSecs 262000
AttributeTimeinSecs 1452232924 (01:02:04)
[glow=red,2,300] AttributeUserEvent EventUserEvent
AttributeThisDN âBroadcast_DNâ
AttributeUserData [160] 00 07 00 00..
âIWS_Subjectâ âTestâ
âIWS_Priorityâ âLowâ
âIWS_Messageâ âHelloâ
âIWS_Dateâ âDec-7â
âIWS_Topicâ âAgent Shrikantâ
âIWS_Senderâ âMr Xâ
âIWS_MessageTypeâ âNotificationâ[/glow]
AttributeReferenceID 1
01:02:04.262 Trc 04542 EventUserEvent sent to [508] (000000a7 IWS_Dev_shrikant.shevade 10.96.96.212:55725)
01:02:04.262 Trc 04542 EventUserEvent sent to [516] (00000035 StatServer_800 10.9.104.21:3833)
01:02:04.262 Trc 04542 EventUserEvent sent to [500] (00000009 WFM_SS 10.9.116.60:63723)
01:02:04.262 Trc 04542 EventUserEvent sent to [492] (00000007 D_RoutingStatServer 10.9.111.80:53231)
01:02:04.262 Trc 04542 EventUserEvent sent to [488] (00000006 CCON 10.9.116.52:63059)
01:02:04.262 Trc 04542 EventUserEvent sent to [484] (00000005 D_RoutingStatServer_Backup 10.9.111.81:56020)
01:02:04.262 Trc 04542 EventUserEvent sent to [480] (00000004 D_Reporting_StatServer 10.9.116.52:63057)
I have also set broadcast.value-business-attribute=BroadcastMessage in iWS options and broadcast.subscribed.topics=All,$Agent$,$AgentGroup$,$Roles$. I can see in the T-server logs that message is sent to IWS_Dev_UserName, but no luck on IWS message window. Could you please help me with trick or some steps what i am missing in this application.
Hello Rajnish,
In the BA IWS_Topic, you may configure personâs group to send the message (All, TestAgentGroup, TestAgent, etc).
Also, in the IWS_Date, you must send the date in special format:
Sorry but no, Broadcast is a SIP message, therefore IXN has no hability to send those messages. See how important is to read documentation? Is it on paragraph one even or in architecture or many places where it explains its SIP origins.
What do you mean Pete? IXN canât do message broadcasting, that is a SIP Server feature only, at least up to today. Genesys is possible planning a feature on future IXN versions but not possible today
If you want to send and recieve messages between agents using only Interaction Server (without SIP server and broadcast messaging) you should use RequestSuscribe and RequestPublish.
For example,
If you suscribed correctly then you would recieve EventUserEvent with attributes send in RequestPublish.
The main idea is that Interaction server can not perform RequestDistributeUserEvent (no ability in SDK) through some dn (like broadcast dn in sip server), so there is another mechanism in Interaction Server described above.
Disadvantage of this method is that you have to develop both of parts - âsending messagesâ and ârecieving messsagesâ. Instead of develop only sending messages part customization for WDE in case of using out-of-box broadcast messages functionality through SIP server.