I have extension 100 (snom 320) and 101 (snom 320) and queue 200. Extension 100 is watched by extension 101 and part of queue 200. If extension 100 is called directly extension 101 can pickup the call via a blinking button on the snom. If extension 100 is called via queue 200 and the blinking button on 101 is pressed 101 sees “declined” in the display and the messages log says
chan_sip.c: Trying to pick up 100@from-internal
app_directed_pickup.c: No target channel found for 100@from-internal.
Important parts of sip.conf:
[general]
sendrpid=pai
context = from-sip-external
notifyringing=yes
notifyhold=yes
notifycid=yes
limitonpeers=yes
call-limit=99
callcounter=yes
counteronpeer=yes
allowsubscribe=yes
[100]
username=100
type=friend
qualify=no
port=5060
pickupgroup=1
nat=no
mailbox=100@default
host=<phone-ip>
fromdomain=my.domain.com
dtmfmode=rfc2833
dial=SIP/100
context=from-internal
canreinvite=no
callgroup=1
callerid=phone 100 <100>
call-limit=6
[101]
username=101
type=friend
qualify=no
port=5060
pickupgroup=1
nat=no
mailbox=101@default
host=<phone-ip>
fromdomain=my.domain.com
dtmfmode=rfc2833
dial=SIP/101
context=from-internal
canreinvite=no
callgroup=1
callerid=phone 101 <101>
call-limit=6
Important parts of extensions.conf:
[from-internal]
include => ext-local
[ext-local]
exten => 100,hint,SIP/100
exten => 101,hint,SIP/101
[ext-queues]
exten => 321,1,Answer
exten => 321,n,Queue(321,t,,,60)
I’m using Asterisk 11.7. I was already playing with notifycid=ignore-context and PICKUPMARK but didn’t get it working. Any idea?