forked from usecallmanagernz/usecallmanagernz.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsippeer-options.html
More file actions
132 lines (126 loc) · 7.3 KB
/
sippeer-options.html
File metadata and controls
132 lines (126 loc) · 7.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html>
<head>
<title>SIPPEER Options</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="includes/theme.css">
<link rel="stylesheet" type="text/css" href="includes/prettify.css">
<script type="text/javascript" src="includes/jquery.js"></script>
<script type="text/javascript" src="includes/prettify.js"></script>
<script type="text/javascript" src="includes/lang-astexten.js"></script>
<script type="text/javascript">
jQuery (window).on ("load", function () {
prettyPrint ();
});
</script>
</head>
<body>
<header>
<img src="images/logo.png">
<h2><<span>proxy</span>></h2><h1><span>USECALLMANAGER</span>.nz</h1><h2></<span>proxy</span>></h2>
</header>
<main>
<nav>
<ul>
<li><span class="icon">home</span> <a href="document-overview.html">Document Overview</a></li>
<li><span class="icon">build</span> <a href="patching-asterisk.html">Patching Asterisk</a></li>
</ul>
<ul>
<li><h3>Network Configuration</h3></li>
<li><span class="icon">settings_ethernet</span> <a href="dhcpd-conf.html">DHCP Options</a></li>
<li><span class="icon">file_download</span> <a href="apache-conf.html">HTTP Provisioning</a></li>
<li><span class="icon">file_download</span> <a href="tftpd-conf.html">TFTP Provisioning</a></li>
</ul>
<ul>
<li><h3>Phone Configuration</h3></li>
<li><span class="icon">settings_phone</span> <a href="sepmac-cnf-xml.html">SEPMAC.cnf.xml</a></li>
<li><span class="icon">dialpad</span> <a href="dial-template-xml.html">Dial Templates</a></li>
<li><span class="icon">import_contacts</span> <a href="app-dial-rules-xml.html">Application Dial Rules</a></li>
<li><span class="icon">power_input</span> <a href="soft-keys-xml.html">Soft Keys</a></li>
<li><span class="icon">format_list_bulleted</span> <a href="line-keys-xml.html">Line Keys</a></li>
<li><span class="icon">done</span> <a href="feature-policy-xml.html">Feature Policy</a></li>
<li><span class="icon">language</span> <a href="network-locale.html">Network Locale</a></li>
<li><span class="icon">face</span> <a href="user-locale.html">User Locale</a></li>
<li><span class="icon">file_upload</span> <a href="load-information.html">Firmware Load Information</a></li>
<li><span class="icon">wallpaper</span> <a href="image-list-xml.html">Background Images</a></li>
<li><span class="icon">ring_volume</span> <a href="ring-list-xml.html">Ring Tones</a></li>
<li><span class="icon">security</span> <a href="itl-file-tlv.html">Device Security</a></li>
<li><span class="icon">vpn_key</span> <a href="vpn-group.html">VPN Connection</a></li>
</ul>
<ul>
<li><h3>Asterisk Configuration</h3></li>
<li><span class="icon">dialer_sip</span> <a href="sip-conf.html">SIP Peers</a></li>
<li><span class="icon">settings_power</span> <a href="sip-notify-conf.html">SIP Notify Commands</a></li>
<li><span class="icon">format_list_numbered</span> <a href="extensions-conf.html">Dialplan Extensions</a></li>
<li><span class="icon">local_parking</span> <a href="res-parking-conf.html">Call Parking</a></li>
<li><span class="icon selected">code</span> <b>SIPPEER Options</b></li>
<li><span class="icon">volume_up</span> <a href="rtp-streaming.html">RTP Streaming</a></li>
<li><span class="icon">keyboard_arrow_right</span> <a href="command-line.html">Command Line</a></li>
</ul>
<ul>
<li><h3>XML Services</h3></li>
<li><span class="icon">settings</span> <a href="phone-services-xml.html">Phone Services</a></li>
<li><span class="icon">phone_forwarded</span> <a href="cgi-execute-xml.html">CGI Execute</a></li>
</ul>
<ul>
<li><h3>Additional Features</h3></li>
<li><span class="icon">extension</span> <a href="as-feature-events.html">AS Feature Events</a></li>
</ul>
</nav>
<article>
<h1>SIPPEER Options</h1>
New options have been added to the ${<code class="literal">SIPPEER</code>()} function that reflect the current status of call-forwarding, do not disturb and hunt-group login. Writing to the function will automatically update the phone's display. These settings can also be changed using the <a href="command-line.html">command line</a> interface. Read-only information about the registered device is also provided.<br>
<br>
<h2 id="callforward">callforward</h2>
Contains the call-forwarding target.<br>
<br>
<code class="prettify lang-astexten">; Show the current target
exten => _X.,1,NoOp(Call Forward: ${SIPPEER(${CHANNEL(peername)},callforward)})
; Set call forwarding target
exten => _X.,1,Set(SIPPEER(${CHANNEL(peername)},callforward)=${TARGET});
; Clear call forwarding target
exten => _X.,1,Set(SIPPEER(${CHANNEL(peername)},callforward)=);</code>
<br>
<h2 id="donotdisturb">donotdisturb</h2>
Whether the phone has set do not disturb or not.<br>
<br>
<code class="prettify lang-astexten">; Show the current status
exten => _X.,1,NoOp(Do Not Disturb: ${SIPPEER(${CHANNEL(peername)},donotdisturb)})
; Enables do not disturb
exten => _X.,1,Set(SIPPEER(${CHANNEL(peername)},donotdisturb)=yes);
; Disables do not disutrb
exten => _X.,1,Set(SIPPEER(${CHANNEL(peername)},donotdisturb)=no);</code>
<br>
<h2 id="huntgroup">huntgroup</h2>
Whether the phone has logged into the hunt-group.<br>
<br>
<code class="prettify lang-astexten">; Show the current status
exten => _X.,1,NoOp(Hunt Group Login: ${SIPPEER(${CHANNEL(peername)},huntgroup)})
; Login to hunt group
exten => _X.,1,Set(SIPPEER(${CHANNEL(peername)},huntgroup)=yes);
; Logout from hunt group
exten => _X.,1,Set(SIPPEER(${CHANNEL(peername)},huntgroup)=no);</code>
<br>
<h2 id="regcallid">regcallid</h2>
The SIP Call-ID of the REGISTER dialog, used when restaring or resetting the phone via <a href="sip-notify-conf.html">SIP Notify Commands</a>. <b>Note</b>: this item is read-only.<br>
<br>
<code class="prettify lang-astexten">; Show the REGISTER Call-ID
exten => _X.,1,NoOp(Register Call-ID: ${SIPPEER(${CHANNEL(peername)},regcallid)})</code>
<br>
<h2 id="regcallid">ciscodevicename</h2>
The device name provided in the Contact header when the phone registered. <b>Note</b>: this item is read-only.<br>
<br>
<code class="prettify lang-astexten">; Show the Device Name
exten => _X.,1,NoOp(Device Name: ${SIPPEER(${CHANNEL(peername)},ciscodevicename)})</code>
<br>
<h2 id="regcallid">ciscolineindex</h2>
The line index assigned to the phone. Used to determine if the peer has been registered as a secondary line. <b>Note</b>: this item is read-only.<br>
<br>
<code class="prettify lang-astexten">; Show the Line Index
exten => _X.,1,NoOp(Line Index: ${SIPPEER(${CHANNEL(peername)},ciscolineindex)})</code>
</article>
</main>
<footer></footer>
</body>
</html>