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.