Hi,
We are banging our head for pickuping user when they are in a parallel group.
First of all i’ll try to show you how we are doing pickup :
Users are created like that (i hope this is the correct way, is that better to have [extention] instead of [userXXX] ?):
[user001]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
callerid=John Doe <334>
auth=user001
aors=user001
[user001]
type=auth
auth_type=userpass
password=mypassword
username=user001
[user001]
type=aor
max_contacts=3
remove_existing=yes
Here is how we place calls :
For each extention we have the following diaplan :
exten => _334,1,Set(__PICKUPMARK=334)
exten => _334,2,Dial(${PJSIP_DIAL_CONTACTS(user001)},20,tT)
exten => _334,3,VoiceMail(${EXTEN}@to-voicemail)
exten => _334,4,Hangup()
The first line is used for user pickup, with this diaplan :
exten => _*8.,1,Pickup(${EXTEN:2}@PICKUPMARK)
exten => _*8.,n,Hangup()
I guess that all of that is quite usual, then let’s talk about pickuping a user when it is in a group that is ringing.
No problem for sequential groups :
[grp-administratif]
exten => s,1,Set(__PICKUPMARK=325)
same => n,Dial(${PJSIP_DIAL_CONTACTS(user017)},20,tT)
same => n,Set(__PICKUPMARK=309)
same => n,Dial(${PJSIP_DIAL_CONTACTS(user032)},20,tT)
same => n,Set(__PICKUPMARK=306)
same => n,Dial(${PJSIP_DIAL_CONTACTS(user006)},20,tT)
same => n,Set(__PICKUPMARK=322)
But what about parallel groups like that :
exten => s,1,Dial(${PJSIP_DIAL_CONTACTS(306)} & ${PJSIP_DIAL_CONTACTS(322)},20,tT)
here, setting a pickupmark is not a choice, in fact there should have 2 marks !
I guess this could be done with pickuping the group, but we’d like to use the BLF button of the user.
We tried many things but none were ok
How can we do ? How others are doing that ?
Many thanks for you help, tips, remark, …