04-12-2022 10:01 AM
In ccmadmin, when I search for transpatterns whose description contains 'abc', and I have a transpattern whose description that contains 'ABC', I get a match.
If I do listTransPattern with <searchCriteria><description>%abc%</description></searchCriteria>, I get 0 matches - the case has to match. Is there anything I can do about that?
04-12-2022 11:01 AM
I'm seeing the same thing on CUCM v14. Checking some other <listXXX> requests, though, the wildcard search on <description> elements works fine - so maybe a limitation/defect on <listTransPattern>..?
I couldn't find a workaround other than going to SQL:
select dnorpattern,description from numplan where LOWER(description) like LOWER('%Test%') and tkpatternusage = 3
04-20-2022 12:58 AM - edited 04-20-2022 12:58 AM
I know SQL is always a solution, but then I have to manually extract all these transpatterns. Imagine the request leading to 10 results.. so instead of a single list request, you now have 11 AXL requests.
So, it's a bug then if it works on other list requests, right?
04-20-2022 09:50 AM
You can of course extend the SQL query to retrieve additional data, but that of course may be tricky and require some R&D/trial&error if you need all of the data from listTransPattern and that requires a bunch of joins...
Not the final arbiter on what's deemed a defect, but I would argue this kind of inconsistency meets the definition.
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