вот интересная вещь.
переустановил астериск.
сделал новый pjsip.conf, вот такой:
[udp-transport]
type=transport
protocol=udp
bind=0.0.0.0:5060
[777]
type=endpoint
context=from-internal
disallow=all
allow=alaw
allow=ulaw
transport=udp-transport
auth=auth777
aors=777
directmedia=no
[auth777]
type=auth
auth_type=userpass
password=777
username=777
[777]
type=aor
max_contacts=10
[888]
type=endpoint
context=from-internal
disallow=all
allow=alaw
allow=ulaw
transport=udp-transport
auth=auth888
aors=888
directmedia=no
[auth888]
type=auth
auth_type=userpass
password=888
username=888
[888]
type=aor
max_contacts=10
[999]
type=endpoint
context=from-internal
disallow=all
allow=alaw
allow=ulaw
transport=udp-transport
auth=auth999
aors=999
directmedia=no
[auth999]
type=auth
auth_type=userpass
password=999
username=999
[999]
type=aor
max_contacts=10
[666]
type=endpoint
context=from-internal
disallow=all
allow=alaw
allow=ulaw
transport=udp-transport
auth=auth666
aors=666
directmedia=no
[auth666]
type=auth
auth_type=userpass
password=666
username=666
[666]
type=aor
max_contacts=10
просто взял, скопировал настройки
777, для остальных номеров. Пользователь 777 подключается, с этой же программы, просто меняю 777 на 999 или на 666, всё ошибка,
[Apr 1 11:00:07] NOTICE[128575]: res_pjsip/pjsip_distributor.c:672 log_failed_request: Request 'SUBSCRIBE' from '"PhonerLite" <sip:999@192.168.55.20>' failed for '192.168.55.15:63589' (callid: 809902AB-AE53-E911-9251-14509B80793A@192.168.55.15) - No matching endpoint found
[Apr 1 11:00:07] NOTICE[128575]: res_pjsip/pjsip_distributor.c:672 log_failed_request: Request 'SUBSCRIBE' from '"PhonerLite" <sip:999@192.168.55.20>' failed for '192.168.55.15:63589' (callid: 809902AB-AE53-E911-9251-14509B80793A@192.168.55.15) - No matching endpoint found
[Apr 1 11:00:07] NOTICE[128575]: res_pjsip/pjsip_distributor.c:672 log_failed_request: Request 'SUBSCRIBE' from '"PhonerLite" <sip:999@192.168.55.20>' failed for '192.168.55.15:63589' (callid: 809902AB-AE53-E911-9251-14509B80793A@192.168.55.15) - Failed to authenticate
[Apr 1 11:00:07] NOTICE[128575]: res_pjsip/pjsip_distributor.c:672 log_failed_request: Request 'SUBSCRIBE' from '"PhonerLite" <sip:999@192.168.55.20>' failed for '192.168.55.15:63589' (callid: 809902AB-AE53-E911-9251-14509B80793A@192.168.55.15) - No matching endpoint found
[Apr 1 11:00:07] NOTICE[128575]: res_pjsip/pjsip_distributor.c:672 log_failed_request: Request 'SUBSCRIBE' from '"PhonerLite" <sip:999@192.168.55.20>' failed for '192.168.55.15:63589' (callid: 809902AB-AE53-E911-9251-14509B80793A@192.168.55.15) - Failed to authenticate
[Apr 1 11:00:07] NOTICE[128575]: res_pjsip/pjsip_distributor.c:672 log_failed_request: Request 'SUBSCRIBE' from '"PhonerLite" <sip:999@192.168.55.20>' failed for '192.168.55.15:63589' (callid: 809902AB-AE53-E911-9251-14509B80793A@192.168.55.15) - No matching endpoint found
меняю снова на 777 или 888, всё ОК.
Как такое может быть?