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