Page 1 of 1

different errors when trying to place outbound call

Posted: Wed Sep 01, 2010 9:38 am
by magicsoft
I must be missing something fairly obvious, but for the life of me I can't figure it out from any of the documentation or current postings.

I'm trying to initiate an outbound call. If I do it by going to the web address below (sensitive information removed),

http://outbound.plumgroup.com/webservice/queuecall.php?login=xxx@xxx.com&pin=xxxxxx&phone_number=xxxxxxxxxxx&start_url=http://login.sleepcarecenter.com/autocalls/test_order_intro.vxml

it says:

<queuecall status="failed">Missing "login" POST variable.</queuecall>

and the call is not placed at all. If I enter this information in the "queue a single call" screen on your site, the call is made, but when I answer, I then get an error (sounds like a 405 server error).

I get the impression that I can't just point to a VXML file directly for outbound calling, so maybe I'd get a 405 error anyway even if I wasn't getting the "missing login" error (but I still need to know why I'm getting that one). For the record, I'm using ASP.NET, so the PHP examples are somewhat confusing as well.

Thanks,

Andrew

Re: different errors when trying to place outbound call

Posted: Wed Sep 01, 2010 10:25 am
by support
Hi Andrew,

You are correct in that you cannot point directly to a static VXML script for outbound calling. Our outbound system performs an HTTP POST when requesting start_url and result_url, and in order to process that HTTP POST request, the web server requires that the page being requested is a dynamic script.

Hopefully this helps!

Regards,
Plum Support

Re: different errors when trying to place outbound call

Posted: Wed Sep 01, 2010 11:28 am
by magicsoft
Well, I'm not sure how I'm supposed to return the VXML that way, but I can work on that. Do I just open the VXML file in my code, read it into a stream, and then send it as the response?

Also, I still need to know why I'm getting the <queuecall status="failed">Missing "login" POST variable.</queuecall> error.

Thanks,

Andrew

Re: different errors when trying to place outbound call

Posted: Wed Sep 01, 2010 2:39 pm
by support
Hi Andrew,

The following is an example of how you would use PHP to write your VXML as a dynamic script:

example.php

Code: Select all

<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
  <form>
    <block>
      <prompt>
         Hello World!
      </prompt>
    </block>
  </form>
</vxml>
An ASP .NET equivalent of the above code would be:

example.aspx

Code: Select all

<%Response.ContentType = "text/xml"%>
<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <block>
      <prompt>
        Hello, World!
      </prompt>
    </block>
  </form>
</vxml> 
We're primarily a PHP shop here, so we cannot help much with debugging your ASP .NET code, but if you need any further assistance, you can refer to these previous posts:

http://support.plumvoice.com/viewtopic. ... .NET#p2594
http://support.plumvoice.com/viewtopic. ... .NET#p1765
http://support.plumvoice.com/viewtopic. ... .NET#p5050
http://support.plumvoice.com/viewtopic. ... .NET#p3490
http://support.plumvoice.com/viewtopic. ... ound#p4408

The following previous post describes how to use PHP to queue outbound calls:
http://support.plumvoice.com/viewtopic. ... queuecalls

Hopefully these examples will help you come up with an ASP .NET equivalent for queueing outbound calls.

Regards,
Plum Support

Re: different errors when trying to place outbound call

Posted: Wed Sep 01, 2010 2:51 pm
by magicsoft
I've figured out how to get the outbound aspx page to work, however, I am still getting the error

<queuecall status="failed">Missing "login" POST variable.</queuecall>

when I try to initiate an outbound call using:

http://outbound.plumgroup.com/webservice/queuecall.php?login=xx@xx.com&pin=xxx&phone_number=xxx&start_url=http://webaddress

Also, when I get an outbound call to work using the queue call page on your site, the voice seems to be different than any of the ones I've tried to set in my root file. Can you tell me which voice is being used for outbound calls by default?

Andrew

Re: different errors when trying to place outbound call

Posted: Wed Sep 01, 2010 3:38 pm
by support
Andrew,

Are you POSTing the variables correctly to queuecall.php?

The following previous post addresses this same issue that was encountered by another developer:
http://support.plumvoice.com/viewtopic. ... l%3E#p3853

The TTS voice used for our outbound system is tied specifically to your account. Your outbound TTS engine happens to be RealSpeak, where the default voice is "Jill."

Regards,
Plum Support

Re: different errors when trying to place outbound call

Posted: Thu Sep 02, 2010 7:21 am
by magicsoft
I have my root vxml file set to "mike", which seems to work fine for incoming calls. However, the outbound call voice is definitely different (better pronunciation, in my opinion), and it is definitely not a woman's voice, so it can't be Jill. Is there a place I can set the default voice (other than in the vxml file) for both incoming and outgoing calls to be the same?

As far as the posting issue, I guess I'm confusing URL parameters with whatever is actually necessary to correctly to that. I'll look into that some more later, right at the moment I'd like to get the voice consistent, and I have to redo some files that were accidentally deleted. :(

Andrew

Re: different errors when trying to place outbound call

Posted: Thu Sep 02, 2010 7:29 am
by magicsoft
If I'm reading things correctly on the site, it looks like the outbound calls are using a different TTS engine than the inbound calls. Can I set the inbound calls to use the same TTS as the outbound is currently set to? I think the default voice I'm getting for outbound calls (it's definitely a guy's voice) is better than any of the ones I've tried for inbound calls.

Thanks,

Andrew

Re: different errors when trying to place outbound call

Posted: Thu Sep 02, 2010 7:59 am
by support
Hi Andrew,

The outbound TTS engine you are using is Nuance RealSpeak 4.0. You can set the inbound TTS engine on a per application basis by going to Application Configuration in your hosting account, clicking "Edit" for the application that you'd like to change, and then selecting the desired TTS Engine from the dropdown and clicking "Save."

Regards,
Plum Support

Re: different errors when trying to place outbound call

Posted: Thu Sep 02, 2010 8:15 am
by magicsoft
I see the spot you're referring to, but the dropdown in question is disabled.

I had assumed that was because I was on a developer test account, which is why I asked. :?:

Andrew

Re: different errors when trying to place outbound call

Posted: Thu Sep 02, 2010 9:03 am
by support
Hi Andrew,

You are correct, you cannot change the inbound TTS engine on your account if you are using a developer test account. If you are interested in upgrading your account, you can contact sales@plumvoice.com.

Regards,
Plum Support