cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
217
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Jean Lofrano on 02-07-2013 08:17:02 AM
Hi,

I need to change the PIN code on the CUCM of the a specific end user.

So, I have been thinking in create a script with PHP like this:

<html>
    <head>
        <title>PHP Test</title>
    </head>
    <body>
        <?php
            $client = new SoapClient("/var/www/AXLAPI.wsdl",
                array('trace'=>true,
               'exceptions'=>true,
               'location'=>"https://172.20.1.106:8443/axl",
               'login'=>'cucmuser',
               'password'=>'cucmpass',
            ));
           $response = $client->UpdateUser(array("userid"=>"7086"));

  (But, here How can I update the PIN code of the 7086 user please??? )

        ?>
    </body>
</html>

Subject: RE: AXL WSDL with PHP doubt
Replied by: Jean Lofrano on 02-07-2013 03:05:15 PM
Hey, I ve done the script below, but I´m not sure if it will work.

I have doubts to fix the code "1234" for userid = 7086.

<html>
    <head>
        <title>PHP Test</title>
    </head>
    <body>
        <?php
            $client = new SoapClient("/var/www/AXLAPI.wsdl",

                array('trace'=>true,
               'exceptions'=>true,
               'location'=>"https://172.20.1.106:8443/axl",
               'login'=>'cucmuser',
               'password'=>'cucmpass',
            ));
           
        

    $response = $client->UpdateUser(array("userid"=>7086, "pin" => "1234"));


        ?>
    </body>
</html>


can you help me please?

regards.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links