cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
266
Views
0
Helpful
5
Replies
Beginner

Dynamic PQ Custom Function

Hey everyone, I am trying to create a custom function that will ultimately announce the number of callers in a particular queue.  We have 39 different queues with a naming convention of "Queue1, queue 2..."  where the numerical value is the only difference in queue names.  As opposed of creating 39 different if checks I was exploring the use of custom functions, and am getting mixed reviews on whether it is possible to do via custom function.  We are running v10.5 currently.  Ultimately I would like something like:

 

if PV2 = Queue%1%, set PV8 = Queue%1%,CallsInQ+1

 

Any assistance would be greatly appreciated. 

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Collaborator

Re: Dynamic PQ Custom Function

Not possible, unfortunately you can't generate the name of an object on the fly. Maybe just one big custom function with all the PQs in it and use a index to get the right number. This idea is untested and really I've not considered much beyond these few seconds, but it could work in theory.

 

david

5 REPLIES
Collaborator

Re: Dynamic PQ Custom Function

Not possible, unfortunately you can't generate the name of an object on the fly. Maybe just one big custom function with all the PQs in it and use a index to get the right number. This idea is untested and really I've not considered much beyond these few seconds, but it could work in theory.

 

david

Beginner

Re: Dynamic PQ Custom Function

Thanks David.  We are upgrading to 11.5 in a few months.  I assume that functionality was not added in that version either?

Highlighted
Enthusiast

Re: Dynamic PQ Custom Function

Chad,

Reach out to me offline... I have a solution that could possibly work.

Collaborator

Re: Dynamic PQ Custom Function

You tease! Care to share this with a wider audience? This type of request comes up often for me.

 

david

Enthusiast

Re: Dynamic PQ Custom Function

Hey David... I'll work with Chad offline and if our solution works, I'll definitely share with you. Your website has helped me a lot over the years... it's only fair :)
CreatePlease to create content
Ask the Expert- Firepower configuration & troubleshooting