res_pjsip: Symmetric transports
[asterisk/asterisk.git] / res / res_pjsip.c
1 /*
2  * Asterisk -- An open source telephony toolkit.
3  *
4  * Copyright (C) 2013, Digium, Inc.
5  *
6  * Mark Michelson <mmichelson@digium.com>
7  *
8  * See http://www.asterisk.org for more information about
9  * the Asterisk project. Please do not directly contact
10  * any of the maintainers of this project for assistance;
11  * the project provides a web site, mailing lists and IRC
12  * channels for your use.
13  *
14  * This program is free software, distributed under the terms of
15  * the GNU General Public License Version 2. See the LICENSE file
16  * at the top of the source tree.
17  */
18
19 #include "asterisk.h"
20
21 #include <pjsip.h>
22 /* Needed for SUBSCRIBE, NOTIFY, and PUBLISH method definitions */
23 #include <pjsip_simple.h>
24 #include <pjsip/sip_transaction.h>
25 #include <pj/timer.h>
26 #include <pjlib.h>
27 #include <pjmedia/errno.h>
28
29 #include "asterisk/res_pjsip.h"
30 #include "res_pjsip/include/res_pjsip_private.h"
31 #include "asterisk/linkedlists.h"
32 #include "asterisk/logger.h"
33 #include "asterisk/lock.h"
34 #include "asterisk/utils.h"
35 #include "asterisk/astobj2.h"
36 #include "asterisk/module.h"
37 #include "asterisk/threadpool.h"
38 #include "asterisk/taskprocessor.h"
39 #include "asterisk/uuid.h"
40 #include "asterisk/sorcery.h"
41 #include "asterisk/file.h"
42 #include "asterisk/cli.h"
43 #include "asterisk/res_pjsip_cli.h"
44 #include "asterisk/test.h"
45 #include "asterisk/res_pjsip_presence_xml.h"
46 #include "asterisk/res_pjproject.h"
47
48 /*** MODULEINFO
49         <depend>pjproject</depend>
50         <depend>res_pjproject</depend>
51         <depend>res_sorcery_config</depend>
52         <depend>res_sorcery_memory</depend>
53         <depend>res_sorcery_astdb</depend>
54         <support_level>core</support_level>
55  ***/
56
57 /*** DOCUMENTATION
58         <configInfo name="res_pjsip" language="en_US">
59                 <synopsis>SIP Resource using PJProject</synopsis>
60                 <configFile name="pjsip.conf">
61                         <configObject name="endpoint">
62                                 <synopsis>Endpoint</synopsis>
63                                 <description><para>
64                                         The <emphasis>Endpoint</emphasis> is the primary configuration object.
65                                         It contains the core SIP related options only, endpoints are <emphasis>NOT</emphasis>
66                                         dialable entries of their own. Communication with another SIP device is
67                                         accomplished via Addresses of Record (AoRs) which have one or more
68                                         contacts assicated with them. Endpoints <emphasis>NOT</emphasis> configured to
69                                         use a <literal>transport</literal> will default to first transport found
70                                         in <filename>pjsip.conf</filename> that matches its type.
71                                         </para>
72                                         <para>Example: An Endpoint has been configured with no transport.
73                                         When it comes time to call an AoR, PJSIP will find the
74                                         first transport that matches the type. A SIP URI of <literal>sip:5000@[11::33]</literal>
75                                         will use the first IPv6 transport and try to send the request.
76                                         </para>
77                                         <para>If the anonymous endpoint identifier is in use an endpoint with the name
78                                         "anonymous@domain" will be searched for as a last resort. If this is not found
79                                         it will fall back to searching for "anonymous". If neither endpoints are found
80                                         the anonymous endpoint identifier will not return an endpoint and anonymous
81                                         calling will not be possible.
82                                         </para>
83                                 </description>
84                                 <configOption name="100rel" default="yes">
85                                         <synopsis>Allow support for RFC3262 provisional ACK tags</synopsis>
86                                         <description>
87                                                 <enumlist>
88                                                         <enum name="no" />
89                                                         <enum name="required" />
90                                                         <enum name="yes" />
91                                                 </enumlist>
92                                         </description>
93                                 </configOption>
94                                 <configOption name="aggregate_mwi" default="yes">
95                                         <synopsis>Condense MWI notifications into a single NOTIFY.</synopsis>
96                                         <description><para>When enabled, <replaceable>aggregate_mwi</replaceable> condenses message
97                                         waiting notifications from multiple mailboxes into a single NOTIFY. If it is disabled,
98                                         individual NOTIFYs are sent for each mailbox.</para></description>
99                                 </configOption>
100                                 <configOption name="allow">
101                                         <synopsis>Media Codec(s) to allow</synopsis>
102                                 </configOption>
103                                 <configOption name="aors">
104                                         <synopsis>AoR(s) to be used with the endpoint</synopsis>
105                                         <description><para>
106                                                 List of comma separated AoRs that the endpoint should be associated with.
107                                         </para></description>
108                                 </configOption>
109                                 <configOption name="auth">
110                                         <synopsis>Authentication Object(s) associated with the endpoint</synopsis>
111                                         <description><para>
112                                                 This is a comma-delimited list of <replaceable>auth</replaceable> sections defined
113                                                 in <filename>pjsip.conf</filename> to be used to verify inbound connection attempts.
114                                                 </para><para>
115                                                 Endpoints without an authentication object
116                                                 configured will allow connections without verification.</para>
117                                                 <note><para>
118                                                 Using the same auth section for inbound and outbound
119                                                 authentication is not recommended.  There is a difference in
120                                                 meaning for an empty realm setting between inbound and outbound
121                                                 authentication uses.  See the auth realm description for details.
122                                                 </para></note>
123                                         </description>
124                                 </configOption>
125                                 <configOption name="callerid">
126                                         <synopsis>CallerID information for the endpoint</synopsis>
127                                         <description><para>
128                                                 Must be in the format <literal>Name &lt;Number&gt;</literal>,
129                                                 or only <literal>&lt;Number&gt;</literal>.
130                                         </para></description>
131                                 </configOption>
132                                 <configOption name="callerid_privacy">
133                                         <synopsis>Default privacy level</synopsis>
134                                         <description>
135                                                 <enumlist>
136                                                         <enum name="allowed_not_screened" />
137                                                         <enum name="allowed_passed_screen" />
138                                                         <enum name="allowed_failed_screen" />
139                                                         <enum name="allowed" />
140                                                         <enum name="prohib_not_screened" />
141                                                         <enum name="prohib_passed_screen" />
142                                                         <enum name="prohib_failed_screen" />
143                                                         <enum name="prohib" />
144                                                         <enum name="unavailable" />
145                                                 </enumlist>
146                                         </description>
147                                 </configOption>
148                                 <configOption name="callerid_tag">
149                                         <synopsis>Internal id_tag for the endpoint</synopsis>
150                                 </configOption>
151                                 <configOption name="context">
152                                         <synopsis>Dialplan context for inbound sessions</synopsis>
153                                 </configOption>
154                                 <configOption name="direct_media_glare_mitigation" default="none">
155                                         <synopsis>Mitigation of direct media (re)INVITE glare</synopsis>
156                                         <description>
157                                                 <para>
158                                                 This setting attempts to avoid creating INVITE glare scenarios
159                                                 by disabling direct media reINVITEs in one direction thereby allowing
160                                                 designated servers (according to this option) to initiate direct
161                                                 media reINVITEs without contention and significantly reducing call
162                                                 setup time.
163                                                 </para>
164                                                 <para>
165                                                 A more detailed description of how this option functions can be found on
166                                                 the Asterisk wiki https://wiki.asterisk.org/wiki/display/AST/SIP+Direct+Media+Reinvite+Glare+Avoidance
167                                                 </para>
168                                                 <enumlist>
169                                                         <enum name="none" />
170                                                         <enum name="outgoing" />
171                                                         <enum name="incoming" />
172                                                 </enumlist>
173                                         </description>
174                                 </configOption>
175                                 <configOption name="direct_media_method" default="invite">
176                                         <synopsis>Direct Media method type</synopsis>
177                                         <description>
178                                                 <para>Method for setting up Direct Media between endpoints.</para>
179                                                 <enumlist>
180                                                         <enum name="invite" />
181                                                         <enum name="reinvite">
182                                                                 <para>Alias for the <literal>invite</literal> value.</para>
183                                                         </enum>
184                                                         <enum name="update" />
185                                                 </enumlist>
186                                         </description>
187                                 </configOption>
188                                 <configOption name="connected_line_method" default="invite">
189                                         <synopsis>Connected line method type</synopsis>
190                                         <description>
191                                                 <para>Method used when updating connected line information.</para>
192                                                 <enumlist>
193                                                         <enum name="invite" />
194                                                         <enum name="reinvite">
195                                                                 <para>Alias for the <literal>invite</literal> value.</para>
196                                                         </enum>
197                                                         <enum name="update" />
198                                                 </enumlist>
199                                         </description>
200                                 </configOption>
201                                 <configOption name="direct_media" default="yes">
202                                         <synopsis>Determines whether media may flow directly between endpoints.</synopsis>
203                                 </configOption>
204                                 <configOption name="disable_direct_media_on_nat" default="no">
205                                         <synopsis>Disable direct media session refreshes when NAT obstructs the media session</synopsis>
206                                 </configOption>
207                                 <configOption name="disallow">
208                                         <synopsis>Media Codec(s) to disallow</synopsis>
209                                 </configOption>
210                                 <configOption name="dtmf_mode" default="rfc4733">
211                                         <synopsis>DTMF mode</synopsis>
212                                         <description>
213                                                 <para>This setting allows to choose the DTMF mode for endpoint communication.</para>
214                                                 <enumlist>
215                                                         <enum name="rfc4733">
216                                                                 <para>DTMF is sent out of band of the main audio stream.  This
217                                                                 supercedes the older <emphasis>RFC-2833</emphasis> used within
218                                                                 the older <literal>chan_sip</literal>.</para>
219                                                         </enum>
220                                                         <enum name="inband">
221                                                                 <para>DTMF is sent as part of audio stream.</para>
222                                                         </enum>
223                                                         <enum name="info">
224                                                                 <para>DTMF is sent as SIP INFO packets.</para>
225                                                         </enum>
226                                                         <enum name="auto">
227                                                                 <para>DTMF is sent as RFC 4733 if the other side supports it or as INBAND if not.</para>
228                                                         </enum>
229                                                 </enumlist>
230                                         </description>
231                                 </configOption>
232                                 <configOption name="media_address">
233                                         <synopsis>IP address used in SDP for media handling</synopsis>
234                                         <description><para>
235                                                 At the time of SDP creation, the IP address defined here will be used as
236                                                 the media address for individual streams in the SDP.
237                                         </para>
238                                         <note><para>
239                                                 Be aware that the <literal>external_media_address</literal> option, set in Transport
240                                                 configuration, can also affect the final media address used in the SDP.
241                                         </para></note>
242                                         </description>
243                                 </configOption>
244                                 <configOption name="bind_rtp_to_media_address">
245                                         <synopsis>Bind the RTP instance to the media_address</synopsis>
246                                         <description><para>
247                                                 If media_address is specified, this option causes the RTP instance to be bound to the
248                                                 specified ip address which causes the packets to be sent from that address.
249                                         </para>
250                                         </description>
251                                 </configOption>
252                                 <configOption name="force_rport" default="yes">
253                                         <synopsis>Force use of return port</synopsis>
254                                 </configOption>
255                                 <configOption name="ice_support" default="no">
256                                         <synopsis>Enable the ICE mechanism to help traverse NAT</synopsis>
257                                 </configOption>
258                                 <configOption name="identify_by" default="username,location">
259                                         <synopsis>Way(s) for Endpoint to be identified</synopsis>
260                                         <description><para>
261                                                 Endpoints and aors can be identified in multiple ways. Currently, the supported
262                                                 options are <literal>username</literal>, which matches the endpoint or aor id based on
263                                                 the username and domain in the From header (or To header for aors), and
264                                                 <literal>auth_username</literal>, which matches the endpoint or aor id based on the
265                                                 username and realm in the Authentication header.  In all cases, if an exact match
266                                                 on both username and domain/realm fails, the match will be retried with just the username.
267                                                 </para>
268                                                 <note><para>
269                                                 Identification by auth_username has some security considerations because an
270                                                 Authentication header is not present on the first message of a dialog when
271                                                 digest authentication is used.  The client can't generate it until the server
272                                                 sends the challenge in a 401 response.  Since Asterisk normally sends a security
273                                                 event when an incoming request can't be matched to an endpoint, using auth_username
274                                                 requires that the security event be deferred until a request is received with
275                                                 the Authentication header and only generated if the username doesn't result in a
276                                                 match.  This may result in a delay before an attack is recognized.  You can control
277                                                 how many unmatched requests are received from a single ip address before a security
278                                                 event is generated using the unidentified_request parameters in the "global"
279                                                 configuration object.
280                                                 </para></note>
281                                                 <note><para>Endpoints can also be identified by IP address; however, that method
282                                                 of identification is not handled by this configuration option. See the documentation
283                                                 for the <literal>identify</literal> configuration section for more details on that
284                                                 method of endpoint identification. If this option is set and an <literal>identify</literal>
285                                                 configuration section exists for the endpoint, then the endpoint can be identified in
286                                                 multiple ways.</para></note>
287                                                 <enumlist>
288                                                         <enum name="username" />
289                                                         <enum name="auth_username" />
290                                                 </enumlist>
291                                         </description>
292                                 </configOption>
293                                 <configOption name="redirect_method">
294                                         <synopsis>How redirects received from an endpoint are handled</synopsis>
295                                         <description><para>
296                                                 When a redirect is received from an endpoint there are multiple ways it can be handled.
297                                                 If this option is set to <literal>user</literal> the user portion of the redirect target
298                                                 is treated as an extension within the dialplan and dialed using a Local channel. If this option
299                                                 is set to <literal>uri_core</literal> the target URI is returned to the dialing application
300                                                 which dials it using the PJSIP channel driver and endpoint originally used. If this option is
301                                                 set to <literal>uri_pjsip</literal> the redirect occurs within chan_pjsip itself and is not exposed
302                                                 to the core at all. The <literal>uri_pjsip</literal> option has the benefit of being more efficient
303                                                 and also supporting multiple potential redirect targets. The con is that since redirection occurs
304                                                 within chan_pjsip redirecting information is not forwarded and redirection can not be
305                                                 prevented.
306                                                 </para>
307                                                 <enumlist>
308                                                         <enum name="user" />
309                                                         <enum name="uri_core" />
310                                                         <enum name="uri_pjsip" />
311                                                 </enumlist>
312                                         </description>
313                                 </configOption>
314                                 <configOption name="mailboxes">
315                                         <synopsis>NOTIFY the endpoint when state changes for any of the specified mailboxes</synopsis>
316                                         <description><para>
317                                                 Asterisk will send unsolicited MWI NOTIFY messages to the endpoint when state
318                                                 changes happen for any of the specified mailboxes. More than one mailbox can be
319                                                 specified with a comma-delimited string. app_voicemail mailboxes must be specified
320                                                 as mailbox@context; for example: mailboxes=6001@default. For mailboxes provided by
321                                                 external sources, such as through the res_external_mwi module, you must specify
322                                                 strings supported by the external system.
323                                         </para><para>
324                                                 For endpoints that SUBSCRIBE for MWI, use the <literal>mailboxes</literal> option in your AOR
325                                                 configuration.
326                                         </para></description>
327                                 </configOption>
328                                 <configOption name="mwi_subscribe_replaces_unsolicited">
329                                         <synopsis>An MWI subscribe will replace sending unsolicited NOTIFYs</synopsis>
330                                 </configOption>
331                                 <configOption name="voicemail_extension">
332                                         <synopsis>The voicemail extension to send in the NOTIFY Message-Account header</synopsis>
333                                 </configOption>
334                                 <configOption name="moh_suggest" default="default">
335                                         <synopsis>Default Music On Hold class</synopsis>
336                                 </configOption>
337                                 <configOption name="outbound_auth">
338                                         <synopsis>Authentication object(s) used for outbound requests</synopsis>
339                                         <description><para>
340                                                 This is a comma-delimited list of <replaceable>auth</replaceable>
341                                                 sections defined in <filename>pjsip.conf</filename> used to respond
342                                                 to outbound connection authentication challenges.</para>
343                                                 <note><para>
344                                                 Using the same auth section for inbound and outbound
345                                                 authentication is not recommended.  There is a difference in
346                                                 meaning for an empty realm setting between inbound and outbound
347                                                 authentication uses.  See the auth realm description for details.
348                                                 </para></note>
349                                         </description>
350                                 </configOption>
351                                 <configOption name="outbound_proxy">
352                                         <synopsis>Full SIP URI of the outbound proxy used to send requests</synopsis>
353                                 </configOption>
354                                 <configOption name="rewrite_contact">
355                                         <synopsis>Allow Contact header to be rewritten with the source IP address-port</synopsis>
356                                         <description><para>
357                                                 On inbound SIP messages from this endpoint, the Contact header or an appropriate Record-Route
358                                                 header will be changed to have the source IP address and port. This option does not affect
359                                                 outbound messages sent to this endpoint.
360                                         </para></description>
361                                 </configOption>
362                                 <configOption name="rtp_ipv6" default="no">
363                                         <synopsis>Allow use of IPv6 for RTP traffic</synopsis>
364                                 </configOption>
365                                 <configOption name="rtp_symmetric" default="no">
366                                         <synopsis>Enforce that RTP must be symmetric</synopsis>
367                                 </configOption>
368                                 <configOption name="send_diversion" default="yes">
369                                         <synopsis>Send the Diversion header, conveying the diversion
370                                         information to the called user agent</synopsis>
371                                 </configOption>
372                                 <configOption name="send_pai" default="no">
373                                         <synopsis>Send the P-Asserted-Identity header</synopsis>
374                                 </configOption>
375                                 <configOption name="send_rpid" default="no">
376                                         <synopsis>Send the Remote-Party-ID header</synopsis>
377                                 </configOption>
378                                 <configOption name="rpid_immediate" default="no">
379                                         <synopsis>Immediately send connected line updates on unanswered incoming calls.</synopsis>
380                                         <description>
381                                                 <para>When enabled, immediately send <emphasis>180 Ringing</emphasis>
382                                                 or <emphasis>183 Progress</emphasis> response messages to the
383                                                 caller if the connected line information is updated before
384                                                 the call is answered.  This can send a <emphasis>180 Ringing</emphasis>
385                                                 response before the call has even reached the far end.  The
386                                                 caller can start hearing ringback before the far end even gets
387                                                 the call.  Many phones tend to grab the first connected line
388                                                 information and refuse to update the display if it changes.  The
389                                                 first information is not likely to be correct if the call
390                                                 goes to an endpoint not under the control of this Asterisk
391                                                 box.</para>
392                                                 <para>When disabled, a connected line update must wait for
393                                                 another reason to send a message with the connected line
394                                                 information to the caller before the call is answered.  You can
395                                                 trigger the sending of the information by using an appropriate
396                                                 dialplan application such as <emphasis>Ringing</emphasis>.</para>
397                                         </description>
398                                 </configOption>
399                                 <configOption name="timers_min_se" default="90">
400                                         <synopsis>Minimum session timers expiration period</synopsis>
401                                         <description><para>
402                                                 Minimium session timer expiration period. Time in seconds.
403                                         </para></description>
404                                 </configOption>
405                                 <configOption name="timers" default="yes">
406                                         <synopsis>Session timers for SIP packets</synopsis>
407                                         <description>
408                                                 <enumlist>
409                                                         <enum name="no" />
410                                                         <enum name="yes" />
411                                                         <enum name="required" />
412                                                         <enum name="always" />
413                                                         <enum name="forced"><para>Alias of always</para></enum>
414                                                 </enumlist>
415                                         </description>
416                                 </configOption>
417                                 <configOption name="timers_sess_expires" default="1800">
418                                         <synopsis>Maximum session timer expiration period</synopsis>
419                                         <description><para>
420                                                 Maximium session timer expiration period. Time in seconds.
421                                         </para></description>
422                                 </configOption>
423                                 <configOption name="transport">
424                                         <synopsis>Desired transport configuration</synopsis>
425                                         <description><para>
426                                                 This will set the desired transport configuration to send SIP data through.
427                                                 </para>
428                                                 <warning><para>Not specifying a transport will <emphasis>DEFAULT</emphasis>
429                                                 to the first configured transport in <filename>pjsip.conf</filename> which is
430                                                 valid for the URI we are trying to contact.
431                                                 </para></warning>
432                                                 <warning><para>Transport configuration is not affected by reloads. In order to
433                                                 change transports, a full Asterisk restart is required</para></warning>
434                                         </description>
435                                 </configOption>
436                                 <configOption name="trust_id_inbound" default="no">
437                                         <synopsis>Accept identification information received from this endpoint</synopsis>
438                                         <description><para>This option determines whether Asterisk will accept
439                                         identification from the endpoint from headers such as P-Asserted-Identity
440                                         or Remote-Party-ID header. This option applies both to calls originating from the
441                                         endpoint and calls originating from Asterisk. If <literal>no</literal>, the
442                                         configured Caller-ID from pjsip.conf will always be used as the identity for
443                                         the endpoint.</para></description>
444                                 </configOption>
445                                 <configOption name="trust_id_outbound" default="no">
446                                         <synopsis>Send private identification details to the endpoint.</synopsis>
447                                         <description><para>This option determines whether res_pjsip will send private
448                                         identification information to the endpoint. If <literal>no</literal>,
449                                         private Caller-ID information will not be forwarded to the endpoint.
450                                         "Private" in this case refers to any method of restricting identification.
451                                         Example: setting <replaceable>callerid_privacy</replaceable> to any
452                                         <literal>prohib</literal> variation.
453                                         Example: If <replaceable>trust_id_inbound</replaceable> is set to
454                                         <literal>yes</literal>, the presence of a <literal>Privacy: id</literal>
455                                         header in a SIP request or response would indicate the identification
456                                         provided in the request is private.</para></description>
457                                 </configOption>
458                                 <configOption name="type">
459                                         <synopsis>Must be of type 'endpoint'.</synopsis>
460                                 </configOption>
461                                 <configOption name="use_ptime" default="no">
462                                         <synopsis>Use Endpoint's requested packetisation interval</synopsis>
463                                 </configOption>
464                                 <configOption name="use_avpf" default="no">
465                                         <synopsis>Determines whether res_pjsip will use and enforce usage of AVPF for this
466                                         endpoint.</synopsis>
467                                         <description><para>
468                                                 If set to <literal>yes</literal>, res_pjsip will use the AVPF or SAVPF RTP
469                                                 profile for all media offers on outbound calls and media updates and will
470                                                 decline media offers not using the AVPF or SAVPF profile.
471                                         </para><para>
472                                                 If set to <literal>no</literal>, res_pjsip will use the AVP or SAVP RTP
473                                                 profile for all media offers on outbound calls and media updates, and will
474                                                 decline media offers not using the AVP or SAVP profile.
475                                         </para></description>
476                                 </configOption>
477                                 <configOption name="force_avp" default="no">
478                                         <synopsis>Determines whether res_pjsip will use and enforce usage of AVP,
479                                         regardless of the RTP profile in use for this endpoint.</synopsis>
480                                         <description><para>
481                                                 If set to <literal>yes</literal>, res_pjsip will use the AVP, AVPF, SAVP, or
482                                                 SAVPF RTP profile for all media offers on outbound calls and media updates including
483                                                 those for DTLS-SRTP streams.
484                                         </para><para>
485                                                 If set to <literal>no</literal>, res_pjsip will use the respective RTP profile
486                                                 depending on configuration.
487                                         </para></description>
488                                 </configOption>
489                                 <configOption name="media_use_received_transport" default="no">
490                                         <synopsis>Determines whether res_pjsip will use the media transport received in the
491                                         offer SDP in the corresponding answer SDP.</synopsis>
492                                         <description><para>
493                                                 If set to <literal>yes</literal>, res_pjsip will use the received media transport.
494                                         </para><para>
495                                                 If set to <literal>no</literal>, res_pjsip will use the respective RTP profile
496                                                 depending on configuration.
497                                         </para></description>
498                                 </configOption>
499                                 <configOption name="media_encryption" default="no">
500                                         <synopsis>Determines whether res_pjsip will use and enforce usage of media encryption
501                                         for this endpoint.</synopsis>
502                                         <description>
503                                                 <enumlist>
504                                                         <enum name="no"><para>
505                                                                 res_pjsip will offer no encryption and allow no encryption to be setup.
506                                                         </para></enum>
507                                                         <enum name="sdes"><para>
508                                                                 res_pjsip will offer standard SRTP setup via in-SDP keys. Encrypted SIP
509                                                                 transport should be used in conjunction with this option to prevent
510                                                                 exposure of media encryption keys.
511                                                         </para></enum>
512                                                         <enum name="dtls"><para>
513                                                                 res_pjsip will offer DTLS-SRTP setup.
514                                                         </para></enum>
515                                                 </enumlist>
516                                         </description>
517                                 </configOption>
518                                 <configOption name="media_encryption_optimistic" default="no">
519                                         <synopsis>Determines whether encryption should be used if possible but does not terminate the
520                                         session if not achieved.</synopsis>
521                                         <description><para>
522                                                 This option only applies if <replaceable>media_encryption</replaceable> is
523                                                 set to <literal>sdes</literal> or <literal>dtls</literal>.
524                                         </para></description>
525                                 </configOption>
526                                 <configOption name="g726_non_standard" default="no">
527                                         <synopsis>Force g.726 to use AAL2 packing order when negotiating g.726 audio</synopsis>
528                                         <description><para>
529                                                 When set to "yes" and an endpoint negotiates g.726 audio then use g.726 for AAL2
530                                                 packing order instead of what is recommended by RFC3551. Since this essentially
531                                                 replaces the underlying 'g726' codec with 'g726aal2' then 'g726aal2' needs to be
532                                                 specified in the endpoint's allowed codec list.
533                                         </para></description>
534                                 </configOption>
535                                 <configOption name="inband_progress" default="no">
536                                         <synopsis>Determines whether chan_pjsip will indicate ringing using inband
537                                                 progress.</synopsis>
538                                         <description><para>
539                                                 If set to <literal>yes</literal>, chan_pjsip will send a 183 Session Progress
540                                                 when told to indicate ringing and will immediately start sending ringing
541                                                 as audio.
542                                         </para><para>
543                                                 If set to <literal>no</literal>, chan_pjsip will send a 180 Ringing when told
544                                                 to indicate ringing and will NOT send it as audio.
545                                         </para></description>
546                                 </configOption>
547                                 <configOption name="call_group">
548                                         <synopsis>The numeric pickup groups for a channel.</synopsis>
549                                         <description><para>
550                                                 Can be set to a comma separated list of numbers or ranges between the values
551                                                 of 0-63 (maximum of 64 groups).
552                                         </para></description>
553                                 </configOption>
554                                 <configOption name="pickup_group">
555                                         <synopsis>The numeric pickup groups that a channel can pickup.</synopsis>
556                                         <description><para>
557                                                 Can be set to a comma separated list of numbers or ranges between the values
558                                                 of 0-63 (maximum of 64 groups).
559                                         </para></description>
560                                 </configOption>
561                                 <configOption name="named_call_group">
562                                         <synopsis>The named pickup groups for a channel.</synopsis>
563                                         <description><para>
564                                                 Can be set to a comma separated list of case sensitive strings limited by
565                                                 supported line length.
566                                         </para></description>
567                                 </configOption>
568                                 <configOption name="named_pickup_group">
569                                         <synopsis>The named pickup groups that a channel can pickup.</synopsis>
570                                         <description><para>
571                                                 Can be set to a comma separated list of case sensitive strings limited by
572                                                 supported line length.
573                                         </para></description>
574                                 </configOption>
575                                 <configOption name="device_state_busy_at" default="0">
576                                         <synopsis>The number of in-use channels which will cause busy to be returned as device state</synopsis>
577                                         <description><para>
578                                                 When the number of in-use channels for the endpoint matches the devicestate_busy_at setting the
579                                                 PJSIP channel driver will return busy as the device state instead of in use.
580                                         </para></description>
581                                 </configOption>
582                                 <configOption name="t38_udptl" default="no">
583                                         <synopsis>Whether T.38 UDPTL support is enabled or not</synopsis>
584                                         <description><para>
585                                                 If set to yes T.38 UDPTL support will be enabled, and T.38 negotiation requests will be accepted
586                                                 and relayed.
587                                         </para></description>
588                                 </configOption>
589                                 <configOption name="t38_udptl_ec" default="none">
590                                         <synopsis>T.38 UDPTL error correction method</synopsis>
591                                         <description>
592                                                 <enumlist>
593                                                         <enum name="none"><para>
594                                                                 No error correction should be used.
595                                                         </para></enum>
596                                                         <enum name="fec"><para>
597                                                                 Forward error correction should be used.
598                                                         </para></enum>
599                                                         <enum name="redundancy"><para>
600                                                                 Redundacy error correction should be used.
601                                                         </para></enum>
602                                                 </enumlist>
603                                         </description>
604                                 </configOption>
605                                 <configOption name="t38_udptl_maxdatagram" default="0">
606                                         <synopsis>T.38 UDPTL maximum datagram size</synopsis>
607                                         <description><para>
608                                                 This option can be set to override the maximum datagram of a remote endpoint for broken
609                                                 endpoints.
610                                         </para></description>
611                                 </configOption>
612                                 <configOption name="fax_detect" default="no">
613                                         <synopsis>Whether CNG tone detection is enabled</synopsis>
614                                         <description><para>
615                                                 This option can be set to send the session to the fax extension when a CNG tone is
616                                                 detected.
617                                         </para></description>
618                                 </configOption>
619                                 <configOption name="fax_detect_timeout">
620                                         <synopsis>How long into a call before fax_detect is disabled for the call</synopsis>
621                                         <description><para>
622                                                 The option determines how many seconds into a call before the
623                                                 fax_detect option is disabled for the call.  Setting the value
624                                                 to zero disables the timeout.
625                                         </para></description>
626                                 </configOption>
627                                 <configOption name="t38_udptl_nat" default="no">
628                                         <synopsis>Whether NAT support is enabled on UDPTL sessions</synopsis>
629                                         <description><para>
630                                                 When enabled the UDPTL stack will send UDPTL packets to the source address of
631                                                 received packets.
632                                         </para></description>
633                                 </configOption>
634                                 <configOption name="t38_udptl_ipv6" default="no">
635                                         <synopsis>Whether IPv6 is used for UDPTL Sessions</synopsis>
636                                         <description><para>
637                                                 When enabled the UDPTL stack will use IPv6.
638                                         </para></description>
639                                 </configOption>
640                                 <configOption name="tone_zone">
641                                         <synopsis>Set which country's indications to use for channels created for this endpoint.</synopsis>
642                                 </configOption>
643                                 <configOption name="language">
644                                         <synopsis>Set the default language to use for channels created for this endpoint.</synopsis>
645                                 </configOption>
646                                 <configOption name="one_touch_recording" default="no">
647                                         <synopsis>Determines whether one-touch recording is allowed for this endpoint.</synopsis>
648                                         <see-also>
649                                                 <ref type="configOption">record_on_feature</ref>
650                                                 <ref type="configOption">record_off_feature</ref>
651                                         </see-also>
652                                 </configOption>
653                                 <configOption name="record_on_feature" default="automixmon">
654                                         <synopsis>The feature to enact when one-touch recording is turned on.</synopsis>
655                                         <description>
656                                                 <para>When an INFO request for one-touch recording arrives with a Record header set to "on", this
657                                                 feature will be enabled for the channel. The feature designated here can be any built-in
658                                                 or dynamic feature defined in features.conf.</para>
659                                                 <note><para>This setting has no effect if the endpoint's one_touch_recording option is disabled</para></note>
660                                         </description>
661                                         <see-also>
662                                                 <ref type="configOption">one_touch_recording</ref>
663                                                 <ref type="configOption">record_off_feature</ref>
664                                         </see-also>
665                                 </configOption>
666                                 <configOption name="record_off_feature" default="automixmon">
667                                         <synopsis>The feature to enact when one-touch recording is turned off.</synopsis>
668                                         <description>
669                                                 <para>When an INFO request for one-touch recording arrives with a Record header set to "off", this
670                                                 feature will be enabled for the channel. The feature designated here can be any built-in
671                                                 or dynamic feature defined in features.conf.</para>
672                                                 <note><para>This setting has no effect if the endpoint's one_touch_recording option is disabled</para></note>
673                                         </description>
674                                         <see-also>
675                                                 <ref type="configOption">one_touch_recording</ref>
676                                                 <ref type="configOption">record_on_feature</ref>
677                                         </see-also>
678                                 </configOption>
679                                 <configOption name="rtp_engine" default="asterisk">
680                                         <synopsis>Name of the RTP engine to use for channels created for this endpoint</synopsis>
681                                 </configOption>
682                                 <configOption name="allow_transfer" default="yes">
683                                         <synopsis>Determines whether SIP REFER transfers are allowed for this endpoint</synopsis>
684                                 </configOption>
685                                 <configOption name="user_eq_phone" default="no">
686                                         <synopsis>Determines whether a user=phone parameter is placed into the request URI if the user is determined to be a phone number</synopsis>
687                                 </configOption>
688                                 <configOption name="moh_passthrough" default="no">
689                                         <synopsis>Determines whether hold and unhold will be passed through using re-INVITEs with recvonly and sendrecv to the remote side</synopsis>
690                                 </configOption>
691                                 <configOption name="sdp_owner" default="-">
692                                         <synopsis>String placed as the username portion of an SDP origin (o=) line.</synopsis>
693                                 </configOption>
694                                 <configOption name="sdp_session" default="Asterisk">
695                                         <synopsis>String used for the SDP session (s=) line.</synopsis>
696                                 </configOption>
697                                 <configOption name="tos_audio">
698                                         <synopsis>DSCP TOS bits for audio streams</synopsis>
699                                         <description><para>
700                                                 See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for more information about QoS settings
701                                         </para></description>
702                                 </configOption>
703                                 <configOption name="tos_video">
704                                         <synopsis>DSCP TOS bits for video streams</synopsis>
705                                         <description><para>
706                                                 See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for more information about QoS settings
707                                         </para></description>
708                                 </configOption>
709                                 <configOption name="cos_audio">
710                                         <synopsis>Priority for audio streams</synopsis>
711                                         <description><para>
712                                                 See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for more information about QoS settings
713                                         </para></description>
714                                 </configOption>
715                                 <configOption name="cos_video">
716                                         <synopsis>Priority for video streams</synopsis>
717                                         <description><para>
718                                                 See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for more information about QoS settings
719                                         </para></description>
720                                 </configOption>
721                                 <configOption name="allow_subscribe" default="yes">
722                                         <synopsis>Determines if endpoint is allowed to initiate subscriptions with Asterisk.</synopsis>
723                                 </configOption>
724                                 <configOption name="sub_min_expiry" default="60">
725                                         <synopsis>The minimum allowed expiry time for subscriptions initiated by the endpoint.</synopsis>
726                                 </configOption>
727                                 <configOption name="from_user">
728                                         <synopsis>Username to use in From header for requests to this endpoint.</synopsis>
729                                 </configOption>
730                                 <configOption name="mwi_from_user">
731                                         <synopsis>Username to use in From header for unsolicited MWI NOTIFYs to this endpoint.</synopsis>
732                                 </configOption>
733                                 <configOption name="from_domain">
734                                         <synopsis>Domain to user in From header for requests to this endpoint.</synopsis>
735                                 </configOption>
736                                 <configOption name="dtls_verify">
737                                         <synopsis>Verify that the provided peer certificate is valid</synopsis>
738                                         <description><para>
739                                                 This option only applies if <replaceable>media_encryption</replaceable> is
740                                                 set to <literal>dtls</literal>.
741                                         </para></description>
742                                 </configOption>
743                                 <configOption name="dtls_rekey">
744                                         <synopsis>Interval at which to renegotiate the TLS session and rekey the SRTP session</synopsis>
745                                         <description><para>
746                                                 This option only applies if <replaceable>media_encryption</replaceable> is
747                                                 set to <literal>dtls</literal>.
748                                         </para><para>
749                                                 If this is not set or the value provided is 0 rekeying will be disabled.
750                                         </para></description>
751                                 </configOption>
752                                 <configOption name="dtls_cert_file">
753                                         <synopsis>Path to certificate file to present to peer</synopsis>
754                                         <description><para>
755                                                 This option only applies if <replaceable>media_encryption</replaceable> is
756                                                 set to <literal>dtls</literal>.
757                                         </para></description>
758                                 </configOption>
759                                 <configOption name="dtls_private_key">
760                                         <synopsis>Path to private key for certificate file</synopsis>
761                                         <description><para>
762                                                 This option only applies if <replaceable>media_encryption</replaceable> is
763                                                 set to <literal>dtls</literal>.
764                                         </para></description>
765                                 </configOption>
766                                 <configOption name="dtls_cipher">
767                                         <synopsis>Cipher to use for DTLS negotiation</synopsis>
768                                         <description><para>
769                                                 This option only applies if <replaceable>media_encryption</replaceable> is
770                                                 set to <literal>dtls</literal>.
771                                         </para>
772                                         <para>Many options for acceptable ciphers. See link for more:</para>
773                                         <para>http://www.openssl.org/docs/apps/ciphers.html#CIPHER_STRINGS
774                                         </para></description>
775                                 </configOption>
776                                 <configOption name="dtls_ca_file">
777                                         <synopsis>Path to certificate authority certificate</synopsis>
778                                         <description><para>
779                                                 This option only applies if <replaceable>media_encryption</replaceable> is
780                                                 set to <literal>dtls</literal>.
781                                         </para></description>
782                                 </configOption>
783                                 <configOption name="dtls_ca_path">
784                                         <synopsis>Path to a directory containing certificate authority certificates</synopsis>
785                                         <description><para>
786                                                 This option only applies if <replaceable>media_encryption</replaceable> is
787                                                 set to <literal>dtls</literal>.
788                                         </para></description>
789                                 </configOption>
790                                 <configOption name="dtls_setup">
791                                         <synopsis>Whether we are willing to accept connections, connect to the other party, or both.</synopsis>
792                                         <description>
793                                                 <para>
794                                                         This option only applies if <replaceable>media_encryption</replaceable> is
795                                                         set to <literal>dtls</literal>.
796                                                 </para>
797                                                 <enumlist>
798                                                         <enum name="active"><para>
799                                                                 res_pjsip will make a connection to the peer.
800                                                         </para></enum>
801                                                         <enum name="passive"><para>
802                                                                 res_pjsip will accept connections from the peer.
803                                                         </para></enum>
804                                                         <enum name="actpass"><para>
805                                                                 res_pjsip will offer and accept connections from the peer.
806                                                         </para></enum>
807                                                 </enumlist>
808                                         </description>
809                                 </configOption>
810                                 <configOption name="dtls_fingerprint">
811                                         <synopsis>Type of hash to use for the DTLS fingerprint in the SDP.</synopsis>
812                                         <description>
813                                                 <para>
814                                                         This option only applies if <replaceable>media_encryption</replaceable> is
815                                                         set to <literal>dtls</literal>.
816                                                 </para>
817                                                 <enumlist>
818                                                         <enum name="SHA-256"></enum>
819                                                         <enum name="SHA-1"></enum>
820                                                 </enumlist>
821                                         </description>
822                                 </configOption>
823                                 <configOption name="srtp_tag_32">
824                                         <synopsis>Determines whether 32 byte tags should be used instead of 80 byte tags.</synopsis>
825                                         <description><para>
826                                                 This option only applies if <replaceable>media_encryption</replaceable> is
827                                                 set to <literal>sdes</literal> or <literal>dtls</literal>.
828                                         </para></description>
829                                 </configOption>
830                                 <configOption name="set_var">
831                                         <synopsis>Variable set on a channel involving the endpoint.</synopsis>
832                                         <description><para>
833                                                 When a new channel is created using the endpoint set the specified
834                                                 variable(s) on that channel. For multiple channel variables specify
835                                                 multiple 'set_var'(s).
836                                         </para></description>
837                                 </configOption>
838                                 <configOption name="message_context">
839                                         <synopsis>Context to route incoming MESSAGE requests to.</synopsis>
840                                         <description><para>
841                                                 If specified, incoming MESSAGE requests will be routed to the indicated
842                                                 dialplan context. If no <replaceable>message_context</replaceable> is
843                                                 specified, then the <replaceable>context</replaceable> setting is used.
844                                         </para></description>
845                                 </configOption>
846                                 <configOption name="accountcode">
847                                         <synopsis>An accountcode to set automatically on any channels created for this endpoint.</synopsis>
848                                         <description><para>
849                                                 If specified, any channel created for this endpoint will automatically
850                                                 have this accountcode set on it.
851                                         </para></description>
852                                 </configOption>
853                                 <configOption name="preferred_codec_only" default="no">
854                                         <synopsis>Respond to a SIP invite with the single most preferred codec rather than advertising all joint codec capabilities. This limits the other side's codec choice to exactly what we prefer.</synopsis>
855                                 </configOption>
856                                 <configOption name="rtp_keepalive">
857                                         <synopsis>Number of seconds between RTP comfort noise keepalive packets.</synopsis>
858                                         <description><para>
859                                                 At the specified interval, Asterisk will send an RTP comfort noise frame. This may
860                                                 be useful for situations where Asterisk is behind a NAT or firewall and must keep
861                                                 a hole open in order to allow for media to arrive at Asterisk.
862                                         </para></description>
863                                 </configOption>
864                                 <configOption name="rtp_timeout" default="0">
865                                         <synopsis>Maximum number of seconds without receiving RTP (while off hold) before terminating call.</synopsis>
866                                         <description><para>
867                                                 This option configures the number of seconds without RTP (while off hold) before
868                                                 considering a channel as dead. When the number of seconds is reached the underlying
869                                                 channel is hung up. By default this option is set to 0, which means do not check.
870                                         </para></description>
871                                 </configOption>
872                                 <configOption name="rtp_timeout_hold" default="0">
873                                         <synopsis>Maximum number of seconds without receiving RTP (while on hold) before terminating call.</synopsis>
874                                         <description><para>
875                                                 This option configures the number of seconds without RTP (while on hold) before
876                                                 considering a channel as dead. When the number of seconds is reached the underlying
877                                                 channel is hung up. By default this option is set to 0, which means do not check.
878                                         </para></description>
879                                 </configOption>
880                                 <configOption name="acl">
881                                         <synopsis>List of IP ACL section names in acl.conf</synopsis>
882                                         <description><para>
883                                                 This matches sections configured in <literal>acl.conf</literal>. The value is
884                                                 defined as a list of comma-delimited section names.
885                                         </para></description>
886                                 </configOption>
887                                 <configOption name="deny">
888                                         <synopsis>List of IP addresses to deny access from</synopsis>
889                                         <description><para>
890                                                 The value is a comma-delimited list of IP addresses. IP addresses may
891                                                 have a subnet mask appended. The subnet mask may be written in either
892                                                 CIDR or dotted-decimal notation. Separate the IP address and subnet
893                                                 mask with a slash ('/')
894                                         </para></description>
895                                 </configOption>
896                                 <configOption name="permit">
897                                         <synopsis>List of IP addresses to permit access from</synopsis>
898                                         <description><para>
899                                                 The value is a comma-delimited list of IP addresses. IP addresses may
900                                                 have a subnet mask appended. The subnet mask may be written in either
901                                                 CIDR or dotted-decimal notation. Separate the IP address and subnet
902                                                 mask with a slash ('/')
903                                         </para></description>
904                                 </configOption>
905                                 <configOption name="contact_acl">
906                                         <synopsis>List of Contact ACL section names in acl.conf</synopsis>
907                                         <description><para>
908                                                 This matches sections configured in <literal>acl.conf</literal>. The value is
909                                                 defined as a list of comma-delimited section names.
910                                         </para></description>
911                                 </configOption>
912                                 <configOption name="contact_deny">
913                                         <synopsis>List of Contact header addresses to deny</synopsis>
914                                         <description><para>
915                                                 The value is a comma-delimited list of IP addresses. IP addresses may
916                                                 have a subnet mask appended. The subnet mask may be written in either
917                                                 CIDR or dotted-decimal notation. Separate the IP address and subnet
918                                                 mask with a slash ('/')
919                                         </para></description>
920                                 </configOption>
921                                 <configOption name="contact_permit">
922                                         <synopsis>List of Contact header addresses to permit</synopsis>
923                                         <description><para>
924                                                 The value is a comma-delimited list of IP addresses. IP addresses may
925                                                 have a subnet mask appended. The subnet mask may be written in either
926                                                 CIDR or dotted-decimal notation. Separate the IP address and subnet
927                                                 mask with a slash ('/')
928                                         </para></description>
929                                 </configOption>
930                                 <configOption name="subscribe_context">
931                                         <synopsis>Context for incoming MESSAGE requests.</synopsis>
932                                         <description><para>
933                                                 If specified, incoming SUBSCRIBE requests will be searched for the matching
934                                                 extension in the indicated context.
935                                                 If no <replaceable>subscribe_context</replaceable> is specified,
936                                                 then the <replaceable>context</replaceable> setting is used.
937                                         </para></description>
938                                 </configOption>
939                                 <configOption name="contact_user" default="">
940                                         <synopsis>Force the user on the outgoing Contact header to this value.</synopsis>
941                                         <description><para>
942                                                 On outbound requests, force the user portion of the Contact header to this value.
943                                         </para></description>
944                                 </configOption>
945                                 <configOption name="asymmetric_rtp_codec" default="no">
946                                         <synopsis>Allow the sending and receiving RTP codec to differ</synopsis>
947                                         <description><para>
948                                                 When set to "yes" the codec in use for sending will be allowed to differ from
949                                                 that of the received one. PJSIP will not automatically switch the sending one
950                                                 to the receiving one.
951                                         </para></description>
952                                 </configOption>
953                                 <configOption name="rtcp_mux" default="no">
954                                         <synopsis>Enable RFC 5761 RTCP multiplexing on the RTP port</synopsis>
955                                         <description><para>
956                                                 With this option enabled, Asterisk will attempt to negotiate the use of the "rtcp-mux"
957                                                 attribute on all media streams. This will result in RTP and RTCP being sent and received
958                                                 on the same port. This shifts the demultiplexing logic to the application rather than
959                                                 the transport layer. This option is useful when interoperating with WebRTC endpoints
960                                                 since they mandate this option's use.
961                                         </para></description>
962                                 </configOption>
963                         </configObject>
964                         <configObject name="auth">
965                                 <synopsis>Authentication type</synopsis>
966                                 <description><para>
967                                         Authentication objects hold the authentication information for use
968                                         by other objects such as <literal>endpoints</literal> or <literal>registrations</literal>.
969                                         This also allows for multiple objects to use a single auth object. See
970                                         the <literal>auth_type</literal> config option for password style choices.
971                                 </para></description>
972                                 <configOption name="auth_type" default="userpass">
973                                         <synopsis>Authentication type</synopsis>
974                                         <description><para>
975                                                 This option specifies which of the password style config options should be read
976                                                 when trying to authenticate an endpoint inbound request. If set to <literal>userpass</literal>
977                                                 then we'll read from the 'password' option. For <literal>md5</literal> we'll read
978                                                 from 'md5_cred'.
979                                                 </para>
980                                                 <enumlist>
981                                                         <enum name="md5"/>
982                                                         <enum name="userpass"/>
983                                                 </enumlist>
984                                         </description>
985                                 </configOption>
986                                 <configOption name="nonce_lifetime" default="32">
987                                         <synopsis>Lifetime of a nonce associated with this authentication config.</synopsis>
988                                 </configOption>
989                                 <configOption name="md5_cred">
990                                         <synopsis>MD5 Hash used for authentication.</synopsis>
991                                         <description><para>Only used when auth_type is <literal>md5</literal>.</para></description>
992                                 </configOption>
993                                 <configOption name="password">
994                                         <synopsis>PlainText password used for authentication.</synopsis>
995                                         <description><para>Only used when auth_type is <literal>userpass</literal>.</para></description>
996                                 </configOption>
997                                 <configOption name="realm">
998                                         <synopsis>SIP realm for endpoint</synopsis>
999                                         <description><para>
1000                                                 The treatment of this value depends upon how the authentication
1001                                                 object is used.
1002                                                 </para><para>
1003                                                 When used as an inbound authentication object, the realm is sent
1004                                                 as part of the challenge so the peer can know which key to use
1005                                                 when responding.  An empty value will use the
1006                                                 <replaceable>global</replaceable> section's
1007                                                 <literal>default_realm</literal> value when issuing a challenge.
1008                                                 </para><para>
1009                                                 When used as an outbound authentication object, the realm is
1010                                                 matched with the received challenge realm to determine which
1011                                                 authentication object to use when responding to the challenge.  An
1012                                                 empty value matches any challenging realm when determining
1013                                                 which authentication object matches a received challenge.
1014                                                 </para>
1015                                                 <note><para>
1016                                                 Using the same auth section for inbound and outbound
1017                                                 authentication is not recommended.  There is a difference in
1018                                                 meaning for an empty realm setting between inbound and outbound
1019                                                 authentication uses.</para></note>
1020                                         </description>
1021                                 </configOption>
1022                                 <configOption name="type">
1023                                         <synopsis>Must be 'auth'</synopsis>
1024                                 </configOption>
1025                                 <configOption name="username">
1026                                         <synopsis>Username to use for account</synopsis>
1027                                 </configOption>
1028                         </configObject>
1029                         <configObject name="domain_alias">
1030                                 <synopsis>Domain Alias</synopsis>
1031                                 <description><para>
1032                                         Signifies that a domain is an alias. If the domain on a session is
1033                                         not found to match an AoR then this object is used to see if we have
1034                                         an alias for the AoR to which the endpoint is binding. This objects
1035                                         name as defined in configuration should be the domain alias and a
1036                                         config option is provided to specify the domain to be aliased.
1037                                 </para></description>
1038                                 <configOption name="type">
1039                                         <synopsis>Must be of type 'domain_alias'.</synopsis>
1040                                 </configOption>
1041                                 <configOption name="domain">
1042                                         <synopsis>Domain to be aliased</synopsis>
1043                                 </configOption>
1044                         </configObject>
1045                         <configObject name="transport">
1046                                 <synopsis>SIP Transport</synopsis>
1047                                 <description><para>
1048                                         <emphasis>Transports</emphasis>
1049                                         </para>
1050                                         <para>There are different transports and protocol derivatives
1051                                                 supported by <literal>res_pjsip</literal>. They are in order of
1052                                                 preference: UDP, TCP, and WebSocket (WS).</para>
1053                                         <note><para>Changes to transport configuration in pjsip.conf will only be
1054                                                 effected on a complete restart of Asterisk. A module reload
1055                                                 will not suffice.</para></note>
1056                                 </description>
1057                                 <configOption name="async_operations" default="1">
1058                                         <synopsis>Number of simultaneous Asynchronous Operations</synopsis>
1059                                 </configOption>
1060                                 <configOption name="bind">
1061                                         <synopsis>IP Address and optional port to bind to for this transport</synopsis>
1062                                 </configOption>
1063                                 <configOption name="ca_list_file">
1064                                         <synopsis>File containing a list of certificates to read (TLS ONLY)</synopsis>
1065                                 </configOption>
1066                                 <configOption name="ca_list_path">
1067                                         <synopsis>Path to directory containing a list of certificates to read (TLS ONLY)</synopsis>
1068                                 </configOption>
1069                                 <configOption name="cert_file">
1070                                         <synopsis>Certificate file for endpoint (TLS ONLY)</synopsis>
1071                                         <description><para>
1072                                                 A path to a .crt or .pem file can be provided.  However, only
1073                                                 the certificate is read from the file, not the private key.
1074                                                 The <literal>priv_key_file</literal> option must supply a
1075                                                 matching key file.
1076                                         </para></description>
1077                                 </configOption>
1078                                 <configOption name="cipher">
1079                                         <synopsis>Preferred cryptography cipher names (TLS ONLY)</synopsis>
1080                                         <description>
1081                                         <para>Comma separated list of cipher names or numeric equivalents.
1082                                                 Numeric equivalents can be either decimal or hexadecimal (0xX).
1083                                         </para>
1084                                         <para>There are many cipher names.  Use the CLI command
1085                                                 <literal>pjsip list ciphers</literal> to see a list of cipher
1086                                                 names available for your installation.  See link for more:</para>
1087                                         <para>http://www.openssl.org/docs/apps/ciphers.html#CIPHER_SUITE_NAMES
1088                                         </para>
1089                                         </description>
1090                                 </configOption>
1091                                 <configOption name="domain">
1092                                         <synopsis>Domain the transport comes from</synopsis>
1093                                 </configOption>
1094                                 <configOption name="external_media_address">
1095                                         <synopsis>External IP address to use in RTP handling</synopsis>
1096                                         <description><para>
1097                                                 When a request or response is sent out, if the destination of the
1098                                                 message is outside the IP network defined in the option <literal>localnet</literal>,
1099                                                 and the media address in the SDP is within the localnet network, then the
1100                                                 media address in the SDP will be rewritten to the value defined for
1101                                                 <literal>external_media_address</literal>.
1102                                         </para></description>
1103                                 </configOption>
1104                                 <configOption name="external_signaling_address">
1105                                         <synopsis>External address for SIP signalling</synopsis>
1106                                 </configOption>
1107                                 <configOption name="external_signaling_port" default="0">
1108                                         <synopsis>External port for SIP signalling</synopsis>
1109                                 </configOption>
1110                                 <configOption name="method">
1111                                         <synopsis>Method of SSL transport (TLS ONLY)</synopsis>
1112                                         <description>
1113                                                 <enumlist>
1114                                                         <enum name="default">
1115                                                                 <para>The default as defined by PJSIP. This is currently TLSv1, but may change with future releases.</para>
1116                                                         </enum>
1117                                                         <enum name="unspecified">
1118                                                                 <para>This option is equivalent to setting 'default'</para>
1119                                                         </enum>
1120                                                         <enum name="tlsv1" />
1121                                                         <enum name="sslv2" />
1122                                                         <enum name="sslv3" />
1123                                                         <enum name="sslv23" />
1124                                                 </enumlist>
1125                                         </description>
1126                                 </configOption>
1127                                 <configOption name="local_net">
1128                                         <synopsis>Network to consider local (used for NAT purposes).</synopsis>
1129                                         <description><para>This must be in CIDR or dotted decimal format with the IP
1130                                         and mask separated with a slash ('/').</para></description>
1131                                 </configOption>
1132                                 <configOption name="password">
1133                                         <synopsis>Password required for transport</synopsis>
1134                                 </configOption>
1135                                 <configOption name="priv_key_file">
1136                                         <synopsis>Private key file (TLS ONLY)</synopsis>
1137                                 </configOption>
1138                                 <configOption name="protocol" default="udp">
1139                                         <synopsis>Protocol to use for SIP traffic</synopsis>
1140                                         <description>
1141                                                 <enumlist>
1142                                                         <enum name="udp" />
1143                                                         <enum name="tcp" />
1144                                                         <enum name="tls" />
1145                                                         <enum name="ws" />
1146                                                         <enum name="wss" />
1147                                                 </enumlist>
1148                                         </description>
1149                                 </configOption>
1150                                 <configOption name="require_client_cert" default="false">
1151                                         <synopsis>Require client certificate (TLS ONLY)</synopsis>
1152                                 </configOption>
1153                                 <configOption name="type">
1154                                         <synopsis>Must be of type 'transport'.</synopsis>
1155                                 </configOption>
1156                                 <configOption name="verify_client" default="false">
1157                                         <synopsis>Require verification of client certificate (TLS ONLY)</synopsis>
1158                                 </configOption>
1159                                 <configOption name="verify_server" default="false">
1160                                         <synopsis>Require verification of server certificate (TLS ONLY)</synopsis>
1161                                 </configOption>
1162                                 <configOption name="tos" default="false">
1163                                         <synopsis>Enable TOS for the signalling sent over this transport</synopsis>
1164                                         <description>
1165                                         <para>See <literal>https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service</literal>
1166                                         for more information on this parameter.</para>
1167                                         <note><para>This option does not apply to the <replaceable>ws</replaceable>
1168                                         or the <replaceable>wss</replaceable> protocols.</para></note>
1169                                         </description>
1170                                 </configOption>
1171                                 <configOption name="cos" default="false">
1172                                         <synopsis>Enable COS for the signalling sent over this transport</synopsis>
1173                                         <description>
1174                                         <para>See <literal>https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service</literal>
1175                                         for more information on this parameter.</para>
1176                                         <note><para>This option does not apply to the <replaceable>ws</replaceable>
1177                                         or the <replaceable>wss</replaceable> protocols.</para></note>
1178                                         </description>
1179                                 </configOption>
1180                                 <configOption name="websocket_write_timeout">
1181                                         <synopsis>The timeout (in milliseconds) to set on WebSocket connections.</synopsis>
1182                                         <description>
1183                                                 <para>If a websocket connection accepts input slowly, the timeout
1184                                                 for writes to it can be increased to keep it from being disconnected.
1185                                                 Value is in milliseconds; default is 100 ms.</para>
1186                                         </description>
1187                                 </configOption>
1188                                 <configOption name="allow_reload" default="no">
1189                                         <synopsis>Allow this transport to be reloaded.</synopsis>
1190                                         <description>
1191                                                 <para>Allow this transport to be reloaded when res_pjsip is reloaded.
1192                                                 This option defaults to "no" because reloading a transport may disrupt
1193                                                 in-progress calls.</para>
1194                                         </description>
1195                                 </configOption>
1196                                 <configOption name="symmetric_transport" default="no">
1197                                         <synopsis>Use the same transport for outgoing reqests as incoming ones.</synopsis>
1198                                         <description>
1199                                                 <para>When a request from a dynamic contact
1200                                                         comes in on a transport with this option set to 'yes',
1201                                                         the transport name will be saved and used for subsequent
1202                                                         outgoing requests like OPTIONS, NOTIFY and INVITE.  It's
1203                                                         saved as a contact uri parameter named 'x-ast-txp' and will
1204                                                         display with the contact uri in CLI, AMI, and ARI output.
1205                                                         On the outgoing request, if a transport wasn't explicitly
1206                                                         set on the endpoint AND the request URI is not a hostname,
1207                                                         the saved transport will be used and the 'x-ast-txp'
1208                                                         parameter stripped from the outgoing packet.
1209                                                 </para>
1210                                         </description>
1211                                 </configOption>
1212                         </configObject>
1213                         <configObject name="contact">
1214                                 <synopsis>A way of creating an aliased name to a SIP URI</synopsis>
1215                                 <description><para>
1216                                         Contacts are a way to hide SIP URIs from the dialplan directly.
1217                                         They are also used to make a group of contactable parties when
1218                                         in use with <literal>AoR</literal> lists.
1219                                 </para></description>
1220                                 <configOption name="type">
1221                                         <synopsis>Must be of type 'contact'.</synopsis>
1222                                 </configOption>
1223                                 <configOption name="uri">
1224                                         <synopsis>SIP URI to contact peer</synopsis>
1225                                 </configOption>
1226                                 <configOption name="expiration_time">
1227                                         <synopsis>Time to keep alive a contact</synopsis>
1228                                         <description><para>
1229                                                 Time to keep alive a contact. String style specification.
1230                                         </para></description>
1231                                 </configOption>
1232                                 <configOption name="qualify_frequency" default="0">
1233                                         <synopsis>Interval at which to qualify a contact</synopsis>
1234                                         <description><para>
1235                                                 Interval between attempts to qualify the contact for reachability.
1236                                                 If <literal>0</literal> never qualify. Time in seconds.
1237                                         </para></description>
1238                                 </configOption>
1239                                 <configOption name="qualify_timeout" default="3.0">
1240                                         <synopsis>Timeout for qualify</synopsis>
1241                                         <description><para>
1242                                                 If the contact doesn't repond to the OPTIONS request before the timeout,
1243                                                 the contact is marked unavailable.
1244                                                 If <literal>0</literal> no timeout. Time in fractional seconds.
1245                                         </para></description>
1246                                 </configOption>
1247                                 <configOption name="authenticate_qualify" default="no">
1248                                         <synopsis>Authenticates a qualify request if needed</synopsis>
1249                                         <description><para>
1250                                                 If true and a qualify request receives a challenge or authenticate response
1251                                                 authentication is attempted before declaring the contact available.
1252                                         </para></description>
1253                                 </configOption>
1254                                 <configOption name="outbound_proxy">
1255                                         <synopsis>Outbound proxy used when sending OPTIONS request</synopsis>
1256                                         <description><para>
1257                                                 If set the provided URI will be used as the outbound proxy when an
1258                                                 OPTIONS request is sent to a contact for qualify purposes.
1259                                         </para></description>
1260                                 </configOption>
1261                                 <configOption name="path">
1262                                         <synopsis>Stored Path vector for use in Route headers on outgoing requests.</synopsis>
1263                                 </configOption>
1264                                 <configOption name="user_agent">
1265                                         <synopsis>User-Agent header from registration.</synopsis>
1266                                         <description><para>
1267                                                 The User-Agent is automatically stored based on data present in incoming SIP
1268                                                 REGISTER requests and is not intended to be configured manually.
1269                                         </para></description>
1270                                 </configOption>
1271                                 <configOption name="endpoint">
1272                                         <synopsis>Endpoint name</synopsis>
1273                                         <description><para>
1274                                                 The name of the endpoint this contact belongs to
1275                                         </para></description>
1276                                 </configOption>
1277                                 <configOption name="reg_server">
1278                                         <synopsis>Asterisk Server name</synopsis>
1279                                         <description><para>
1280                                                 Asterisk Server name on which SIP endpoint registered.
1281                                         </para></description>
1282                                 </configOption>
1283                                 <configOption name="via_addr">
1284                                         <synopsis>IP-address of the last Via header from registration.</synopsis>
1285                                         <description><para>
1286                                                 The last Via header should contain the address of UA which sent the request.
1287                                                 The IP-address of the last Via header is automatically stored based on data present
1288                                                 in incoming SIP REGISTER requests and is not intended to be configured manually.
1289                                         </para></description>
1290                                 </configOption>
1291                                 <configOption name="via_port">
1292                                         <synopsis>IP-port of the last Via header from registration.</synopsis>
1293                                         <description><para>
1294                                                 The IP-port of the last Via header is automatically stored based on data present
1295                                                 in incoming SIP REGISTER requests and is not intended to be configured manually.
1296                                         </para></description>
1297                                 </configOption>
1298                                 <configOption name="call_id">
1299                                         <synopsis>Call-ID header from registration.</synopsis>
1300                                         <description><para>
1301                                                 The Call-ID header is automatically stored based on data present
1302                                                 in incoming SIP REGISTER requests and is not intended to be configured manually.
1303                                         </para></description>
1304                                 </configOption>
1305                         </configObject>
1306                         <configObject name="aor">
1307                                 <synopsis>The configuration for a location of an endpoint</synopsis>
1308                                 <description><para>
1309                                         An AoR is what allows Asterisk to contact an endpoint via res_pjsip. If no
1310                                         AoRs are specified, an endpoint will not be reachable by Asterisk.
1311                                         Beyond that, an AoR has other uses within Asterisk, such as inbound
1312                                         registration.
1313                                         </para><para>
1314                                         An <literal>AoR</literal> is a way to allow dialing a group
1315                                         of <literal>Contacts</literal> that all use the same
1316                                         <literal>endpoint</literal> for calls.
1317                                         </para><para>
1318                                         This can be used as another way of grouping a list of contacts to dial
1319                                         rather than specifing them each directly when dialing via the dialplan.
1320                                         This must be used in conjuction with the <literal>PJSIP_DIAL_CONTACTS</literal>.
1321                                         </para><para>
1322                                         Registrations: For Asterisk to match an inbound registration to an endpoint,
1323                                         the AoR object name must match the user portion of the SIP URI in the "To:"
1324                                         header of the inbound SIP registration. That will usually be equivalent
1325                                         to the "user name" set in your hard or soft phones configuration.
1326                                 </para></description>
1327                                 <configOption name="contact">
1328                                         <synopsis>Permanent contacts assigned to AoR</synopsis>
1329                                         <description><para>
1330                                                 Contacts specified will be called whenever referenced
1331                                                 by <literal>chan_pjsip</literal>.
1332                                                 </para><para>
1333                                                 Use a separate "contact=" entry for each contact required. Contacts
1334                                                 are specified using a SIP URI.
1335                                         </para></description>
1336                                 </configOption>
1337                                 <configOption name="default_expiration" default="3600">
1338                                         <synopsis>Default expiration time in seconds for contacts that are dynamically bound to an AoR.</synopsis>
1339                                 </configOption>
1340                                 <configOption name="mailboxes">
1341                                         <synopsis>Allow subscriptions for the specified mailbox(es)</synopsis>
1342                                         <description><para>This option applies when an external entity subscribes to an AoR
1343                                                 for Message Waiting Indications. The mailboxes specified will be subscribed to.
1344                                                 More than one mailbox can be specified with a comma-delimited string.
1345                                                 app_voicemail mailboxes must be specified as mailbox@context;
1346                                                 for example: mailboxes=6001@default. For mailboxes provided by external sources,
1347                                                 such as through the res_external_mwi module, you must specify strings supported by
1348                                                 the external system.
1349                                         </para><para>
1350                                                 For endpoints that cannot SUBSCRIBE for MWI, you can set the <literal>mailboxes</literal> option in your
1351                                                 endpoint configuration section to enable unsolicited MWI NOTIFYs to the endpoint.
1352                                         </para></description>
1353                                 </configOption>
1354                                 <configOption name="voicemail_extension">
1355                                         <synopsis>The voicemail extension to send in the NOTIFY Message-Account header</synopsis>
1356                                 </configOption>
1357                                 <configOption name="maximum_expiration" default="7200">
1358                                         <synopsis>Maximum time to keep an AoR</synopsis>
1359                                         <description><para>
1360                                                 Maximium time to keep a peer with explicit expiration. Time in seconds.
1361                                         </para></description>
1362                                 </configOption>
1363                                 <configOption name="max_contacts" default="0">
1364                                         <synopsis>Maximum number of contacts that can bind to an AoR</synopsis>
1365                                         <description><para>
1366                                                 Maximum number of contacts that can associate with this AoR. This value does
1367                                                 not affect the number of contacts that can be added with the "contact" option.
1368                                                 It only limits contacts added through external interaction, such as
1369                                                 registration.
1370                                                 </para>
1371                                                 <note><para>This should be set to <literal>1</literal> and
1372                                                 <replaceable>remove_existing</replaceable> set to <literal>yes</literal> if you
1373                                                 wish to stick with the older <literal>chan_sip</literal> behaviour.
1374                                                 </para></note>
1375                                         </description>
1376                                 </configOption>
1377                                 <configOption name="minimum_expiration" default="60">
1378                                         <synopsis>Minimum keep alive time for an AoR</synopsis>
1379                                         <description><para>
1380                                                 Minimum time to keep a peer with an explict expiration. Time in seconds.
1381                                         </para></description>
1382                                 </configOption>
1383                                 <configOption name="remove_existing" default="no">
1384                                         <synopsis>Determines whether new contacts replace existing ones.</synopsis>
1385                                         <description><para>
1386                                                 On receiving a new registration to the AoR should it remove
1387                                                 the existing contact that was registered against it?
1388                                                 </para>
1389                                                 <note><para>This should be set to <literal>yes</literal> and
1390                                                 <replaceable>max_contacts</replaceable> set to <literal>1</literal> if you
1391                                                 wish to stick with the older <literal>chan_sip</literal> behaviour.
1392                                                 </para></note>
1393                                         </description>
1394                                 </configOption>
1395                                 <configOption name="type">
1396                                         <synopsis>Must be of type 'aor'.</synopsis>
1397                                 </configOption>
1398                                 <configOption name="qualify_frequency" default="0">
1399                                         <synopsis>Interval at which to qualify an AoR</synopsis>
1400                                         <description><para>
1401                                                 Interval between attempts to qualify the AoR for reachability.
1402                                                 If <literal>0</literal> never qualify. Time in seconds.
1403                                         </para></description>
1404                                 </configOption>
1405                                 <configOption name="qualify_timeout" default="3.0">
1406                                         <synopsis>Timeout for qualify</synopsis>
1407                                         <description><para>
1408                                                 If the contact doesn't repond to the OPTIONS request before the timeout,
1409                                                 the contact is marked unavailable.
1410                                                 If <literal>0</literal> no timeout. Time in fractional seconds.
1411                                         </para></description>
1412                                 </configOption>
1413                                 <configOption name="authenticate_qualify" default="no">
1414                                         <synopsis>Authenticates a qualify request if needed</synopsis>
1415                                         <description><para>
1416                                                 If true and a qualify request receives a challenge or authenticate response
1417                                                 authentication is attempted before declaring the contact available.
1418                                         </para></description>
1419                                 </configOption>
1420                                 <configOption name="outbound_proxy">
1421                                         <synopsis>Outbound proxy used when sending OPTIONS request</synopsis>
1422                                         <description><para>
1423                                                 If set the provided URI will be used as the outbound proxy when an
1424                                                 OPTIONS request is sent to a contact for qualify purposes.
1425                                         </para></description>
1426                                 </configOption>
1427                                 <configOption name="support_path">
1428                                         <synopsis>Enables Path support for REGISTER requests and Route support for other requests.</synopsis>
1429                                         <description><para>
1430                                                 When this option is enabled, the Path headers in register requests will be saved
1431                                                 and its contents will be used in Route headers for outbound out-of-dialog requests
1432                                                 and in Path headers for outbound 200 responses. Path support will also be indicated
1433                                                 in the Supported header.
1434                                         </para></description>
1435                                 </configOption>
1436                         </configObject>
1437                         <configObject name="system">
1438                                 <synopsis>Options that apply to the SIP stack as well as other system-wide settings</synopsis>
1439                                 <description><para>
1440                                         The settings in this section are global. In addition to being global, the values will
1441                                         not be re-evaluated when a reload is performed. This is because the values must be set
1442                                         before the SIP stack is initialized. The only way to reset these values is to either
1443                                         restart Asterisk, or unload res_pjsip.so and then load it again.
1444                                 </para></description>
1445                                 <configOption name="timer_t1" default="500">
1446                                         <synopsis>Set transaction timer T1 value (milliseconds).</synopsis>
1447                                         <description><para>
1448                                                 Timer T1 is the base for determining how long to wait before retransmitting
1449                                                 requests that receive no response when using an unreliable transport (e.g. UDP).
1450                                                 For more information on this timer, see RFC 3261, Section 17.1.1.1.
1451                                         </para></description>
1452                                 </configOption>
1453                                 <configOption name="timer_b" default="32000">
1454                                         <synopsis>Set transaction timer B value (milliseconds).</synopsis>
1455                                         <description><para>
1456                                                 Timer B determines the maximum amount of time to wait after sending an INVITE
1457                                                 request before terminating the transaction. It is recommended that this be set
1458                                                 to 64 * Timer T1, but it may be set higher if desired. For more information on
1459                                                 this timer, see RFC 3261, Section 17.1.1.1.
1460                                         </para></description>
1461                                 </configOption>
1462                                 <configOption name="compact_headers" default="no">
1463                                         <synopsis>Use the short forms of common SIP header names.</synopsis>
1464                                 </configOption>
1465                                 <configOption name="threadpool_initial_size" default="0">
1466                                         <synopsis>Initial number of threads in the res_pjsip threadpool.</synopsis>
1467                                 </configOption>
1468                                 <configOption name="threadpool_auto_increment" default="5">
1469                                         <synopsis>The amount by which the number of threads is incremented when necessary.</synopsis>
1470                                 </configOption>
1471                                 <configOption name="threadpool_idle_timeout" default="60">
1472                                         <synopsis>Number of seconds before an idle thread should be disposed of.</synopsis>
1473                                 </configOption>
1474                                 <configOption name="threadpool_max_size" default="0">
1475                                         <synopsis>Maximum number of threads in the res_pjsip threadpool.
1476                                         A value of 0 indicates no maximum.</synopsis>
1477                                 </configOption>
1478                                 <configOption name="disable_tcp_switch" default="yes">
1479                                         <synopsis>Disable automatic switching from UDP to TCP transports.</synopsis>
1480                                         <description><para>
1481                                                 Disable automatic switching from UDP to TCP transports if outgoing
1482                                                 request is too large.  See RFC 3261 section 18.1.1.
1483                                         </para></description>
1484                                 </configOption>
1485                                 <configOption name="type">
1486                                         <synopsis>Must be of type 'system'.</synopsis>
1487                                 </configOption>
1488                         </configObject>
1489                         <configObject name="global">
1490                                 <synopsis>Options that apply globally to all SIP communications</synopsis>
1491                                 <description><para>
1492                                         The settings in this section are global. Unlike options in the <literal>system</literal>
1493                                         section, these options can be refreshed by performing a reload.
1494                                 </para></description>
1495                                 <configOption name="max_forwards" default="70">
1496                                         <synopsis>Value used in Max-Forwards header for SIP requests.</synopsis>
1497                                 </configOption>
1498                                 <configOption name="keep_alive_interval" default="0">
1499                                         <synopsis>The interval (in seconds) to send keepalives to active connection-oriented transports.</synopsis>
1500                                 </configOption>
1501                                 <configOption name="contact_expiration_check_interval" default="30">
1502                                         <synopsis>The interval (in seconds) to check for expired contacts.</synopsis>
1503                                 </configOption>
1504                                 <configOption name="disable_multi_domain" default="no">
1505                                         <synopsis>Disable Multi Domain support</synopsis>
1506                                         <description><para>
1507                                                 If disabled it can improve realtime performace by reducing number of database requsts.
1508                                         </para></description>
1509                                 </configOption>
1510                                 <configOption name="max_initial_qualify_time" default="0">
1511                                         <synopsis>The maximum amount of time from startup that qualifies should be attempted on all contacts.
1512                                         If greater than the qualify_frequency for an aor, qualify_frequency will be used instead.</synopsis>
1513                                 </configOption>
1514                                 <configOption name="unidentified_request_period" default="5">
1515                                         <synopsis>The number of seconds over which to accumulate unidentified requests.</synopsis>
1516                                         <description><para>
1517                                         If <literal>unidentified_request_count</literal> unidentified requests are received
1518                                         during <literal>unidentified_request_period</literal>, a security event will be generated.
1519                                         </para></description>
1520                                 </configOption>
1521                                 <configOption name="unidentified_request_count" default="5">
1522                                         <synopsis>The number of unidentified requests from a single IP to allow.</synopsis>
1523                                         <description><para>
1524                                         If <literal>unidentified_request_count</literal> unidentified requests are received
1525                                         during <literal>unidentified_request_period</literal>, a security event will be generated.
1526                                         </para></description>
1527                                 </configOption>
1528                                 <configOption name="unidentified_request_prune_interval" default="30">
1529                                         <synopsis>The interval at which unidentified requests are older than
1530                                         twice the unidentified_request_period are pruned.</synopsis>
1531                                 </configOption>
1532                                 <configOption name="type">
1533                                         <synopsis>Must be of type 'global'.</synopsis>
1534                                 </configOption>
1535                                 <configOption name="user_agent" default="Asterisk &lt;Asterisk Version&gt;">
1536                                         <synopsis>Value used in User-Agent header for SIP requests and Server header for SIP responses.</synopsis>
1537                                 </configOption>
1538                                 <configOption name="regcontext" default="">
1539                                         <synopsis>When set, Asterisk will dynamically create and destroy a NoOp priority 1 extension for a given
1540                                                 peer who registers or unregisters with us.</synopsis>
1541                                 </configOption>
1542                                 <configOption name="default_outbound_endpoint" default="default_outbound_endpoint">
1543                                         <synopsis>Endpoint to use when sending an outbound request to a URI without a specified endpoint.</synopsis>
1544                                 </configOption>
1545                                 <configOption name="default_voicemail_extension">
1546                                         <synopsis>The voicemail extension to send in the NOTIFY Message-Account header if not specified on endpoint or aor</synopsis>
1547                                 </configOption>
1548                                 <configOption name="debug" default="no">
1549                                         <synopsis>Enable/Disable SIP debug logging.  Valid options include yes|no or
1550                                                 a host address</synopsis>
1551                                 </configOption>
1552                                 <configOption name="endpoint_identifier_order" default="ip,username,anonymous">
1553                                         <synopsis>The order by which endpoint identifiers are processed and checked.
1554                                                 Identifier names are usually derived from and can be found in the endpoint
1555                                                 identifier module itself (res_pjsip_endpoint_identifier_*).
1556                                                 You can use the CLI command "pjsip show identifiers" to see the
1557                                                 identifiers currently available.</synopsis>
1558                                         <description>
1559                                                 <note><para>
1560                                                 One of the identifiers is "auth_username" which matches on the username in
1561                                                 an Authentication header.  This method has some security considerations because an
1562                                                 Authentication header is not present on the first message of a dialog when
1563                                                 digest authentication is used.  The client can't generate it until the server
1564                                                 sends the challenge in a 401 response.  Since Asterisk normally sends a security
1565                                                 event when an incoming request can't be matched to an endpoint, using auth_username
1566                                                 requires that the security event be deferred until a request is received with
1567                                                 the Authentication header and only generated if the username doesn't result in a
1568                                                 match.  This may result in a delay before an attack is recognized.  You can control
1569                                                 how many unmatched requests are received from a single ip address before a security
1570                                                 event is generated using the unidentified_request parameters.
1571                                                 </para></note>
1572                                         </description>
1573                                 </configOption>
1574                                 <configOption name="default_from_user" default="asterisk">
1575                                         <synopsis>When Asterisk generates an outgoing SIP request, the From header username will be
1576                                                 set to this value if there is no better option (such as CallerID) to be
1577                                                 used.</synopsis>
1578                                 </configOption>
1579                                 <configOption name="default_realm" default="asterisk">
1580                                         <synopsis>When Asterisk generates a challenge, the digest realm will be
1581                                                 set to this value if there is no better option (such as auth/realm) to be
1582                                                 used.</synopsis>
1583                                 </configOption>
1584                                 <configOption name="mwi_tps_queue_high" default="500">
1585                                         <synopsis>MWI taskprocessor high water alert trigger level.</synopsis>
1586                                         <description>
1587                                                 <para>On a heavily loaded system you may need to adjust the
1588                                                 taskprocessor queue limits.  If any taskprocessor queue size
1589                                                 reaches its high water level then pjsip will stop processing
1590                                                 new requests until the alert is cleared.  The alert clears
1591                                                 when all alerting taskprocessor queues have dropped to their
1592                                                 low water clear level.
1593                                                 </para>
1594                                         </description>
1595                                 </configOption>
1596                                 <configOption name="mwi_tps_queue_low" default="-1">
1597                                         <synopsis>MWI taskprocessor low water clear alert level.</synopsis>
1598                                         <description>
1599                                                 <para>On a heavily loaded system you may need to adjust the
1600                                                 taskprocessor queue limits.  If any taskprocessor queue size
1601                                                 reaches its high water level then pjsip will stop processing
1602                                                 new requests until the alert is cleared.  The alert clears
1603                                                 when all alerting taskprocessor queues have dropped to their
1604                                                 low water clear level.
1605                                                 </para>
1606                                                 <note><para>Set to -1 for the low water level to be 90% of
1607                                                 the high water level.</para></note>
1608                                         </description>
1609                                 </configOption>
1610                                 <configOption name="mwi_disable_initial_unsolicited" default="no">
1611                                         <synopsis>Enable/Disable sending unsolicited MWI to all endpoints on startup.</synopsis>
1612                                         <description>
1613                                                 <para>When the initial unsolicited MWI notification are
1614                                                 enabled on startup then the initial notifications
1615                                                 get sent at startup.  If you have a lot of endpoints
1616                                                 (thousands) that use unsolicited MWI then you may
1617                                                 want to consider disabling the initial startup
1618                                                 notifications.
1619                                                 </para>
1620                                                 <para>When the initial unsolicited MWI notifications are
1621                                                 disabled on startup then the notifications will start
1622                                                 on the endpoint's next contact update.
1623                                                 </para>
1624                                         </description>
1625                                 </configOption>
1626                                 <configOption name="ignore_uri_user_options">
1627                                         <synopsis>Enable/Disable ignoring SIP URI user field options.</synopsis>
1628                                         <description>
1629                                                 <para>If you have this option enabled and there are semicolons
1630                                                 in the user field of a SIP URI then the field is truncated
1631                                                 at the first semicolon.  This effectively makes the semicolon
1632                                                 a non-usable character for PJSIP endpoint names, extensions,
1633                                                 and AORs.  This can be useful for improving compatability with
1634                                                 an ITSP that likes to use user options for whatever reason.
1635                                                 </para>
1636                                                 <example title="Sample SIP URI">
1637                                                         sip:1235557890;phone-context=national@x.x.x.x;user=phone
1638                                                 </example>
1639                                                 <example title="Sample SIP URI user field">
1640                                                         1235557890;phone-context=national
1641                                                 </example>
1642                                                 <example title="Sample SIP URI user field truncated">
1643                                                         1235557890
1644                                                 </example>
1645                                                 <note><para>The caller-id and redirecting number strings
1646                                                 obtained from incoming SIP URI user fields are always truncated
1647                                                 at the first semicolon.</para></note>
1648                                         </description>
1649                                 </configOption>
1650                         </configObject>
1651                 </configFile>
1652         </configInfo>
1653         <manager name="PJSIPQualify" language="en_US">
1654                 <synopsis>
1655                         Qualify a chan_pjsip endpoint.
1656                 </synopsis>
1657                 <syntax>
1658                         <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" />
1659                         <parameter name="Endpoint" required="true">
1660                                 <para>The endpoint you want to qualify.</para>
1661                         </parameter>
1662                 </syntax>
1663                 <description>
1664                         <para>Qualify a chan_pjsip endpoint.</para>
1665                 </description>
1666         </manager>
1667         <managerEvent language="en_US" name="IdentifyDetail">
1668                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1669                         <synopsis>Provide details about an identify section.</synopsis>
1670                         <syntax>
1671                                 <parameter name="ObjectType">
1672                                         <para>The object's type. This will always be 'identify'.</para>
1673                                 </parameter>
1674                                 <parameter name="ObjectName">
1675                                         <para>The name of this object.</para>
1676                                 </parameter>
1677                                 <parameter name="Endpoint">
1678                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip_endpoint_identifier_ip']/configFile[@name='pjsip.conf']/configObject[@name='identify']/configOption[@name='endpoint']/synopsis/node())"/></para>
1679                                 </parameter>
1680                                 <parameter name="Match">
1681                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip_endpoint_identifier_ip']/configFile[@name='pjsip.conf']/configObject[@name='identify']/configOption[@name='match']/synopsis/node())"/></para>
1682                                 </parameter>
1683                                 <parameter name="EndpointName">
1684                                         <para>The name of the endpoint associated with this information.</para>
1685                                 </parameter>
1686                         </syntax>
1687                 </managerEventInstance>
1688         </managerEvent>
1689         <managerEvent language="en_US" name="AorDetail">
1690                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1691                         <synopsis>Provide details about an Address of Record (AoR) section.</synopsis>
1692                         <syntax>
1693                                 <parameter name="ObjectType">
1694                                         <para>The object's type. This will always be 'aor'.</para>
1695                                 </parameter>
1696                                 <parameter name="ObjectName">
1697                                         <para>The name of this object.</para>
1698                                 </parameter>
1699                                 <parameter name="MinimumExpiration">
1700                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='minimum_expiration']/synopsis/node())"/></para>
1701                                 </parameter>
1702                                 <parameter name="MaximumExpiration">
1703                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='maximum_expiration']/synopsis/node())"/></para>
1704                                 </parameter>
1705                                 <parameter name="DefaultExpiration">
1706                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='default_expiration']/synopsis/node())"/></para>
1707                                 </parameter>
1708                                 <parameter name="QualifyFrequency">
1709                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='qualify_frequency']/synopsis/node())"/></para>
1710                                 </parameter>
1711                                 <parameter name="AuthenticateQualify">
1712                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='authenticate_qualify']/synopsis/node())"/></para>
1713                                 </parameter>
1714                                 <parameter name="MaxContacts">
1715                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='max_contacts']/synopsis/node())"/></para>
1716                                 </parameter>
1717                                 <parameter name="RemoveExisting">
1718                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='remove_existing']/synopsis/node())"/></para>
1719                                 </parameter>
1720                                 <parameter name="Mailboxes">
1721                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='mailboxes']/synopsis/node())"/></para>
1722                                 </parameter>
1723                                 <parameter name="OutboundProxy">
1724                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='outbound_proxy']/synopsis/node())"/></para>
1725                                 </parameter>
1726                                 <parameter name="SupportPath">
1727                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='support_path']/synopsis/node())"/></para>
1728                                 </parameter>
1729                                 <parameter name="TotalContacts">
1730                                         <para>The total number of contacts associated with this AoR.</para>
1731                                 </parameter>
1732                                 <parameter name="ContactsRegistered">
1733                                         <para>The number of non-permanent contacts associated with this AoR.</para>
1734                                 </parameter>
1735                                 <parameter name="EndpointName">
1736                                         <para>The name of the endpoint associated with this information.</para>
1737                                 </parameter>
1738                         </syntax>
1739                 </managerEventInstance>
1740         </managerEvent>
1741         <managerEvent language="en_US" name="AuthDetail">
1742                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1743                         <synopsis>Provide details about an authentication section.</synopsis>
1744                         <syntax>
1745                                 <parameter name="ObjectType">
1746                                         <para>The object's type. This will always be 'auth'.</para>
1747                                 </parameter>
1748                                 <parameter name="ObjectName">
1749                                         <para>The name of this object.</para>
1750                                 </parameter>
1751                                 <parameter name="Username">
1752                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='username']/synopsis/node())"/></para>
1753                                 </parameter>
1754                                 <parameter name="Password">
1755                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='username']/synopsis/node())"/></para>
1756                                 </parameter>
1757                                 <parameter name="Md5Cred">
1758                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='md5_cred']/synopsis/node())"/></para>
1759                                 </parameter>
1760                                 <parameter name="Realm">
1761                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='realm']/synopsis/node())"/></para>
1762                                 </parameter>
1763                                 <parameter name="NonceLifetime">
1764                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='nonce_lifetime']/synopsis/node())"/></para>
1765                                 </parameter>
1766                                 <parameter name="AuthType">
1767                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='auth_type']/synopsis/node())"/></para>
1768                                 </parameter>
1769                                 <parameter name="EndpointName">
1770                                         <para>The name of the endpoint associated with this information.</para>
1771                                 </parameter>
1772                         </syntax>
1773                 </managerEventInstance>
1774         </managerEvent>
1775         <managerEvent language="en_US" name="TransportDetail">
1776                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1777                         <synopsis>Provide details about an authentication section.</synopsis>
1778                         <syntax>
1779                                 <parameter name="ObjectType">
1780                                         <para>The object's type. This will always be 'transport'.</para>
1781                                 </parameter>
1782                                 <parameter name="ObjectName">
1783                                         <para>The name of this object.</para>
1784                                 </parameter>
1785                                 <parameter name="Protocol">
1786                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='protocol']/synopsis/node())"/></para>
1787                                 </parameter>
1788                                 <parameter name="Bind">
1789                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='bind']/synopsis/node())"/></para>
1790                                 </parameter>
1791                                 <parameter name="AsycOperations">
1792                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='async_operations']/synopsis/node())"/></para>
1793                                 </parameter>
1794                                 <parameter name="CaListFile">
1795                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='ca_list_file']/synopsis/node())"/></para>
1796                                 </parameter>
1797                                 <parameter name="CaListPath">
1798                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='ca_list_path']/synopsis/node())"/></para>
1799                                 </parameter>
1800                                 <parameter name="CertFile">
1801                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='cert_file']/synopsis/node())"/></para>
1802                                 </parameter>
1803                                 <parameter name="PrivKeyFile">
1804                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='priv_key_file']/synopsis/node())"/></para>
1805                                 </parameter>
1806                                 <parameter name="Password">
1807                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='password']/synopsis/node())"/></para>
1808                                 </parameter>
1809                                 <parameter name="ExternalSignalingAddress">
1810                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='external_signaling_address']/synopsis/node())"/></para>
1811                                 </parameter>
1812                                 <parameter name="ExternalSignalingPort">
1813                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='external_signaling_port']/synopsis/node())"/></para>
1814                                 </parameter>
1815                                 <parameter name="ExternalMediaAddress">
1816                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='external_media_address']/synopsis/node())"/></para>
1817                                 </parameter>
1818                                 <parameter name="Domain">
1819                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='domain']/synopsis/node())"/></para>
1820                                 </parameter>
1821                                 <parameter name="VerifyServer">
1822                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='verify_server']/synopsis/node())"/></para>
1823                                 </parameter>
1824                                 <parameter name="VerifyClient">
1825                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='verify_client']/synopsis/node())"/></para>
1826                                 </parameter>
1827                                 <parameter name="RequireClientCert">
1828                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='require_client_cert']/synopsis/node())"/></para>
1829                                 </parameter>
1830                                 <parameter name="Method">
1831                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='method']/synopsis/node())"/></para>
1832                                 </parameter>
1833                                 <parameter name="Cipher">
1834                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='cipher']/synopsis/node())"/></para>
1835                                 </parameter>
1836                                 <parameter name="LocalNet">
1837                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='local_net']/synopsis/node())"/></para>
1838                                 </parameter>
1839                                 <parameter name="Tos">
1840                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='tos']/synopsis/node())"/></para>
1841                                 </parameter>
1842                                 <parameter name="Cos">
1843                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='cos']/synopsis/node())"/></para>
1844                                 </parameter>
1845                                 <parameter name="WebsocketWriteTimeout">
1846                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='websocket_write_timeout']/synopsis/node())"/></para>
1847                                 </parameter>
1848                                 <parameter name="EndpointName">
1849                                         <para>The name of the endpoint associated with this information.</para>
1850                                 </parameter>
1851                         </syntax>
1852                 </managerEventInstance>
1853         </managerEvent>
1854         <managerEvent language="en_US" name="EndpointDetail">
1855                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1856                         <synopsis>Provide details about an endpoint section.</synopsis>
1857                         <syntax>
1858                                 <parameter name="ObjectType">
1859                                         <para>The object's type. This will always be 'endpoint'.</para>
1860                                 </parameter>
1861                                 <parameter name="ObjectName">
1862                                         <para>The name of this object.</para>
1863                                 </parameter>
1864                                 <parameter name="Context">
1865                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='context']/synopsis/node())"/></para>
1866                                 </parameter>
1867                                 <parameter name="Disallow">
1868                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='disallow']/synopsis/node())"/></para>
1869                                 </parameter>
1870                                 <parameter name="Allow">
1871                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='allow']/synopsis/node())"/></para>
1872                                 </parameter>
1873                                 <parameter name="DtmfMode">
1874                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtmf_mode']/synopsis/node())"/></para>
1875                                 </parameter>
1876                                 <parameter name="RtpIpv6">
1877                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='rtp_ipv6']/synopsis/node())"/></para>
1878                                 </parameter>
1879                                 <parameter name="RtpSymmetric">
1880                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='rtp_symmetric']/synopsis/node())"/></para>
1881                                 </parameter>
1882                                 <parameter name="IceSupport">
1883                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='ice_support']/synopsis/node())"/></para>
1884                                 </parameter>
1885                                 <parameter name="UsePtime">
1886                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='use_ptime']/synopsis/node())"/></para>
1887                                 </parameter>
1888                                 <parameter name="ForceRport">
1889                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='force_rport']/synopsis/node())"/></para>
1890                                 </parameter>
1891                                 <parameter name="RewriteContact">
1892                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='rewrite_contact']/synopsis/node())"/></para>
1893                                 </parameter>
1894                                 <parameter name="Transport">
1895                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='transport']/synopsis/node())"/></para>
1896                                 </parameter>
1897                                 <parameter name="OutboundProxy">
1898                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='outbound_proxy']/synopsis/node())"/></para>
1899                                 </parameter>
1900                                 <parameter name="MohSuggest">
1901                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='moh_suggest']/synopsis/node())"/></para>
1902                                 </parameter>
1903                                 <parameter name="100rel">
1904                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='100rel']/synopsis/node())"/></para>
1905                                 </parameter>
1906                                 <parameter name="Timers">
1907                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='timers']/synopsis/node())"/></para>
1908                                 </parameter>
1909                                 <parameter name="TimersMinSe">
1910                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='timers_min_se']/synopsis/node())"/></para>
1911                                 </parameter>
1912                                 <parameter name="TimersSessExpires">
1913                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='timers_sess_expires']/synopsis/node())"/></para>
1914                                 </parameter>
1915                                 <parameter name="Auth">
1916                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='auth']/synopsis/node())"/></para>
1917                                 </parameter>
1918                                 <parameter name="OutboundAuth">
1919                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='outbound_auth']/synopsis/node())"/></para>
1920                                 </parameter>
1921                                 <parameter name="Aors">
1922                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='aors']/synopsis/node())"/></para>
1923                                 </parameter>
1924                                 <parameter name="MediaAddress">
1925                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='media_address']/synopsis/node())"/></para>
1926                                 </parameter>
1927                                 <parameter name="IdentifyBy">
1928                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='identify_by']/synopsis/node())"/></para>
1929                                 </parameter>
1930                                 <parameter name="DirectMedia">
1931                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='direct_media']/synopsis/node())"/></para>
1932                                 </parameter>
1933                                 <parameter name="DirectMediaMethod">
1934                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='direct_media_method']/synopsis/node())"/></para>
1935                                 </parameter>
1936                                 <parameter name="ConnectedLineMethod">
1937                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='connected_line_method']/synopsis/node())"/></para>
1938                                 </parameter>
1939                                 <parameter name="DirectMediaGlareMitigation">
1940                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='direct_media_glare_mitigation']/synopsis/node())"/></para>
1941                                 </parameter>
1942                                 <parameter name="DisableDirectMediaOnNat">
1943                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='disable_direct_media_on_nat']/synopsis/node())"/></para>
1944                                 </parameter>
1945                                 <parameter name="Callerid">
1946                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='callerid']/synopsis/node())"/></para>
1947                                 </parameter>
1948                                 <parameter name="CalleridPrivacy">
1949                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='callerid_privacy']/synopsis/node())"/></para>
1950                                 </parameter>
1951                                 <parameter name="CalleridTag">
1952                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='callerid_tag']/synopsis/node())"/></para>
1953                                 </parameter>
1954                                 <parameter name="TrustIdInbound">
1955                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='trust_id_inbound']/synopsis/node())"/></para>
1956                                 </parameter>
1957                                 <parameter name="TrustIdOutbound">
1958                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='trust_id_outbound']/synopsis/node())"/></para>
1959                                 </parameter>
1960                                 <parameter name="SendPai">
1961                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='send_pai']/synopsis/node())"/></para>
1962                                 </parameter>
1963                                 <parameter name="SendRpid">
1964                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='send_rpid']/synopsis/node())"/></para>
1965                                 </parameter>
1966                                 <parameter name="SendDiversion">
1967                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='send_diversion']/synopsis/node())"/></para>
1968                                 </parameter>
1969                                 <parameter name="Mailboxes">
1970                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='mailboxes']/synopsis/node())"/></para>
1971                                 </parameter>
1972                                 <parameter name="AggregateMwi">
1973                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='aggregate_mwi']/synopsis/node())"/></para>
1974                                 </parameter>
1975                                 <parameter name="MediaEncryption">
1976                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='media_encryption']/synopsis/node())"/></para>
1977                                 </parameter>
1978                                 <parameter name="MediaEncryptionOptimistic">
1979                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='media_encryption_optimistic']/synopsis/node())"/></para>
1980                                 </parameter>
1981                                 <parameter name="UseAvpf">
1982                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='use_avpf']/synopsis/node())"/></para>
1983                                 </parameter>
1984                                 <parameter name="ForceAvp">
1985                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='force_avp']/synopsis/node())"/></para>
1986                                 </parameter>
1987                                 <parameter name="MediaUseReceivedTransport">
1988                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='media_use_received_transport']/synopsis/node())"/></para>
1989                                 </parameter>
1990                                 <parameter name="OneTouchRecording">
1991                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='one_touch_recording']/synopsis/node())"/></para>
1992                                 </parameter>
1993                                 <parameter name="InbandProgress">
1994                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='inband_progress']/synopsis/node())"/></para>
1995                                 </parameter>
1996                                 <parameter name="CallGroup">
1997                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='call_group']/synopsis/node())"/></para>
1998                                 </parameter>
1999                                 <parameter name="PickupGroup">
2000                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='pickup_group']/synopsis/node())"/></para>
2001                                 </parameter>
2002                                 <parameter name="NamedCallGroup">
2003                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='named_call_group']/synopsis/node())"/></para>
2004                                 </parameter>
2005                                 <parameter name="NamedPickupGroup">
2006                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='named_pickup_group']/synopsis/node())"/></para>
2007                                 </parameter>
2008                                 <parameter name="DeviceStateBusyAt">
2009                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='device_state_busy_at']/synopsis/node())"/></para>
2010                                 </parameter>
2011                                 <parameter name="T38Udptl">
2012                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='t38_udptl']/synopsis/node())"/></para>
2013                                 </parameter>
2014                                 <parameter name="T38UdptlEc">
2015                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='t38_udptl_ec']/synopsis/node())"/></para>
2016                                 </parameter>
2017                                 <parameter name="T38UdptlMaxdatagram">
2018                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='t38_udptl_maxdatagram']/synopsis/node())"/></para>
2019                                 </parameter>
2020                                 <parameter name="FaxDetect">
2021                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='fax_detect']/synopsis/node())"/></para>
2022                                 </parameter>
2023                                 <parameter name="T38UdptlNat">
2024                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='t38_udptl_nat']/synopsis/node())"/></para>
2025                                 </parameter>
2026                                 <parameter name="T38UdptlIpv6">
2027                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='t38_udptl_ipv6']/synopsis/node())"/></para>
2028                                 </parameter>
2029                                 <parameter name="ToneZone">
2030                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='tone_zone']/synopsis/node())"/></para>
2031                                 </parameter>
2032                                 <parameter name="Language">
2033                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='language']/synopsis/node())"/></para>
2034                                 </parameter>
2035                                 <parameter name="RecordOnFeature">
2036                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='record_on_feature']/synopsis/node())"/></para>
2037                                 </parameter>
2038                                 <parameter name="RecordOffFeature">
2039                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='record_off_feature']/synopsis/node())"/></para>
2040                                 </parameter>
2041                                 <parameter name="AllowTransfer">
2042                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='allow_transfer']/synopsis/node())"/></para>
2043                                 </parameter>
2044                                 <parameter name="UserEqPhone">
2045                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='user_eq_phone']/synopsis/node())"/></para>
2046                                 </parameter>
2047                                 <parameter name="MohPassthrough">
2048                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='moh_passthrough']/synopsis/node())"/></para>
2049                                 </parameter>
2050                                 <parameter name="SdpOwner">
2051                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='sdp_owner']/synopsis/node())"/></para>
2052                                 </parameter>
2053                                 <parameter name="SdpSession">
2054                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='sdp_session']/synopsis/node())"/></para>
2055                                 </parameter>
2056                                 <parameter name="TosAudio">
2057                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='tos_audio']/synopsis/node())"/></para>
2058                                 </parameter>
2059                                 <parameter name="TosVideo">
2060                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='tos_video']/synopsis/node())"/></para>
2061                                 </parameter>
2062                                 <parameter name="CosAudio">
2063                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='cos_audio']/synopsis/node())"/></para>
2064                                 </parameter>
2065                                 <parameter name="CosVideo">
2066                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='cos_video']/synopsis/node())"/></para>
2067                                 </parameter>
2068                                 <parameter name="AllowSubscribe">
2069                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='allow_subscribe']/synopsis/node())"/></para>
2070                                 </parameter>
2071                                 <parameter name="SubMinExpiry">
2072                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='sub_min_expiry']/synopsis/node())"/></para>
2073                                 </parameter>
2074                                 <parameter name="FromUser">
2075                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='from_user']/synopsis/node())"/></para>
2076                                 </parameter>
2077                                 <parameter name="FromDomain">
2078                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='from_domain']/synopsis/node())"/></para>
2079                                 </parameter>
2080                                 <parameter name="MwiFromUser">
2081                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='mwi_from_user']/synopsis/node())"/></para>
2082                                 </parameter>
2083                                 <parameter name="RtpEngine">
2084                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='rtp_engine']/synopsis/node())"/></para>
2085                                 </parameter>
2086                                 <parameter name="DtlsVerify">
2087                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtls_verify']/synopsis/node())"/></para>
2088                                 </parameter>
2089                                 <parameter name="DtlsRekey">
2090                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtls_rekey']/synopsis/node())"/></para>
2091                                 </parameter>
2092                                 <parameter name="DtlsCertFile">
2093                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtls_cert_file']/synopsis/node())"/></para>
2094                                 </parameter>
2095                                 <parameter name="DtlsPrivateKey">
2096                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtls_private_key']/synopsis/node())"/></para>
2097                                 </parameter>
2098                                 <parameter name="DtlsCipher">
2099                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtls_cipher']/synopsis/node())"/></para>
2100                                 </parameter>
2101                                 <parameter name="DtlsCaFile">
2102                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtls_ca_file']/synopsis/node())"/></para>
2103                                 </parameter>
2104                                 <parameter name="DtlsCaPath">
2105                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtls_ca_path']/synopsis/node())"/></para>
2106                                 </parameter>
2107                                 <parameter name="DtlsSetup">
2108                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtls_setup']/synopsis/node())"/></para>
2109                                 </parameter>
2110                                 <parameter name="SrtpTag32">
2111                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='srtp_tag_32']/synopsis/node())"/></para>
2112                                 </parameter>
2113                                 <parameter name="RedirectMethod">
2114                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='redirect_method']/synopsis/node())"/></para>
2115                                 </parameter>
2116                                 <parameter name="SetVar">
2117                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='set_var']/synopsis/node())"/></para>
2118                                 </parameter>
2119                                 <parameter name="MessageContext">
2120                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='message_context']/synopsis/node())"/></para>
2121                                 </parameter>
2122                                 <parameter name="Accountcode">
2123                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='accountcode']/synopsis/node())"/></para>
2124                                 </parameter>
2125                                 <parameter name="PreferredCodecOnly">
2126                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='preferred_codec_only']/synopsis/node())"/></para>
2127                                 </parameter>
2128                                 <parameter name="DeviceState">
2129                                         <para>The aggregate device state for this endpoint.</para>
2130                                 </parameter>
2131                                 <parameter name="ActiveChannels">
2132                                         <para>The number of active channels associated with this endpoint.</para>
2133                                 </parameter>
2134                                 <parameter name="SubscribeContext">
2135                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='subscribe_context']/synopsis/node())"/></para>
2136                                 </parameter>
2137                         </syntax>
2138                 </managerEventInstance>
2139         </managerEvent>
2140         <managerEvent language="en_US" name="ContactStatusDetail">
2141                 <managerEventInstance class="EVENT_FLAG_COMMAND">
2142                         <synopsis>Provide details about a contact's status.</synopsis>
2143                         <syntax>
2144                                 <parameter name="AOR">
2145                                         <para>The AoR that owns this contact.</para>
2146                                 </parameter>
2147                                 <parameter name="URI">
2148                                         <para>This contact's URI.</para>
2149                                 </parameter>
2150                                 <parameter name="Status">
2151                                         <para>This contact's status.</para>
2152                                         <enumlist>
2153                                                 <enum name="Reachable"/>
2154                                                 <enum name="Unreachable"/>
2155                                         </enumlist>
2156                                 </parameter>
2157                                 <parameter name="RoundtripUsec">
2158                                         <para>The round trip time in microseconds.</para>
2159                                 </parameter>
2160                                 <parameter name="EndpointName">
2161                                         <para>The name of the endpoint associated with this information.</para>
2162                                 </parameter>
2163                                 <parameter name="UserAgent">
2164                                         <para>Content of the User-Agent header in REGISTER request</para>
2165                                 </parameter>
2166                                 <parameter name="RegExpire">
2167                                         <para>Absolute time that this contact is no longer valid after</para>
2168                                 </parameter>
2169                                 <parameter name="ViaAddress">
2170                                         <para>IP address:port of the last Via header in REGISTER request.
2171                                         Will only appear in the event if available.</para>
2172                                 </parameter>
2173                                 <parameter name="CallID">
2174                                         <para>Content of the Call-ID heade