OutBound Call with SSG on GVP 8.1

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

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.

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

1 Like