AF
Asterisk Forum
обсуждения телефонии, VoIP и IP-PBX
12разделов
5 423тем
34 385сообщений
← К списку тем

spa500 console + asterisk

Asterisk GUI 1 сообщений -
#1

Здравствуйте elastix
сделал все по хелпу, кроме екстеншн.конф
https://supportforums.cisco.com/docs/DOC-9958/
консоль не отображает выключенный телефон
Код:
The sip.conf File
Following is a sample of the minimum sip.conf content to support a SPA500S monitoring extension 5251:
[general]


;
;SPA500S specific edits #1 start here
allowsubscribe=yes ;allow SPA500S to subscribe to extension status
notifyringing=yes ;notify SPA500S when phones ring
limitonpeer=yes ; notify SPA500S of device status via SIP subscriptions
notifyhold=yes ; notify SPA500S of call hold state
;SPA500S specific edits #1 end here
;


;
[5251]
type=friend
nat=no
secret=5251secret
context=PhoneUsers
host=dynamic
regext=5251
;SPA500S specific edits #2 start here
subscribecontext=PhoneUsers ; look for hint in PhoneUsers context
call-limit=10 ; required to allow Asterisk to properly track ext status
callgroup=1 ; assign to call group so SPA500S can pickup calls
pickupgroup=1 ; allow SPA500S to pick up calls
;SPA500S specific edits #2 end here

как добавить этот subscribecontext=from-internal
в sip_custom.conf

и второй вопросик. если телефон будет в днд консоль покажет мне?