<proxy>

USECALLMANAGER.nz

</proxy>

Command Line

The call forward, do not disturb and hunt-group login state of a phone can be viewed and changed using the Asterisk command line. These values can also be changed using SIPPEER options.

sip callforward on link

Sets the call forwarding target.

asterisk*CLI> sip callforward on 301 123456 Call forwarding on '301' set to 123456

sip callforward off link

Clears the call forwarding target.

asterisk*CLI> sip callforward off 301 Call forwarding on '301' cleared

sip donotdisturb on link

Enables do not disturb.

asterisk*CLI> sip donotdisturb on 301 Do Not Disturb on '301' enabled

sip donotdisturb off link

Disables do not disturb.

asterisk*CLI> sip donotdisturb 301 off Do Not Disturb on '301' disabled

sip huntgroup on link

Logs a phone into the hunt-group.

asterisk*CLI> sip huntgroup on 301 Hunt Group login for '301'

sip huntgroup off link

Logs a phone out of the hunt-group.

asterisk*CLI> sip huntgroup off 301 Hunt Group logout for '301'

sip notify cisco-restart link

Does a quick restart of the phone. See SIP Notify Commands for more information.

asterisk*CLI> sip notify cisco-restart 301 Sending NOTIFY of type 'cisco-restart' to '301'

sip notify cisco-reset link

Does full reset of the phone. See SIP Notify Commands for more information.

asterisk*CLI> sip notify cisco-reset 301 Sending NOTIFY of type 'cisco-reset to '301'

sip notify cisco-prt-report link

Tell the phone to upload a problem report. See Phone Services for more information.

asterisk*CLI> sip notify cisco-prt-report 301 Sending NOTIFY of type 'cisco-prt-report to '301'

sip show peer link

SIP peer details now include the call forward, do not disturb, hunt group login state. For Cisco phone peers the device name, firmware versions, subscriptions and any bulk-registered peers will also be shown.

asterisk*CLI> sip show peer 301 * Name : 301 ... DND : Yes CallFwd Ext. : 305 Hunt Group : No Device Name : SEP58971ECC97C1 Active Load : sip8845_65.12-7-1-0001-393 Inactive Load: sip8845_65.12-5-1SR1-4 Subscriptions: 302@extensions 303@extensions BulkReg.Peers: 311 (Line 2) 321 (Line 3)

core show hints link

The presence state of a hint is now included in core show hints.

asterisk*CLI> core show hints Location Hints DeviceState PresenceState Watchers 301@extensions SIP/301,SIP/301 InUse Available 3 302@extensions SIP/302,SIP/303 Idle DND 2 303@extensions SIP/303,SIP/303 Idle Available 0 ...