cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
365
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Cristina Petre on 03-04-2011 08:34:36 AM
Hi all,
 
ive tried to create an CTIRoutePoint and assign a Line to it. I use Version 7.1.5 and I used this xml file:
 
<addLine>
 <pattern>234</pattern>
 <usage>Route</usage> 
  <routePartitionName>%Marktsystemname%-national</routePartitionName>
</addLine>
<addCTIRoutePoint>
 <name>aa%Marktsystemname%</name>
 <description>aa%Marktsystemname% %CTIPrefix%07</description>
 <productInfo>CTI Route Point</productInfo>
 <modelInfo>CTI Route Point</modelInfo>
 <class>CTI Route Point</class>
 <protocol>SCCP</protocol>
 <callingSearchSpaceName>%Marktsystemname%-internal</callingSearchSpaceName>
 <devicePoolName>%Marktsystemname%-g711</devicePoolName>
 <locationName>%Marktsystemname%</locationName>
 <lines> 
   <lineIdentifier>
    <directoryNumber>234</directoryNumber>
    <routePartitionName>%Marktsystemname%-national</routePartitionName>
     </lineIdentifier>
  </lines>
    </addCTIRoutePoint>
 
 
These are my examples. I also tested it with uuid which i extracted after the line was added.
 
<lines>
   <line index="1">
    <dirn uuid="{158B34CC-A601-1C8C-6504-4FAC0AE9281F}" />
    </line>
  </lines>
 
.
 
<lines>
<line>
<dirn>
<uuid>{158B34CC-A601-1C8C-6504-4FAC0AE9281F}</uuid>
</dirn>
</line>
</lines>
 
 
Both of them CTIRoutePoint and Line get created but Line is not associated to the CTI Route Point. I get no failure after excute the programm .
Any ideas to this problem?
 
many thanks in advance!
 
best regards,
cristina
 

Subject: RE: addLine to CTIRoutePoint
Replied by: Stefan Schallmeiner on 04-04-2011 02:58:09 AM
Hi again!

I'm not exactly sure about that, but it should work if you do an "updateCTIRoutePoint" with the Lines to add.

Something like this, in your case:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/1.0">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:updateCTIRoutePoint sequence="?">
         <name>aa%Marktsystemname%</name>
         <lines>
               <lineIdentifier>
               <directoryNumber>234</directoryNumber>
               <routePartitionName>%Marktsystemname%-national</routePartitionName>
            </lineIdentifier>
         </lines>
      </ns:updateCTIRoutePoint>
   </soapenv:Body>
</soapenv:Envelope>

Subject: Re: New Message from Cristina Petre in Administration XML (AXL) - Administr
Replied by: Sascha Monteiro on 04-04-2011 05:03:27 AM
Hi,

This works for me in v6

//addCTIRoutePoint

<routePoint>
<name>thename</name>
<description>thedescription</description>
<product>CTI Route Point</product>
<model>CTI Route Point</model>
<class>CTI Route Point</class>
<protocol>Cisco-station</protocol>
<protocolSide>User</protocolSide>
<callingSearchSpaceName>thecssname</callingSearchSpaceName>
<devicePoolName>thedevicepoolname</devicePoolName>
<locationName>thelocationname</locationName>
<automatedAlternateRoutingCSSName>theaarcssname</automatedAlternateRoutingCSSName>
<lines>
<line index="1">
<label></label>
<display>thedisplay</display>
<dirn>
<pattern>#COL4#</pattern>
<usage></usage>
<routePartitionName>thepartition</routePartitionName>
<alertingName>thealertingname</alertingName>
</dirn>
<ringSetting>Use System Default</ringSetting>
<e164Mask>thee164mask</e164Mask>
<maxNumCalls>2</maxNumCalls>
<busyTrigger>1</busyTrigger>
<callInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</callInfoDisplay>
</line>
</lines>
</routePoint>

Subject: RE: addLine to CTIRoutePoint
Replied by: Cristina Petre on 04-04-2011 08:07:27 AM
Hi all,

thanks for quick reply. I´ve also tried it with updateCTIRoutePoint. First of all i create a Line with addLIne, then the CTIRoutePoint and at least with updateCTIRoutePoint. Enclosed my xml files.

<addLine>
<pattern>234</pattern>
<usage>Route</usage> 
  <routePartitionName>%Marktsystemname%-national</routePartitionName>
</addLine>

<addCTIRoutePoint>
<name>aa%Marktsystemname%</name>
<description>aa%Marktsystemname% %CTIPrefix%07</description>
<productInfo>CTI Route Point</productInfo>
<modelInfo>CTI Route Point</modelInfo>
<class>CTI Route Point</class>
<protocol>SCCP</protocol>
<callingSearchSpaceName>%Marktsystemname%-internal</callingSearchSpaceName>
<devicePoolName>%Marktsystemname%-g711</devicePoolName>
<locationName>%Marktsystemname%</locationName>
<lines>
  <lineIdentifier index="1">
   <directoryNumber>234</directoryNumber>
   <routePartitionName>%Marktsystemname%-national</routePartitionName>
                                </lineIdentifier>
</lines>
    </addCTIRoutePoint>

    <updateCTIRoutePoint>
<name>aa%Marktsystemname%</name>
  
                                                <lines>
   <lineIdentifier>
    <directoryNumber>234</directoryNumber>
    <routePartitionName>%Marktsystemname%-national</routePartitionName>
   </lineIdentifier>
   </lines>

</updateCTIRoutePoint>
</CCMParameter>


I get no errors. DN an CTI Route Point were created but line DN still not assigned to CTIRoutePoint. Where is my failure? !  Thanks in advance for responds.
At least

best regards,
cristina

Subject: RE: addLine to CTIRoutePoint
Replied by: Stefan Schallmeiner on 04-04-2011 09:02:36 AM
Hi Cristina,

actually i tried following in my enviroment with soapui, and it worked (CUCM 7.1):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/1.0">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:updateCTIRoutePoint sequence="?">

         <uuid>{85ad8f59-8b9f-a1b3-200d-b9531bbf57a7}</uuid>

         <lines>
            <lineIdentifier>
               <directoryNumber>29102</directoryNumber>
               <routePartitionName>CENTRAL_1_LINES</routePartitionName>
            </lineIdentifier>
         </lines>
      </ns:updateCTIRoutePoint>
   </soapenv:Body>
</soapenv:Envelope>

But i found some possible errors:  If the line you want associated with some CTIroutepoint is already associated with another device, there should be an error saying something about shared lines not excepted with route points or something. Also as I see now I've done it with the uuid instead of the name, i'll relaunch some tests later.

It would be helpful if you could check if the line you create/have created is somehow associated with a device other then you create in your process,...

kind regards

- Stefan

Subject: RE: addLine to CTIRoutePoint
Replied by: Cristina Petre on 04-04-2011 05:20:35 PM
Hi Cristina,

actually i tried following in my enviroment with soapui, and it worked (CUCM 7.1):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/1.0">
<soapenv:Header/>
<soapenv:Body>
<ns:updateCTIRoutePoint sequence="?">

<uuid>{85ad8f59-8b9f-a1b3-200d-b9531bbf57a7}</uuid>

<lines>
<lineIdentifier>
<directoryNumber>29102</directoryNumber>
<routePartitionName>CENTRAL_1_LINES</routePartitionName>
</lineIdentifier>
</lines>
</ns:updateCTIRoutePoint>
</soapenv:Body>
</soapenv:Envelope>

But i found some possible errors: If the line you want associated with some CTIroutepoint is already associated with another device, there should be an error saying something about shared lines not excepted with route points or something. Also as I see now I've done it with the uuid instead of the name, i'll relaunch some tests later.

It would be helpful if you could check if the line you create/have created is somehow associated with a device other then you create in your process,...

kind regards

- Stefan

 
 
Hi Stefan,
 
thank you very much for your suggestions ;-) when im using soapUi everything works fine. My problem was that im using a tool that translates my xml files into soap messages and that one was the failure. I asked the developer of this tool for the source code but i haven´t received it yet.
 
Many thanks again ;-)
 
best regards,
cristina
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