We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Newbie - scratchpad

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

clearer and syntactically correct replacement for IVR code

Post by support »

Let's look at a snippet of your IVR code:

Code: Select all

      <filled>
        <submit next="page2.php" method="post" namelist="language"/>
<submit next="page2.php" method="post" session.telephone.ani ="caller"/>

      </filled> 
Your second submit will never be executed because there's a submit that precedes it. Also, you are referencing the IVR session variable "session.telephone.ani" as a submit attribute.

The following is a clearer and syntactically correct replacement for the above IVR code snippet:

Code: Select all

      <filled>
        <var name="caller_id" expr="session.telephone.ani"/>
        <submit next="page2.php" method="post" namelist="language caller_id"/>
      </filled> 
Last edited by support on Sat Feb 20, 2010 3:42 pm, edited 3 times in total.

peterj@skipzone.co.uk
Posts: 10
Joined: Sat Dec 30, 2006 8:55 am
Location: windsor uk

Post by peterj@skipzone.co.uk »

Thanks. This is fascinating!

Now, at what point does the test portal become a commercial platform I have to pay for?

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR account manager sets up full hosting account

Post by support »

When you're ready to deploy your production application, contact your IVR account manager and they'll set you up with a full IVR hosting account!

Post Reply