PJSIP_DIAL_CONTACTS info related to Local channel in Queue

If I want to make use of PJSIP_DIAL_CONTACTS in a queue, I will need to make use of Local channel but a local channel you can specify a state_interface.

Which contact does the state_interface reference if you have multiple devices connecting to the same PJSIP endpoint?

Regards

The PJSIP endpoint. If any contact is available, then it’ll be available.

Thank you.

  Aor:  <Aor..............................................>  <MaxContact>
Contact:  <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..>

  Aor:  1113                                                10
Contact:  1113/sip:1113@xx.xx.xx.xx:33260             26b39f04ae Unavail         nan
Contact:  1113/sip:1113@xx.xx.xx.xx:38084             81f52e025d Avail       406.654
Contact:  1113/sip:1113@xx.xx.xx.xx:48353            9af10564c4 Unavail         nan

Because 1 out of the 3 is available it will show in the queue. This does give me new ideas for my Asterisk Realtime PBX system.

I have been doing some testing and I now has a issue with trying to pause users that are in a Local channel in the queue via the AMI interface.
I specified the state_interface for the Queue member but trying to pause based on the state_interface didn’t pause the member.

Pause is based on the normal interface, not the state interface.

Related to making use of PJSIP_DIAL_CONTACTS how will the application ChanIsAvail work in regarding using it.

  • It does work as expected. I wasn’t sure if it would see one device busy and the other not.