cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
367
Views
0
Helpful
3
Replies

Send jsp error

cairns-a
Level 1
Level 1

I have IPPC-x 3.5

I have written a script that you dial into and it prompts for an account number (collect digit step). I then do a "send jsp" step. I want the variables to be sent to http://server ip:9085/ipphone/test.jsp.

When I do a reactive debug on the script everything works to the point of the "send jsp". I get this Excpetion error "task:58000288724 Send JSP: contact is not an HttpContact."

Does anyone know what I am doing wrong? (the only steps I have in the script is "get digits" and "send jsp")

In the "send jsp" step, where the "JSP template" is, what is the correct format I would have to put the url I want to send to? (url: http://server ip:9085/ipphone/test.jsp)

Thanks for any help you can provide.

Trae

3 Replies 3

cairns-a
Level 1
Level 1

This may be a better way of asking the question.

What I want to do is have a caller call in, the script will collect a fax number as a variable, then make an http request with the variable in the URL. (like this= http://x.x.x.x:xx/faxtest.jsp?faxNumber=XXXXXXXXXX&anotherVariable=XXX , make a http request based on this full URL).

What are the best steps to use and how do you use them?

Thanks

Trae

Have you tried without the http:// part at the beginning?

You've probably tried this already but make sure you can manually hit that IP address from your IPCC server. The error message you're getting looks like the jsp step is firing, but it's unable to negotiate a connection...

Thanks for the response. From what I have been reading, what I want to do does not work in the way I am trying it.

It seems that if I have a dial in I can not create variables and sent them in a http request. I am hoping someone can disprove me on this?