" /> Need help on GVP8.1 with ASR -- How to make a test call to vxml application - Genesys CTI User Forum

Author Topic: Need help on GVP8.1 with ASR -- How to make a test call to vxml application  (Read 7087 times)

Offline pattadon

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • Pattadon.com
Advertisement
Hi guys,

I want to configure a GVP that integrated ASR (Amivoice) on dev environment.

I'm using GVP 8.1 and install all components (SIP/RM/MCP/FW) in the same host

I've tried to follow the document and what I've done are :-

1.) Import Application Template (MRCPv2)
2.) Create a Resource Access Point in Application
3.) Create a RAP Connection in MCP --> Configure MRCPv2 URI + Resource Name : AMIVOICE
4.) Create a Trunk Group DN --> In option, TServer/Contact --> RM_IP:5080
5.) Create an IVR profiles --> Standard VXML application
6.) Create a DID that associated with Trunk Group DN from 4.)

After that I used X-lite (Sip-phone) that registered on the same SIP server.

and Calling to that Trunk DN

Now, I always got a busy signal (2beeps). I tried to collect the log files but It's too much (Any tips for make a log easier to read ?)

Note :-
SIP Server --> Port : 5060
GVP_ResourceManager --> Port : 5064  (SIP Port: 5080)
MCP --> (Sip port: 5070)

Question 1 : How to make a call to VXML Application ?

Question 2 : Which port that I should configure in Trunk Group DN (In document used GVP RM) ? 
** Is it possible to calling MCP directly ?


Regards,
Pattadon :)

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
The easist way is through the Trunk DN as you have mentioned. Just use the ip:port of RM as the contact attribute. You have to map DID to your IVR profile using the test VXML application of course. I do not mention the general prerequisities for MSML on SIP server application object.

Try to check the logs of RM and MCP what was caused or post it and I will check it.

To your second question: Yes, it is possible. But not strongly recommended. So, use the RM :)
« Last Edit: July 13, 2015, 02:29:53 PM by Kubig »

Offline pattadon

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • Pattadon.com
Hi Kubig,

Thank for replied. I've done the step above that you mention

Here is the log from RM :-

I'm quite new in Genesys. I found Internal error log --> How to find the root caused what made this error ? ??? ??? ???


2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 09400901 CCPSIPMessageInterceptor.h:588 RM - SIP Message received from [172.30.181.207:5070] (973): [color=red]SIP/2.0 500 Server Internal Error[/color]
Via: SIP/2.0/UDP 172.30.181.207:5080;branch=z9hG4bK0x20791af0a3e664abcdef09
Via: SIP/2.0/UDP 172.30.181.207:5060;branch=z9hG4bK0012E88C-9B79-15A3-841E-CFB51EACAA77-192
From: sip:57005@172.30.181.207;tag=0012E882-9B79-15A3-841E-CFB51EACAA77-131
To: <sip:41510@172.30.181.207:5060>;tag=A0565000-0200-2290-B5E7-9496CB0E9ECF
CSeq: 1 INVITE
Call-ID: 0012E864-9B79-15A3-841E-CFB51EACAA77-26@172.30.181.207
Contact: sip:Genesys@172.30.181.207:5070
Content-Length: 0
Record-Route: <sip:0x1b3f3b50@172.30.181.207:5080;lr;gvp.rm.datanodes=1;idtag=00000014>
Warning: 399 172.30.181.207 [color=red]"The application could not be fetched or parsed"[/color]
User-Agent: X-Lite 4.8.4 76589-4c0d85fb-W6.1
Min-SE: 90
X-Genesys-GVP-Session-Data: callsession=A0565000-0200-AA5B-E2FA-42C48BC5E384;1;0;;;;Environment;GVPInbound_Amivoice_1;
X-Genesys-GVP-Session-ID: A0565000-0200-AA5B-E2FA-42C48BC5E384;gvp.rm.datanodes=1;gvp.rm.tenant-id=1_GVPInbound_Amivoice_1


2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 08500000 VGSIPTransportMgr.cxx:3464 VGSIPTransportMgr::ResolveDNS for 172.30.181.207:5070
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 08500000 VGSIPTransportMgr.cxx:3575 VGSIPTransportMgr::ResolveDNS nResult 2
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 09400901 CCPSIPMessageInterceptor.h:588 RM - SIP Message sent to [172.30.181.207:5070] (534): ACK sip:dialog@172.30.181.207:5070;gvp-tenant-id=[Environment].GVPInbound_Amivoice_1;gvp.appmodule=VXML-NG;trunkport=41510;voicexml=http://172.30.179.110/VXMLEN/VoiceMenu.vxml SIP/2.0
Via: SIP/2.0/UDP 172.30.181.207:5080;branch=z9hG4bK0x20791af0a3e664abcdef09
From: sip:57005@172.30.181.207;tag=0012E882-9B79-15A3-841E-CFB51EACAA77-131
To: <sip:41510@172.30.181.207:5060>;tag=A0565000-0200-2290-B5E7-9496CB0E9ECF
Max-Forwards: 70
CSeq: 1 ACK
Call-ID: 0012E864-9B79-15A3-841E-CFB51EACAA77-26@172.30.181.207
Content-Length: 0


2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 09400901 GVPRMLocationService.cxx:75 Cannot locate logical resource matching Physical AOR sip:172.30.181.207:5060
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 08500000 VGSIPTransportMgr.cxx:3464 VGSIPTransportMgr::ResolveDNS for 172.30.181.207:5060
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 08500000 VGSIPTransportMgr.cxx:3575 VGSIPTransportMgr::ResolveDNS nResult 2
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 09400901 CCPSIPMessageInterceptor.h:588 RM - SIP Message sent to [172.30.181.207:5060] (896): [color=red]SIP/2.0 500 Server Internal Error[/color]
Via: SIP/2.0/UDP 172.30.181.207:5060;branch=z9hG4bK0012E88C-9B79-15A3-841E-CFB51EACAA77-192
From: sip:57005@172.30.181.207;tag=0012E882-9B79-15A3-841E-CFB51EACAA77-131
To: <sip:41510@172.30.181.207:5060>;tag=A0565000-0200-2290-B5E7-9496CB0E9ECF
CSeq: 1 INVITE
Call-ID: 0012E864-9B79-15A3-841E-CFB51EACAA77-26@172.30.181.207
Contact: sip:Genesys@172.30.181.207:5070
Content-Length: 0
Record-Route: <sip:0x1b3f3b50@172.30.181.207:5080;lr;gvp.rm.datanodes=1;idtag=00000014>
Warning: 399 172.30.181.207 "The application could not be fetched or parsed"
User-Agent: X-Lite 4.8.4 76589-4c0d85fb-W6.1
Min-SE: 90
X-Genesys-GVP-Session-Data: callsession=A0565000-0200-AA5B-E2FA-42C48BC5E384;1;0;;;;Environment;GVPInbound_Amivoice_1;
X-Genesys-GVP-Session-ID: A0565000-0200-AA5B-E2FA-42C48BC5E384;gvp.rm.datanodes=1;gvp.rm.tenant-id=1_GVPInbound_Amivoice_1


2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 00600000 ReportingClient.cpp:341 sendUpstream(): Queuing upstream message: {"COMP-ID":"i64|116","COMP-TYPE":149,"SESSION-ID":"str|A0565000-0200-AA5B-E2FA-42C48BC5E384","SEQUENCE-ID":0,"APP-ID":"i64|123","TENANT-ID":["i64|1"],"CALL-TYPE":0,"START":"utc|1436804708173","END":"utc|1436804708215","GVP-GUID":"str|A0565000-0200-AA5B-E2FA-42C48BC5E384","GENESYS-UUID":"str|01GTJTKRF4AQ710UPUQHTB5AES00000E","REMOTE-URI":"str|sip:57005@172.30.181.207","LOCAL-URI":"str|sip:41510@172.30.181.207:5080","BURST-PROFILE":1,"DN":"str|41510","ERROR":"str|Call rejected by target resource [Call-ID=0012E864-9B79-15A3-841E-CFB51EACAA77-26@172.30.181.207][SIPResponseCode=500]","MEDIA-SERVICE":5,"USAGE-PROFILE":1,"X-OR.RS.CDR.CALL-ARRIVAL-UPDATED":true,"VTAG-LIST":[{"BURST-TENANT-1":"1"},{"USAGE-TENANT-1":"1"}]}
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 09400901 CDRServiceImpl.cpp:441 SubmitAppPeak: 123, 0, 0
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 09400901 CDRServiceImpl.cpp:463 SubmitPeak: 1, 0, 0
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 09400901 CallSessionImpl.h:1663 Cleared call session A0565000-0200-AA5B-E2FA-42C48BC5E384
2015-07-13 23:25:08.215 DBUG 00000000-00000000 1175837568 09400901 CallImpl.h:1020 The call  is cleared
2015-07-13 23:25:08.225 DBUG 00000000-00000000 1175837568 09400901 CCPSIPMessageInterceptor.h:588 RM - SIP Message received from [172.30.181.207:5060] (454): ACK sip:41510@172.30.181.207:5080 SIP/2.0
Via: SIP/2.0/UDP 172.30.181.207:5060;branch=z9hG4bK0012E88C-9B79-15A3-841E-CFB51EACAA77-192
From: sip:57005@172.30.181.207;tag=0012E882-9B79-15A3-841E-CFB51EACAA77-131
To: <sip:41510@172.30.181.207:5060>;tag=A0565000-0200-2290-B5E7-9496CB0E9ECF
Call-ID: 0012E864-9B79-15A3-841E-CFB51EACAA77-26@172.30.181.207
CSeq: 1 ACK
Max-Forwards: 69
User-Agent: X-Lite 4.8.4 76589-4c0d85fb-W6.1
Content-Length: 0

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
So...you have an error on your code that gives a 500 error, basic http debug stuff. Check your code

Offline pattadon

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • Pattadon.com
[quote author=cavagnaro link=topic=8988.msg40224#msg40224 date=1436810988]
So...you have an error on your code that gives a 500 error, basic http debug stuff. Check your code
[/quote]

thanks I'll check it but when the application error I think it should play a different announcement should not be a busy signal

Am I right?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Again, depends on your code, 500 error if was controlled yes, can provide a music, if not will drop

Enviado de meu C6602 usando Tapatalk


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
The behaviour is by design. Check your VXML application (within DEBUG MCP logs) to find out the root-cause.

Offline pattadon

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • Pattadon.com
Yes you're right It was an error on the VXML application

I've try to change it to application that was built by Composer and it works !

Offline pattadon

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • Pattadon.com
Currently the error was changed to error no asr resource

Does it have some configuration about Resource Manager ?

How RM can know which MCP server are ready for ASR ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
If ASR engine is not working will give you that error.
Check MCP logs and ASR logs when calling the ASR part.
I guess you configured MRCP sections too, right?

Offline pattadon

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • Pattadon.com
[quote author=cavagnaro link=topic=8988.msg40394#msg40394 date=1438354162]
If ASR engine is not working will give you that error.
Check MCP logs and ASR logs when calling the ASR part.
I guess you configured MRCP sections too, right?
[/quote]

Hi Cavagnaro,

I followed the GVP deployment guide with the below steps

1.) Deploy MRCP Template from Genesys Software package
2.) Create Route Access Point --> In option, configure MRCPV2 URI = sip:msresource@IP_ASR:PortASR  and Resource Name = AMIVOICE
3.) Add Route Access Point into Media Server Connection
4.) In ResourceGroup --> Gateway Resource Group --> Added Route Access Point (Not sure which IP/port that should be used here currently I used ASR IP address)

MCP Log :- I found an error no asr resource and call disconnected

ASR Log :- I do not know about AMIVOICE but at least I saw a stream that I guess it is KeepAlive Message from Media Server
but I did not see any SIP message from Media Server
« Last Edit: August 01, 2015, 02:34:25 AM by pattadon »

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Does your ASR support the MRCPv2? Did you check network sniff between MCP and the ASR server? I have similiar issue, but in each case it was not caused by MCP. You do not need create any LRGP for ASR or TTS purposes.