cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1009
Views
0
Helpful
2
Replies

AddLine / AddPhone AXL CUCM 10.5

Michael Schmidt
Level 1
Level 1

Hi,

I`m trying to add a line / phone via AXL / perl at CUCM 10.5.

This updatePhone command in the perl is working for example:

my $res =

   $cm->updatePhone(

            SOAP::Data->attr({xmlns => ''})->name('name' => $devname),

         => SOAP::Data->attr({xmlns => ''})->name('ownerUserName'=> $username),

   );

This addLine command is NOT working and I don`t know why:

my $res =

$cm->addLine(

SOAP::Data->attr({xmlns => ''})->name('pattern' => $v_dn_new),

SOAP::Data->attr({xmlns => ''})->name('routePartitionName'=> 'Everyone'),

);

Can anybody help me to make the addLine working?

BR

Michael

2 Replies 2

stephan.steiner
Spotlight
Spotlight

Could you post the XML that you're sending to the server? Different people use different programming languages - but it all comes down to sending an XML request. if you're on Windows, you can use a tool like Fiddler to show the data that is "going over the wire".. it even can decrypt https on the fly so that's pretty powerful.

Alternatively, you'll find AXL requests and responses in the AXL logs (download via RTMT).

npetrele
Cisco Employee
Cisco Employee

What are you using for SOAP support in Perl?  SOAP::Lite?