PureEngage On-Premises

 View Only

Sign Up

  • 1.  How to change Music On Hold based on caller's language preference?

    Posted 07-08-2015 08:54
    As title. Can I change it by using Extension in attached data and set the nessary music from Agent Desktop? This is what I've got from someone and it seems like can be worked:
    message RequestHoldCall
    AttributeThisDN '1234'
     AttributeConnID 008101f3c4570003
     AttributeExtensions [35] 00 01 00 00..
      'music' '\music\on_hold\pcmu.wav'
     AttributeReferenceID 10
    But what I've got (user attached data) from the Agent Desktop that I develop currently, the Extension attribute is missing:
    'EventHeld' ('66')
    message attributes:
    AttributeConnID [long] = 006D02674398B2C8
    AttributeCustomerID [str] = "Resources"
    AttributeEventSequenceNumber [long] = 261026
    AttributeCallID [int] = 6970
    AttributeThisDN [str] = "6154"
    AttributeThisQueue [str] = "2709"
    AttributeUserData [bstr] = KVList: 
    		'language' [str] = "English"
    		'phone' [str] = "1234"
    		'call_priority' [str] = "normal"
    AttributeCallState [int] = 0
    AttributeAgentID [str] = "1589"
    Time            = ComplexClass(TimeStamp):
    	AttributeTimeinuSecs [int] = 857000
    	AttributeTimeinSecs [int] = 1436337735
    AttributeDNIS [str] = "28482708"
    AttributeCallUuid [str] = "NEMK2P1R2P40DBSGH4T7K87AEK00040H"
    AttributeOtherDNRole [int] = 1 [RoleOrigination]
    AttributeCallType [int] = 2 [Inbound]
    AttributeANI [str] = "5678"
    AttributeReferenceID [int] = 6
    AttributeThisDNRole [int] = 2 [RoleDestination]
    AttributeOtherDN [str] = "5678"
    Is it I use the wrong attached data? How can I get the attached data with Extension attribute so that I can change the music on hold based on the language?

     


  • 2.  RE: How to change Music On Hold based on caller's language preference?

    Posted 07-09-2015 08:20
    Your request "RequestHold" seems to be ok. The "music" KVP should not be part of following response "EventHeld". Or did you still hear the default MOH?


  • 3.  RE: How to change Music On Hold based on caller's language preference?

    Posted 07-09-2015 08:35
    Yes, I still can hear the default MOH. I want to change the MOH based on caller's preferred language. May I know how can I add a new KVP under AttributeExtension? I was told that if I can change the music file under the AttributeExtension then it should work accordingly. The problem now is there is no AttributeExtension for my EventHeld message.


  • 4.  RE: How to change Music On Hold based on caller's language preference?

    Posted 07-10-2015 08:48
    What version of SIP are you using?


  • 5.  RE: How to change Music On Hold based on caller's language preference?

    Posted 07-10-2015 08:56


  • 6.  RE: How to change Music On Hold based on caller's language preference?

    Posted 07-10-2015 11:19
    As I said, the request seems to be ok. Try to post fragment of T-Server DEBUG logs covering the request "RequestHoldCall" and all actions till event "EventHeld" was generated.


  • 7.  RE: How to change Music On Hold based on caller's language preference?

    Posted 07-11-2015 15:02
    Here's the log:
    message RequestHoldCall
    	AttributeReferenceID	10
    	AttributeExtensions	[38] 00 01 00 00..
    		'music'	'\music\on_hold\english.wav'
    	AttributeConnID	006d02674398b3c0
    	AttributeThisDN	'1234'
    22:29:53.525 Int 04543 Interaction message "RequestHoldCall" received from 692 ("anonymousTServerClient")
    @22:29:53.5250 [gctmi] Distributing request RequestHoldCall
    @22:29:53.5250 [asai] Party [006d02674398b3c0:6154,sc,tDN,rDST,lINT] (reqHoldCall)
    	TP_AsaiData
    	FACILITY  CRV:15fe
    	Facility: INVOKE
    	InvokeId: 3
    	Operation: TP_SelectiveHold
    	CallID: 2133
    @22:29:53.5250 [>>] 08 00 00 17 08 02 15 FE 62 96 1C 0F 91 A1 0C 02 01 03 02 01 85 40 04 10 02 08 55 
    @22:29:53.5400 [<<] 08 00 00 0E 08 02 95 FE 62 96 1C 06 91 A2 03 02 01 03 
    	TP_AsaiData
    	FACILITY  CRV:95fe
    	Facility: RETURN_RESULT
    	InvokeId: 3
    @22:29:53.5400 [asai] (processRtrnRsltHoldCall)
    @22:29:53.5400 [gctmi] request RequestHoldCall deactivated in reqMgr
    @22:29:53.5400 [gctmi] TMsg [EventHeld()] distributing to model
    @22:29:53.5400 [gctmi] Call [006d02674398b3c0/855,sES,tES,l2] distributing EventHeld
    @22:29:53.5400 [gctmi] Call [006d02674398b3c0/855,sES,tES,l2] processHeld
    @22:29:53.5400 [gctmi] Party [006d02674398b3c0:6154,sc,tDN,rDST,lINT] processHeld
    @22:29:53.5400 [gctm] Party [006d02674398b3c0:6154,sc,tDN,rDST,lINT] Changing state to e
    @22:29:53.5400 [gctmi] request RequestHoldCall removed from reqMgr
    @22:29:53.5400 [0] 7.6.012.00 distribute_response: message EventHeld
    	AttributeEventSequenceNumber	0000000000040ff5
    	AttributeTimeinuSecs	540000
    	AttributeTimeinSecs	1436624993 (22:29:53)
    	AttributeOtherDN	'1234567'
    	AttributeOtherDNRole	1
    	AttributeThisDNRole	2
    	AttributeThisDN	'1234'
    	AttributeCustomerID	'Resources'
    	AttributeANI	'1234567'
    	AttributeDNIS	'28482708'
    	AttributeUserData	[325] 00 0C 00 00..
    		'language'	'Mandarin'	
    		'phone'	'908786767'	
    	AttributeCallUUID	'NEMK2P1R2P40DBSGH4T7K87AEK0005HG'
    	AttributeConnID	006d02674398b3c0
    	AttributeCallID	2133
    	AttributeCallType	2
    	AttributeThisQueue	'2709'
    	AttributeCallState	0
    	AttributeAgentID	'1589'
    	AttributeReferenceID	10
    @22:29:53.5400 [ISCC] Translate: '0165194981' -> ''; result 1 ()
    22:29:53.540 Int 04544 Interaction message "EventHeld" generated
    I've added the music file to AttributeExtension like this:
    KeyValueCollection musicOnHold = new KeyValueCollection();
    musicOnHold.Add("music", @"\music\on_hold\english.wav");
     RequestHoldCall reqHoldCall = RequestHoldCall.Create(thisDN, connID, null, musicOnHold);
    But still doesn't work.
     

     


  • 8.  RE: How to change Music On Hold based on caller's language preference?

    Posted 07-13-2015 13:59
    You do not use Genesys SIP, so you have to consult this with your PBX admin, if it is possible to play multiple MOH. This cannot be achieved just on Genesys site by using AttributeExtension with "music" parameter