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

listCallingPartyTransformationPattern not returning results when searching for E.164 pattern

stephan.steiner
Spotlight
Spotlight

I've started working with Calling Transformation Patterns and ran into a snag.

When I search with pattern=%, it returns all my patterns. 

Request

POST https://chdevcucm105.nxodev.intra/axl/ HTTP/1.1
Host: chdevcucm105.nxodev.intra
Authorization: Basic noneofyerbiz
Connection: close
Cookie: JSESSIONID=D3112DE02DE867333163645E032EAB1C; JSESSIONIDSSO=9E8C10DA642545442E63D3E6DE663810
Content-Type: text/xml; charset=utf-8
SOAPAction: CUCM:DB ver=11.5 listCallingPartyTransformationPattern
Content-Length: 472

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
	<soapenv:Header/>
	<soapenv:Body>
		<ns:listCallingPartyTransformationPattern sequence="0">
			<searchCriteria>
				<pattern>%</pattern>
			</searchCriteria>
			<returnedTags>
				<pattern/>
				<description/>
				<routePartitionName/>
				<callingPartyTransformationMask/>
				<callingPartyPrefixDigits/>
			</returnedTags>
		</ns:listCallingPartyTransformationPattern>
	</soapenv:Body>
</soapenv:Envelope>

Response (where I've removed all but the one I care about)

 

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:listCallingPartyTransformationPatternResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5">
			<return>
				<callingPartyTransformationPattern uuid="{B05D2DD2-7244-5342-FB47-E1DC1CF1D1BB}">
					<pattern>\+41995557614</pattern>
					<description/>
					<routePartitionName uuid="{A3AA3E27-5099-FBE6-C350-51B607BDFA01}">P_Local2Global_CLN_Xform</routePartitionName>
					<callingPartyTransformationMask>+41587777614</callingPartyTransformationMask>
					<callingPartyPrefixDigits/>
				</callingPartyTransformationPattern>
			</return>
		</ns:listCallingPartyTransformationPatternResponse>
	</soapenv:Body>
</soapenv:Envelope>

If I now change my list to search for just that pattern

POST https://chdevcucm105.nxodev.intra/axl/ HTTP/1.1
Host: chdevcucm105.nxodev.intra
Authorization: Basic noneofyerbiz
Connection: close
Cookie: JSESSIONID=D3112DE02DE867333163645E032EAB1C; JSESSIONIDSSO=9E8C10DA642545442E63D3E6DE663810
Content-Type: text/xml; charset=utf-8
SOAPAction: CUCM:DB ver=11.5 listCallingPartyTransformationPattern
Content-Length: 483

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
	<soapenv:Header/>
	<soapenv:Body>
		<ns:listCallingPartyTransformationPattern sequence="0">
			<searchCriteria>
				<pattern>+41995557614</pattern>
			</searchCriteria>
			<returnedTags>
				<pattern/>
				<description/>
				<routePartitionName/>
				<callingPartyTransformationMask/>
				<callingPartyPrefixDigits/>
			</returnedTags>
		</ns:listCallingPartyTransformationPattern>
	</soapenv:Body>
</soapenv:Envelope>

It's not being returned

<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:listCallingPartyTransformationPatternResponse xmlns:ns="http://www.cisco.com/AXL/API/11.5">
			<return/>
		</ns:listCallingPartyTransformationPatternResponse>
	</soapenv:Body>
</soapenv:Envelope>

Then I thought.. the pattern starts with a \ in ccmadmin, so I made the same request, just adding a \ before the +. But same result.

 

If I search for any of my non E.164 patterns, it works just fine so I know the request as such is okay.

 

Have I found my first bug in 2021?

Environment: 11.5.1.18900-97

0 Replies 0