" /> OutBound Call with SSG on GVP 8.1 - Genesys CTI User Forum

Author Topic: OutBound Call with SSG on GVP 8.1  (Read 5319 times)

Offline CTI-traveller

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
OutBound Call with SSG on GVP 8.1
« on: August 17, 2010, 07:59:58 AM »
Advertisement
Hi All,

Who have done to make outbound call with SSG on GVP 8.1 before?
I need help from those experience people.
I create my trigger application (mytrigger.aspx) as follow:
======================================================================
        string url = "http://hostIp:9800/SSG?TenantName=Environment";
        string xml = "<SSGRequest xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance/'> " +
                        "<CreateRequest Token='T7033' MaxAttempts='2' " +
                        "TimeToLive='123s' IVRProfileName='IVRProfileTest' " +
                        "Telnum='89812345' " +
                        "NotificationURL='http://hostIP:9000/DIR/OutURL.xml'>" +
                        "</CreateRequest>" +
                        "</SSGRequest>";

        byte[] bytes = Encoding.UTF8.GetBytes(xml);
        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
        request.Method = "POST";
        request.ContentLength = bytes.Length;
        request.ContentType = "application/xml";

        using (System.IO.Stream requestStream = request.GetRequestStream())
        {
            requestStream.Write(bytes, 0, bytes.Length);
        }
=======================================================
I can manage to get 'Success' response from SSG. But my question is how can I check Notification URL? Now I used another application to listen port 9000 and I can see there my request is 'success' or 'failure'. But I m unsure it is right way or not. Anyone can help me?? Appreciate much if someone have done and can help me. It would be great.

Cheers,
CH

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: OutBound Call with SSG on GVP 8.1
« Reply #1 on: August 19, 2010, 07:22:43 AM »
Hi,

NotificationURL parameter shall point out to web page that will accept information provided by SSG. I'm not sure the example in GVP User's Guide is correct as I would expect NotificationURL to be a dynamic web page (asp/aspx) rather then XML file.

SSG calls specified page when call attempt is successful or it fails.

R.

Offline CTI-traveller

  • Newbie
  • *
  • Posts: 31
  • Karma: 0
Re: OutBound Call with SSG on GVP 8.1
« Reply #2 on: August 19, 2010, 05:06:57 PM »
Thanks a lot for your reply.
I got idea.
I will create a page and by using GET method, I think I can get the value of those paras from SSG.
Thanks again!!!


Cheers,
CN