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

Filled tag question?

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
goochable
Posts: 6
Joined: Thu Jun 14, 2012 10:25 am

Filled tag question?

Post by goochable »

Hi,

So I am new to this and have started playing with some code. I am curious I have the following in my code

Code: Select all

  
            <filled>
                You said <value expr="myfield"/>.
            </filled>

I have this in a jsp page. And thus I am trying to insert a record when the user chooses one of three options.
Thus I want to be able to escape out to java and access the "myfield" value directly. Is there a way to do this?
Or do I have to set a page and pass it to another page?

Thanks in advance!
Mike

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

Re: Filled tag question?

Post by support »

Hi Mike,

That filled tag is VXML code and should be in a .vxml page. We are primarily a PHP shop here and unable to provide support on JavaServer and Java.

For more information about data exchanges between the VXML platform and your server, please take a look at this: http://www.plumvoice.com/docs/dev/devel ... taexchange

Regards,
Plum Support

goochable
Posts: 6
Joined: Thu Jun 14, 2012 10:25 am

Re: Filled tag question?

Post by goochable »

Hi,

Thanks for the response. Ok so say I have a php page and in my code I am generating the following

Code: Select all

<value expr="session.telephone.ani"/>
Is there anyway I can access the phone number without saving it as a variable and then submitting it?

Thus I have an initial vxml page I want to take the phone number and query my database to find out
who the user is. Thus do I first need to capture and submit this value or can I access it somehow as
a variable directly?

Does this make sense?
Thanks again!

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

Re: Filled tag question?

Post by support »

Hi Mike,

To query your database, you'll have to submit the ANI to your script. So yes, you will have to capture the ANI in a variable and submit that variable.

Regards,
Plum Support

goochalba
Posts: 18
Joined: Wed Jun 13, 2012 9:01 pm

Re: Filled tag question?

Post by goochalba »

Great thanks so much

Post Reply