Asterisk queue members with forwarding

Hi,

I add queue members either with AddQueueMember() in the dialplan or via AGI.

Suppose I have something like this:

# asterisk -rx "queue show q7016" | grep 4061
      Operator 4061 (PJSIP/sipd4061) with penalty 2 (ringinuse enabled) (dynamic) (Not in use) has taken 2 calls (last was 99450 secs ago) (login was 414844 secs ago)

I also have call forwarding data in my DB that I use in my dialplan conditionally, such as:

# asterisk -rx "database show" | grep '/CF/4061'
/CF/4061                                          : 91102

When calling a queue I guess the Queue application will try to contact the 4061 endpoint via SIP, period.
How can I honor call forwarding data (in this case, calls to 4061 should be sent to 91102)?

Instead of adding SIP members to the Queue, should I be adding with “Local”?
How would that work?

Regards

You would use a Local channel that dials the dialplan. We’re unaware of what your dialplan is like, so we can’t really give specifics. An example though would be:

Local/1000@internal

Which would call extension “1000” in the dialplan of context “internal”.

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.