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

Created by: Jens Lantermann on 04-03-2010 10:01:10 AM
I can insert Route and Translation Pattern into the CUCM.
 
But the "..Numbering Plan" and "..Number Type" are not used like I have inserted.
I tried to insert some  pattern with "national" "ISDN" and "international" "ISDN",but
all the time the CUCM shows me "Cisco Callmanager".
 
My Tags at the AXL Script are :
            <callingPartyNumberingPlan>$textrow[22]</callingPartyNumberingPlan>
            <callingPartyNumberType>$textrow[21]</callingPartyNumberType>
            <calledPartyNumberingPlan>$textrow[29]</calledPartyNumberingPlan>
            <calledPartyNumberType>$textrow[28]</calledPartyNumberType>
 
So I tried to find my mistake and I used a getroutePattern.
The following was send back by the CUCM. Here you can see the entrys of "..Numbering Plan" and "..Number Type" are missing.
 
Why can't I see them and why can't I set them via AXL?
 
$VAR1 = bless( {
                 '_protocol' => 'HTTP/1.1',
                 '_content' => '<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><axl:getRoutePatternResponse xmlns:axl="http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><return><pattern uuid="{9E6AB1C9-4500-9EE9-00CF-96211136ED30}"><pattern>0.11[02]</pattern><description>Notruf</description><usage>Route</usage><routePartitionName>ZPJ_notruf</routePartitionName><blockEnable>false</blockEnable><calledPartyTransformationMask/><callingPartyTransformationMask/><useCallingPartyPhoneMask>Off</useCallingPartyPhoneMask><callingPartyPrefixDigits/><dialPlanWizardGenId>0</dialPlanWizardGenId><messageWaiting>Lamp Off</messageWaiting><networkLocation>OffNet</networkLocation><patternUrgency>false</patternUrgency><prefixDigitsOut/><routeFilterName/><callingLinePresentationBit>Allowed</callingLinePresentationBit><callingNamePresentationBit>Allowed</callingNamePresentationBit><connectedLinePresentationBit>Default</connectedLinePresentationBit><connectedNamePresentationBit>Default</connectedNamePresentationBit><supportOverlapSending>false</supportOverlapSending><patternPrecedence>Default</patternPrecedence><releaseCause>No Error</releaseCause><allowDeviceOverride>false</allowDeviceOverride><provideOutsideDialtone>true</provideOutsideDialtone><destination><routeListName>RL_ZPJ_192.168.178.1</routeListName></destination><authorizationCodeRequired>false</authorizationCodeRequired><authorizationLevelRequired>0</authorizationLevelRequired><clientCodeRequired>false</clientCodeRequired><withTag/><withValueClause/><isdnNSFInfoElement/></pattern></return></axl:getRoutePatternResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>',
                 '_rc' => '200',
                 '_headers' => bless( {
                                        'connection' => 'close',
                                        'client-response-num' => 1,
                                        'accept' => 'text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2',
                                        'set-cookie' => [
                                                          'JSESSIONIDSSO=7B7569B6BFC35E81DDE1462C8799BDB6; Path=/; Secure',
                                                          'JSESSIONID=BE8BAA447D8BF7EAAC72FE3002CCE99B; Path=/axl; Secure'
                                                        ],
                                        'date' => 'Sun, 03 Jan 2010 11:38:26 GMT',
                                        'client-ssl-cert-issuer' => '/CN=CUCMVM/OU=TEST/O=TEST/L=TEST/ST=TEST/C=DE',
                                        'client-ssl-cipher' => 'AES256-SHA',
                                        'client-peer' => '192.168.255.3:8443',
                                        'content-length' => '1756',
                                        'client-date' => 'Wed, 17 Feb 2010 16:29:38 GMT',
                                        'soapaction' => 'CUCMB ver=6.0',
                                        'client-ssl-warning' => 'Peer certificate not verified',
                                        'content-type' => 'text/xml;charset=utf-8',
                                        'client-ssl-cert-subject' => '/CN=CUCMVM/OU=TEST/O=TEST/L=TEST/ST=TEST/C=DE',
                                        'server' => ''
                                      }, 'HTTP::Headers' ),
                 '_msg' => 'OK',
                 '_request' => bless( {
                                        '_content' => '      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
        <SOAP-ENV:Body>
          <axlapi:getRoutePattern xmlns:axlapi="http://www.cisco.com/AXL/API/1.0">
              <getRoutePattern>
        <pattern>0.11[02]</pattern>
        <routePartitionName>ZPJ_notruf</routePartitionName>
    </getRoutePattern>
 
I hope someone can help me!
Thanks to everyone!

Subject: RE: New Route or Translation Pattern
Replied by: David Staudt on 04-03-2010 02:43:49 PM
It looks like those two fields were added as of UCM 7.  Your code is specifying use of the UCM 6.0 schema:
 
'soapaction' => 'CUCMDB ver=6.0',
 
So AXL is ignoring the fields in your request.

Subject: RE: New Route or Translation Pattern
Replied by: Jens Lantermann on 12-03-2010 09:45:12 AM
But the scripts I'm creating are using the AXL schema 7.1.2. How can I initiate the CUCM to use a newer AXL schema?

Subject: RE: New Route or Translation Pattern
Replied by: David Staudt on 12-03-2010 03:00:41 PM
I think you need to modify your code above as:
 
                                        'content-length' => '1756',
                                       
'client-date' => 'Wed, 17 Feb 2010 16:29:38 GMT',
                                       
'soapaction' => 'CUCMB
ver=7.1',
                                       
'client-ssl-warning' => 'Peer certificate not verified',
                                       
'content-type' => 'text/xml;charset=utf-8',

Subject: RE: New Route or Translation Pattern
Replied by: Jens Lantermann on 29-03-2010 10:52:27 AM
Ok! That was the hint I needed. Now everything works fine.
 
Jens
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