Call a remote agent from a queue

Hi,

I need reopen this issue:

I have 2 pbx asterisk, and I works with queues like this:

[prueba]
ringinuse=yes
music=default
strategy=leastrecent
timeout=20
retry=1
wrapuptime=0
maxlen = 0
eventwhencalled=yes
member => SIP/100000101302
member => SIP/100000101303

I need add a member that who is in the other pbx. Both are connected with a trunk SIP. I try to add this:

member => SIP/trunk_sip/100000101351

But obviously, it appears Invalid and it doesn’t works:

prueba has 0 calls (max unlimited) in ‘rrmemory’ strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
SIP/trunk/351 (ringinuse enabled) (Invalid) has taken no calls yet
No Callers

Are there any way to make that asterisk execute the call?

Thanks!

There is another parameter that allows you to provide the device that will be used to provide the device state.

Note that if you use SIP/trunk_sip as that device, it will always be called, as Asterisk will be unable to dtetect busy until it actually tries the call.

Thanks for the reply.

What is the parameter of what you are talking about? I will try to see if it is the operation I need.

state_interface in the member specification.

Can you give me an example? I don’t find anything about this…

https://wiki.asterisk.org/wiki/display/AST/Building+Queues

and of course, the main documentation: https://github.com/asterisk/asterisk/blob/master/configs/samples/queues.conf.sample which you should already have.

You can also get invalid if you load the queues module before the SIP one, but that should resolve on doing a reload for the queues.

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