08-08-2006 06:36 AM - edited 03-15-2019 04:25 AM
Dear All.
I'm getting crazy with "addTransPattern" method.
In CCM 4.1 if i send an AXL request like this:
<m:addTransPattern xmlns:m="http://www.cisco.com/AXL/API/1.0" >
<newPattern>
<pattern>00999999955555555.[23456789]XXX</pattern>
<description>TEST Translation</description>
<usage>Translation</usage>
<routePartitionName></routePartitionName>
<blockEnable>false</blockEnable>
<calledPartyTransformationMask></calledPartyTransformationMask>
<callingPartyTransformationMask></callingPartyTransformationMask>
<useCallingPartyPhoneMask>Off</useCallingPartyPhoneMask>
<callingPartyPrefixDigits></callingPartyPrefixDigits>
<dialPlan uuid="{714EAFF8-55C2-11D3-B52D-0008C7C6A4C6}">
<name>NANP</name>
<description>North American Numbering Plan</description>
</dialPlan>
<dialPlanWizardGenId>0</dialPlanWizardGenId>
<digitDiscardInstructionName></digitDiscardInstructionName>
<messageWaiting>Lamp Off</messageWaiting>
<networkLocation>OnNet</networkLocation>
<patternUrgency>true</patternUrgency>
<prefixDigitsOut></prefixDigitsOut>
<routeFilterName></routeFilterName>
<callingLinePresentationBit>Default</callingLinePresentationBit>
<callingNamePresentationBit>Default</callingNamePresentationBit>
<connectedLinePresentationBit>Default</connectedLinePresentationBit>
<connectedNamePresentationBit>Default</connectedNamePresentationBit>
<supportOverlapSending>false</supportOverlapSending>
<patternPrecedence>Default</patternPrecedence>
<releaseCause>No Error</releaseCause>
<allowDeviceOverride>false</allowDeviceOverride>
<provideOutsideDialtone>true</provideOutsideDialtone>
<callingSearchSpaceName></callingSearchSpaceName>
</newPattern>
</m:addTransPattern>
i create translation with success.
BUT
if i send the same request to CCM 4.2 i get this error:
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>
<![CDATA[Unexpected element. <callingSearchSpaceName> is not a valid element of this request type or the sequence of tags is wrong.]]></faultstring>
<detail xmlns:axl="http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cisco.com/AXL/API/1.0 http://DGGMPSCCMTEST/CCMApi/AXL/V1/axlsoap.xsd">
<axl:error sequence="0">
<code>5005</code>
<message>
<![CDATA[Unexpected element. <callingSearchSpaceName> is not a valid element of this request type or the sequence of tags is wrong.]]></message>
<request>addTransPattern</request>
</axl:error>
</detail>
</SOAP-ENV:Fault>
It seems that <callingSearchSpaceName> is not good element. If i remove this tag from my request it says that <callingSearchSpaceName> is needed...
Any hint? Am i wrong? Or this is the latest example of AXL bug in a new CCM version?
Noone is working with CCM 4.2?
Thank you
08-08-2006 11:44 PM
Excuse me.. i was in error because as i can read in "Cisco CallManager 4.2(1) AXL Programming Guide" the "addTransPattern" method was changed.
Now the question is how and where i can find the new definitions for this (and the other) methods....
Anyone knows the right link?
Thanks
08-09-2006 12:28 AM
I managed to get the addTransPattern to work. The only difference with my request and the one you documented above was that I didn't have the value
A dump of the vars I was inserting:
Array ( [newpattern] => Array ( [pattern] => 123XXXX [description] => Test Pattern [usage] => Translation [blockEnable] => false [calledPartyTransformationMask] => 5XXX [callingPartyTransformationMask] => [useCallingPartyPhoneMask] => Off [callingPartyPrefixDigits] => 00 [dialPlan] => Array ( [name] => AUNP [description] => Australia Numbering Plan 1.1(4) [uuid] => {976DBDAF-2D76-41BB-B0DD-75994744AF97} ) [dialPlanWizardGenId] => 0 [digitDiscardInstructionName] => [messageWaiting] => Lamp Off [networkLocation] => OnNet [patternUrgency] => true [prefixDigitsOut] => [routeFilterName] => [callingLinePresentationBit] => Default [callingNamePresentationBit] => Default [connectedLinePresentationBit] => Default [connectedNamePresentationBit] => Default [supportOverlapSending] => false [patternPrecedence] => Default [releaseCause] => No Error [allowDeviceOverride] => false [provideOutsideDialtone] => true [callingSearchSpaceName] => ) )
08-16-2006 12:48 AM
Dear Mr Nathan
Thank you for your message.
Did you test the "addTransPattern" method in CCM 4.2? Does it works?
Thank you.
08-21-2006 07:45 PM
Sorry for the delay. Yes, the addTransPattern was tested in 4.2(1) and it worked fine.
cheers
Nathan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide