vxml for authentication

Discussion in 'VOIP' started by steve, Aug 3, 2004.

  1. steve

    steve Guest

    I like to send vxml with account number and password to web server
    from cisco router tcl scripts. How to write the vxml?
    What's the response should look like to send back to router from web
    server?
    In tcl, how to parse the vxml?
     
    steve, Aug 3, 2004
    #1
    1. Advertising

  2. Hello,

    steve wrote:

    > I like to send vxml with account number and password to web server
    > from cisco router tcl scripts. How to write the vxml?
    > What's the response should look like to send back to router from web
    > server?

    It should be a valid VXML document.

    > In tcl, how to parse the vxml?

    The easiest way is to make a hybrid application, so from TCL you will
    transfer control to the VXML.
    http://www.cisco.com/en/US/products...gramming_reference_guide09186a00800d757e.html

    WBR, Andrew
    --
    Andrew Zhilenko
    Please remove "hide-email." from my email address when replying,
    so my address should be andrew (at) ti dot cz
     
    Andrew Zhilenko, Aug 3, 2004
    #2
    1. Advertising

  3. steve

    steve Guest

    Here is sample code for vxml.

    //send vxml from router tcl to web server

    <vxml version="2.0">
    <form>
    <var name="account" expr="'12345'"/>
    <var name="password" expr="'12345'"/>
    <block>

    <submit expr="'http://myserver/my.asp'"
    method="get" namelist="account password"/>

    </block>

    </form>
    </vxml>



    //send from web server to router
    <vxml version="2.0">
    <form>
    <var name="status" expr="'authorized'"/>
    </form>
    </vxml>



    questions:
    1. Does the vxml correct or not?
    2. How tcl retrive vxml or http information sent from web server?
    3. How tcl to retrieve "status"?
     
    steve, Aug 5, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. steve

    vxml for authentication

    steve, Aug 3, 2004, in forum: Cisco
    Replies:
    2
    Views:
    480
    steve
    Aug 5, 2004
  2. Rafael
    Replies:
    1
    Views:
    3,217
  3. Johnny
    Replies:
    11
    Views:
    3,088
    Cerebrus
    Aug 4, 2006
  4. zillah
    Replies:
    0
    Views:
    722
    zillah
    Nov 9, 2006
  5. Giuen
    Replies:
    0
    Views:
    986
    Giuen
    Sep 12, 2008
Loading...

Share This Page