" /> Progressive GVP - Genesys CTI User Forum

Author Topic: Progressive GVP  (Read 2969 times)

Offline Cgonçalves

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Progressive GVP
« on: July 29, 2015, 10:45:08 AM »
Advertisement
Hi there,

I have one Outbound campaign in Progressive GVP that invokes one simple vxml file through a ivr profile.
When the call is established and the client hangs up, the record_status doesn't change to updated.

Can you tell me if there is any configuration that i need to do in OCS, or the problem is the vxml?

VXML:
[code]
<?xml version="1.0" encoding="utf-8" ?>
<vxml version="2.1" xml:lang="pt-PT" xmlns="http://www.w3.org/2001/vxml" xmlns:genesys="http://www.genesyslab.com/2006/vxml21-extension" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<form>
<block>
<prompt timeout="10s">
<audio src="file://e:/vxml/720.wav" />
</prompt>
</block>
</form>
</vxml>
[/code]

IVR Profile:
[code]
[gvp.general]
service-type=voicexml
sip.sessiontimer=5

[gvp.policy]
burst-allowed=false
cti-allowed=false
outbound-call-allowed=true
transfer-allowed=true
usage-limits=10
use-same-gateway=indifferent

[gvp.service-parameters]
voicexml.gvp.appmodule=fixed,VXML-NG

[gvp.service-prerequisite]
initial-page-url=file:///D:/vxml/chg.vxml
script-url=file:///D:/vxml/chg.vxml
[/code]

Best regards

Offline Cgonçalves

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Progressive GVP
« Reply #1 on: July 29, 2015, 03:56:39 PM »
Hello again,

If there is someone with the same problem I found a possible solution:

[code]
<?xml version="1.0" encoding="utf-8"?>
<vxml version="2.1" xml:lang="pt-PT" xmlns="http://www.w3.org/2001/vxml" xmlns:genesys="http://www.genesyslab.com/2006/vxml21-extension" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <form id="Start">
        <block>
            <var name="GSW_RECORD" expr="session.com.genesyslab.userdata.gsw_record_uri" />
            <var name="GSW_AGENT_REQ_TYPE" expr="'RecordProcessed'" />
            <var name="OCS_REQUEST_URI" expr="GSW_RECORD + '?req=' + GSW_AGENT_REQ_TYPE" />
            <var name="GSW_CALL_RESULT" expr="33" />
            <var name="GSW_TREATMENT" expr="'RecordTreatCampaign'" />
            <data name="ProcessRecord" method="post" srcexpr="OCS_REQUEST_URI" enctype="application/json" namelist="GSW_CALL_RESULT GSW_TREATMENT" />
            <prompt timeout="10s">
                <audio src="file://e:/vxml/720.wav" />
            </prompt>
            <goto next="#Disconnect" />
        </block>
    </form>
    <form id="Disconnect">
        <block>
            <disconnect />
        </block>
    </form>
</vxml>

[/code]

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Progressive GVP
« Reply #2 on: July 30, 2015, 11:29:18 AM »
This approach is discribed very well within the documentation (about HTTP API of OCS Server for these and similiar purposes)

Offline pattadon

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • Pattadon.com
Re: Progressive GVP
« Reply #3 on: July 31, 2015, 01:45:41 PM »
I do the same thing.

In the entry block, there are some error handler provided like call disconnected.

like Kubig mention above, in the document guide is very useful.