Merge "res_pjsip/res_pjsip_callerid: NULL check on caller id name string"
[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 <>
7  *
8  * See 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  */
19 #include "asterisk.h"
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>
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"
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  ***/
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
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 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 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 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 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>
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                         </configObject>
967                         <configObject name="auth">
968                                 <synopsis>Authentication type</synopsis>
969                                 <description><para>
970                                         Authentication objects hold the authentication information for use
971                                         by other objects such as <literal>endpoints</literal> or <literal>registrations</literal>.
972                                         This also allows for multiple objects to use a single auth object. See
973                                         the <literal>auth_type</literal> config option for password style choices.
974                                 </para></description>
975                                 <configOption name="auth_type" default="userpass">
976                                         <synopsis>Authentication type</synopsis>
977                                         <description><para>
978                                                 This option specifies which of the password style config options should be read
979                                                 when trying to authenticate an endpoint inbound request. If set to <literal>userpass</literal>
980                                                 then we'll read from the 'password' option. For <literal>md5</literal> we'll read
981                                                 from 'md5_cred'.
982                                                 </para>
983                                                 <enumlist>
984                                                         <enum name="md5"/>
985                                                         <enum name="userpass"/>
986                                                 </enumlist>
987                                         </description>
988                                 </configOption>
989                                 <configOption name="nonce_lifetime" default="32">
990                                         <synopsis>Lifetime of a nonce associated with this authentication config.</synopsis>
991                                 </configOption>
992                                 <configOption name="md5_cred">
993                                         <synopsis>MD5 Hash used for authentication.</synopsis>
994                                         <description><para>Only used when auth_type is <literal>md5</literal>.</para></description>
995                                 </configOption>
996                                 <configOption name="password">
997                                         <synopsis>PlainText password used for authentication.</synopsis>
998                                         <description><para>Only used when auth_type is <literal>userpass</literal>.</para></description>
999                                 </configOption>
1000                                 <configOption name="realm">
1001                                         <synopsis>SIP realm for endpoint</synopsis>
1002                                         <description><para>
1003                                                 The treatment of this value depends upon how the authentication
1004                                                 object is used.
1005                                                 </para><para>
1006                                                 When used as an inbound authentication object, the realm is sent
1007                                                 as part of the challenge so the peer can know which key to use
1008                                                 when responding.  An empty value will use the
1009                                                 <replaceable>global</replaceable> section's
1010                                                 <literal>default_realm</literal> value when issuing a challenge.
1011                                                 </para><para>
1012                                                 When used as an outbound authentication object, the realm is
1013                                                 matched with the received challenge realm to determine which
1014                                                 authentication object to use when responding to the challenge.  An
1015                                                 empty value matches any challenging realm when determining
1016                                                 which authentication object matches a received challenge.
1017                                                 </para>
1018                                                 <note><para>
1019                                                 Using the same auth section for inbound and outbound
1020                                                 authentication is not recommended.  There is a difference in
1021                                                 meaning for an empty realm setting between inbound and outbound
1022                                                 authentication uses.</para></note>
1023                                         </description>
1024                                 </configOption>
1025                                 <configOption name="type">
1026                                         <synopsis>Must be 'auth'</synopsis>
1027                                 </configOption>
1028                                 <configOption name="username">
1029                                         <synopsis>Username to use for account</synopsis>
1030                                 </configOption>
1031                         </configObject>
1032                         <configObject name="domain_alias">
1033                                 <synopsis>Domain Alias</synopsis>
1034                                 <description><para>
1035                                         Signifies that a domain is an alias. If the domain on a session is
1036                                         not found to match an AoR then this object is used to see if we have
1037                                         an alias for the AoR to which the endpoint is binding. This objects
1038                                         name as defined in configuration should be the domain alias and a
1039                                         config option is provided to specify the domain to be aliased.
1040                                 </para></description>
1041                                 <configOption name="type">
1042                                         <synopsis>Must be of type 'domain_alias'.</synopsis>
1043                                 </configOption>
1044                                 <configOption name="domain">
1045                                         <synopsis>Domain to be aliased</synopsis>
1046                                 </configOption>
1047                         </configObject>
1048                         <configObject name="transport">
1049                                 <synopsis>SIP Transport</synopsis>
1050                                 <description><para>
1051                                         <emphasis>Transports</emphasis>
1052                                         </para>
1053                                         <para>There are different transports and protocol derivatives
1054                                                 supported by <literal>res_pjsip</literal>. They are in order of
1055                                                 preference: UDP, TCP, and WebSocket (WS).</para>
1056                                         <note><para>Changes to transport configuration in pjsip.conf will only be
1057                                                 effected on a complete restart of Asterisk. A module reload
1058                                                 will not suffice.</para></note>
1059                                 </description>
1060                                 <configOption name="async_operations" default="1">
1061                                         <synopsis>Number of simultaneous Asynchronous Operations</synopsis>
1062                                 </configOption>
1063                                 <configOption name="bind">
1064                                         <synopsis>IP Address and optional port to bind to for this transport</synopsis>
1065                                 </configOption>
1066                                 <configOption name="ca_list_file">
1067                                         <synopsis>File containing a list of certificates to read (TLS ONLY)</synopsis>
1068                                 </configOption>
1069                                 <configOption name="ca_list_path">
1070                                         <synopsis>Path to directory containing a list of certificates to read (TLS ONLY)</synopsis>
1071                                 </configOption>
1072                                 <configOption name="cert_file">
1073                                         <synopsis>Certificate file for endpoint (TLS ONLY)</synopsis>
1074                                         <description><para>
1075                                                 A path to a .crt or .pem file can be provided.  However, only
1076                                                 the certificate is read from the file, not the private key.
1077                                                 The <literal>priv_key_file</literal> option must supply a
1078                                                 matching key file.
1079                                         </para></description>
1080                                 </configOption>
1081                                 <configOption name="cipher">
1082                                         <synopsis>Preferred cryptography cipher names (TLS ONLY)</synopsis>
1083                                         <description>
1084                                         <para>Comma separated list of cipher names or numeric equivalents.
1085                                                 Numeric equivalents can be either decimal or hexadecimal (0xX).
1086                                         </para>
1087                                         <para>There are many cipher names.  Use the CLI command
1088                                                 <literal>pjsip list ciphers</literal> to see a list of cipher
1089                                                 names available for your installation.  See link for more:</para>
1090                                         <para>
1091                                         </para>
1092                                         </description>
1093                                 </configOption>
1094                                 <configOption name="domain">
1095                                         <synopsis>Domain the transport comes from</synopsis>
1096                                 </configOption>
1097                                 <configOption name="external_media_address">
1098                                         <synopsis>External IP address to use in RTP handling</synopsis>
1099                                         <description><para>
1100                                                 When a request or response is sent out, if the destination of the
1101                                                 message is outside the IP network defined in the option <literal>localnet</literal>,
1102                                                 and the media address in the SDP is within the localnet network, then the
1103                                                 media address in the SDP will be rewritten to the value defined for
1104                                                 <literal>external_media_address</literal>.
1105                                         </para></description>
1106                                 </configOption>
1107                                 <configOption name="external_signaling_address">
1108                                         <synopsis>External address for SIP signalling</synopsis>
1109                                 </configOption>
1110                                 <configOption name="external_signaling_port" default="0">
1111                                         <synopsis>External port for SIP signalling</synopsis>
1112                                 </configOption>
1113                                 <configOption name="method">
1114                                         <synopsis>Method of SSL transport (TLS ONLY)</synopsis>
1115                                         <description>
1116                                                 <enumlist>
1117                                                         <enum name="default">
1118                                                                 <para>The default as defined by PJSIP. This is currently TLSv1, but may change with future releases.</para>
1119                                                         </enum>
1120                                                         <enum name="unspecified">
1121                                                                 <para>This option is equivalent to setting 'default'</para>
1122                                                         </enum>
1123                                                         <enum name="tlsv1" />
1124                                                         <enum name="sslv2" />
1125                                                         <enum name="sslv3" />
1126                                                         <enum name="sslv23" />
1127                                                 </enumlist>
1128                                         </description>
1129                                 </configOption>
1130                                 <configOption name="local_net">
1131                                         <synopsis>Network to consider local (used for NAT purposes).</synopsis>
1132                                         <description><para>This must be in CIDR or dotted decimal format with the IP
1133                                         and mask separated with a slash ('/').</para></description>
1134                                 </configOption>
1135                                 <configOption name="password">
1136                                         <synopsis>Password required for transport</synopsis>
1137                                 </configOption>
1138                                 <configOption name="priv_key_file">
1139                                         <synopsis>Private key file (TLS ONLY)</synopsis>
1140                                 </configOption>
1141                                 <configOption name="protocol" default="udp">
1142                                         <synopsis>Protocol to use for SIP traffic</synopsis>
1143                                         <description>
1144                                                 <enumlist>
1145                                                         <enum name="udp" />
1146                                                         <enum name="tcp" />
1147                                                         <enum name="tls" />
1148                                                         <enum name="ws" />
1149                                                         <enum name="wss" />
1150                                                 </enumlist>
1151                                         </description>
1152                                 </configOption>
1153                                 <configOption name="require_client_cert" default="false">
1154                                         <synopsis>Require client certificate (TLS ONLY)</synopsis>
1155                                 </configOption>
1156                                 <configOption name="type">
1157                                         <synopsis>Must be of type 'transport'.</synopsis>
1158                                 </configOption>
1159                                 <configOption name="verify_client" default="false">
1160                                         <synopsis>Require verification of client certificate (TLS ONLY)</synopsis>
1161                                 </configOption>
1162                                 <configOption name="verify_server" default="false">
1163                                         <synopsis>Require verification of server certificate (TLS ONLY)</synopsis>
1164                                 </configOption>
1165                                 <configOption name="tos" default="false">
1166                                         <synopsis>Enable TOS for the signalling sent over this transport</synopsis>
1167                                         <description>
1168                                         <para>See <literal></literal>
1169                                         for more information on this parameter.</para>
1170                                         <note><para>This option does not apply to the <replaceable>ws</replaceable>
1171                                         or the <replaceable>wss</replaceable> protocols.</para></note>
1172                                         </description>
1173                                 </configOption>
1174                                 <configOption name="cos" default="false">
1175                                         <synopsis>Enable COS for the signalling sent over this transport</synopsis>
1176                                         <description>
1177                                         <para>See <literal></literal>
1178                                         for more information on this parameter.</para>
1179                                         <note><para>This option does not apply to the <replaceable>ws</replaceable>
1180                                         or the <replaceable>wss</replaceable> protocols.</para></note>
1181                                         </description>
1182                                 </configOption>
1183                                 <configOption name="websocket_write_timeout">
1184                                         <synopsis>The timeout (in milliseconds) to set on WebSocket connections.</synopsis>
1185                                         <description>
1186                                                 <para>If a websocket connection accepts input slowly, the timeout
1187                                                 for writes to it can be increased to keep it from being disconnected.
1188                                                 Value is in milliseconds; default is 100 ms.</para>
1189                                         </description>
1190                                 </configOption>
1191                                 <configOption name="allow_reload" default="no">
1192                                         <synopsis>Allow this transport to be reloaded.</synopsis>
1193                                         <description>
1194                                                 <para>Allow this transport to be reloaded when res_pjsip is reloaded.
1195                                                 This option defaults to "no" because reloading a transport may disrupt
1196                                                 in-progress calls.</para>
1197                                         </description>
1198                                 </configOption>
1199                                 <configOption name="symmetric_transport" default="no">
1200                                         <synopsis>Use the same transport for outgoing reqests as incoming ones.</synopsis>
1201                                         <description>
1202                                                 <para>When a request from a dynamic contact
1203                                                         comes in on a transport with this option set to 'yes',
1204                                                         the transport name will be saved and used for subsequent
1205                                                         outgoing requests like OPTIONS, NOTIFY and INVITE.  It's
1206                                                         saved as a contact uri parameter named 'x-ast-txp' and will
1207                                                         display with the contact uri in CLI, AMI, and ARI output.
1208                                                         On the outgoing request, if a transport wasn't explicitly
1209                                                         set on the endpoint AND the request URI is not a hostname,
1210                                                         the saved transport will be used and the 'x-ast-txp'
1211                                                         parameter stripped from the outgoing packet.
1212                                                 </para>
1213                                         </description>
1214                                 </configOption>
1215                         </configObject>
1216                         <configObject name="contact">
1217                                 <synopsis>A way of creating an aliased name to a SIP URI</synopsis>
1218                                 <description><para>
1219                                         Contacts are a way to hide SIP URIs from the dialplan directly.
1220                                         They are also used to make a group of contactable parties when
1221                                         in use with <literal>AoR</literal> lists.
1222                                 </para></description>
1223                                 <configOption name="type">
1224                                         <synopsis>Must be of type 'contact'.</synopsis>
1225                                 </configOption>
1226                                 <configOption name="uri">
1227                                         <synopsis>SIP URI to contact peer</synopsis>
1228                                 </configOption>
1229                                 <configOption name="expiration_time">
1230                                         <synopsis>Time to keep alive a contact</synopsis>
1231                                         <description><para>
1232                                                 Time to keep alive a contact. String style specification.
1233                                         </para></description>
1234                                 </configOption>
1235                                 <configOption name="qualify_frequency" default="0">
1236                                         <synopsis>Interval at which to qualify a contact</synopsis>
1237                                         <description><para>
1238                                                 Interval between attempts to qualify the contact for reachability.
1239                                                 If <literal>0</literal> never qualify. Time in seconds.
1240                                         </para></description>
1241                                 </configOption>
1242                                 <configOption name="qualify_timeout" default="3.0">
1243                                         <synopsis>Timeout for qualify</synopsis>
1244                                         <description><para>
1245                                                 If the contact doesn't repond to the OPTIONS request before the timeout,
1246                                                 the contact is marked unavailable.
1247                                                 If <literal>0</literal> no timeout. Time in fractional seconds.
1248                                         </para></description>
1249                                 </configOption>
1250                                 <configOption name="authenticate_qualify" default="no">
1251                                         <synopsis>Authenticates a qualify request if needed</synopsis>
1252                                         <description><para>
1253                                                 If true and a qualify request receives a challenge or authenticate response
1254                                                 authentication is attempted before declaring the contact available.
1255                                         </para></description>
1256                                 </configOption>
1257                                 <configOption name="outbound_proxy">
1258                                         <synopsis>Outbound proxy used when sending OPTIONS request</synopsis>
1259                                         <description><para>
1260                                                 If set the provided URI will be used as the outbound proxy when an
1261                                                 OPTIONS request is sent to a contact for qualify purposes.
1262                                         </para></description>
1263                                 </configOption>
1264                                 <configOption name="path">
1265                                         <synopsis>Stored Path vector for use in Route headers on outgoing requests.</synopsis>
1266                                 </configOption>
1267                                 <configOption name="user_agent">
1268                                         <synopsis>User-Agent header from registration.</synopsis>
1269                                         <description><para>
1270                                                 The User-Agent is automatically stored based on data present in incoming SIP
1271                                                 REGISTER requests and is not intended to be configured manually.
1272                                         </para></description>
1273                                 </configOption>
1274                                 <configOption name="endpoint">
1275                                         <synopsis>Endpoint name</synopsis>
1276                                         <description><para>
1277                                                 The name of the endpoint this contact belongs to
1278                                         </para></description>
1279                                 </configOption>
1280                                 <configOption name="reg_server">
1281                                         <synopsis>Asterisk Server name</synopsis>
1282                                         <description><para>
1283                                                 Asterisk Server name on which SIP endpoint registered.
1284                                         </para></description>
1285                                 </configOption>
1286                                 <configOption name="via_addr">
1287                                         <synopsis>IP-address of the last Via header from registration.</synopsis>
1288                                         <description><para>
1289                                                 The last Via header should contain the address of UA which sent the request.
1290                                                 The IP-address of the last Via header is automatically stored based on data present
1291                                                 in incoming SIP REGISTER requests and is not intended to be configured manually.
1292                                         </para></description>
1293                                 </configOption>
1294                                 <configOption name="via_port">
1295                                         <synopsis>IP-port of the last Via header from registration.</synopsis>
1296                                         <description><para>
1297                                                 The IP-port of the last Via header is automatically stored based on data present
1298                                                 in incoming SIP REGISTER requests and is not intended to be configured manually.
1299                                         </para></description>
1300                                 </configOption>
1301                                 <configOption name="call_id">
1302                                         <synopsis>Call-ID header from registration.</synopsis>
1303                                         <description><para>
1304                                                 The Call-ID header is automatically stored based on data present
1305                                                 in incoming SIP REGISTER requests and is not intended to be configured manually.
1306                                         </para></description>
1307                                 </configOption>
1308                         </configObject>
1309                         <configObject name="aor">
1310                                 <synopsis>The configuration for a location of an endpoint</synopsis>
1311                                 <description><para>
1312                                         An AoR is what allows Asterisk to contact an endpoint via res_pjsip. If no
1313                                         AoRs are specified, an endpoint will not be reachable by Asterisk.
1314                                         Beyond that, an AoR has other uses within Asterisk, such as inbound
1315                                         registration.
1316                                         </para><para>
1317                                         An <literal>AoR</literal> is a way to allow dialing a group
1318                                         of <literal>Contacts</literal> that all use the same
1319                                         <literal>endpoint</literal> for calls.
1320                                         </para><para>
1321                                         This can be used as another way of grouping a list of contacts to dial
1322                                         rather than specifing them each directly when dialing via the dialplan.
1323                                         This must be used in conjuction with the <literal>PJSIP_DIAL_CONTACTS</literal>.
1324                                         </para><para>
1325                                         Registrations: For Asterisk to match an inbound registration to an endpoint,
1326                                         the AoR object name must match the user portion of the SIP URI in the "To:"
1327                                         header of the inbound SIP registration. That will usually be equivalent
1328                                         to the "user name" set in your hard or soft phones configuration.
1329                                 </para></description>
1330                                 <configOption name="contact">
1331                                         <synopsis>Permanent contacts assigned to AoR</synopsis>
1332                                         <description><para>
1333                                                 Contacts specified will be called whenever referenced
1334                                                 by <literal>chan_pjsip</literal>.
1335                                                 </para><para>
1336                                                 Use a separate "contact=" entry for each contact required. Contacts
1337                                                 are specified using a SIP URI.
1338                                         </para></description>
1339                                 </configOption>
1340                                 <configOption name="default_expiration" default="3600">
1341                                         <synopsis>Default expiration time in seconds for contacts that are dynamically bound to an AoR.</synopsis>
1342                                 </configOption>
1343                                 <configOption name="mailboxes">
1344                                         <synopsis>Allow subscriptions for the specified mailbox(es)</synopsis>
1345                                         <description><para>This option applies when an external entity subscribes to an AoR
1346                                                 for Message Waiting Indications. The mailboxes specified will be subscribed to.
1347                                                 More than one mailbox can be specified with a comma-delimited string.
1348                                                 app_voicemail mailboxes must be specified as mailbox@context;
1349                                                 for example: mailboxes=6001@default. For mailboxes provided by external sources,
1350                                                 such as through the res_external_mwi module, you must specify strings supported by
1351                                                 the external system.
1352                                         </para><para>
1353                                                 For endpoints that cannot SUBSCRIBE for MWI, you can set the <literal>mailboxes</literal> option in your
1354                                                 endpoint configuration section to enable unsolicited MWI NOTIFYs to the endpoint.
1355                                         </para></description>
1356                                 </configOption>
1357                                 <configOption name="voicemail_extension">
1358                                         <synopsis>The voicemail extension to send in the NOTIFY Message-Account header</synopsis>
1359                                 </configOption>
1360                                 <configOption name="maximum_expiration" default="7200">
1361                                         <synopsis>Maximum time to keep an AoR</synopsis>
1362                                         <description><para>
1363                                                 Maximium time to keep a peer with explicit expiration. Time in seconds.
1364                                         </para></description>
1365                                 </configOption>
1366                                 <configOption name="max_contacts" default="0">
1367                                         <synopsis>Maximum number of contacts that can bind to an AoR</synopsis>
1368                                         <description><para>
1369                                                 Maximum number of contacts that can associate with this AoR. This value does
1370                                                 not affect the number of contacts that can be added with the "contact" option.
1371                                                 It only limits contacts added through external interaction, such as
1372                                                 registration.
1373                                                 </para>
1374                                                 <note><para>This should be set to <literal>1</literal> and
1375                                                 <replaceable>remove_existing</replaceable> set to <literal>yes</literal> if you
1376                                                 wish to stick with the older <literal>chan_sip</literal> behaviour.
1377                                                 </para></note>
1378                                         </description>
1379                                 </configOption>
1380                                 <configOption name="minimum_expiration" default="60">
1381                                         <synopsis>Minimum keep alive time for an AoR</synopsis>
1382                                         <description><para>
1383                                                 Minimum time to keep a peer with an explict expiration. Time in seconds.
1384                                         </para></description>
1385                                 </configOption>
1386                                 <configOption name="remove_existing" default="no">
1387                                         <synopsis>Determines whether new contacts replace existing ones.</synopsis>
1388                                         <description><para>
1389                                                 On receiving a new registration to the AoR should it remove
1390                                                 the existing contact that was registered against it?
1391                                                 </para>
1392                                                 <note><para>This should be set to <literal>yes</literal> and
1393                                                 <replaceable>max_contacts</replaceable> set to <literal>1</literal> if you
1394                                                 wish to stick with the older <literal>chan_sip</literal> behaviour.
1395                                                 </para></note>
1396                                         </description>
1397                                 </configOption>
1398                                 <configOption name="type">
1399                                         <synopsis>Must be of type 'aor'.</synopsis>
1400                                 </configOption>
1401                                 <configOption name="qualify_frequency" default="0">
1402                                         <synopsis>Interval at which to qualify an AoR</synopsis>
1403                                         <description><para>
1404                                                 Interval between attempts to qualify the AoR for reachability.
1405                                                 If <literal>0</literal> never qualify. Time in seconds.
1406                                         </para></description>
1407                                 </configOption>
1408                                 <configOption name="qualify_timeout" default="3.0">
1409                                         <synopsis>Timeout for qualify</synopsis>
1410                                         <description><para>
1411                                                 If the contact doesn't repond to the OPTIONS request before the timeout,
1412                                                 the contact is marked unavailable.
1413                                                 If <literal>0</literal> no timeout. Time in fractional seconds.
1414                                         </para></description>
1415                                 </configOption>
1416                                 <configOption name="authenticate_qualify" default="no">
1417                                         <synopsis>Authenticates a qualify request if needed</synopsis>
1418                                         <description><para>
1419                                                 If true and a qualify request receives a challenge or authenticate response
1420                                                 authentication is attempted before declaring the contact available.
1421                                         </para></description>
1422                                 </configOption>
1423                                 <configOption name="outbound_proxy">
1424                                         <synopsis>Outbound proxy used when sending OPTIONS request</synopsis>
1425                                         <description><para>
1426                                                 If set the provided URI will be used as the outbound proxy when an
1427                                                 OPTIONS request is sent to a contact for qualify purposes.
1428                                         </para></description>
1429                                 </configOption>
1430                                 <configOption name="support_path">
1431                                         <synopsis>Enables Path support for REGISTER requests and Route support for other requests.</synopsis>
1432                                         <description><para>
1433                                                 When this option is enabled, the Path headers in register requests will be saved
1434                                                 and its contents will be used in Route headers for outbound out-of-dialog requests
1435                                                 and in Path headers for outbound 200 responses. Path support will also be indicated
1436                                                 in the Supported header.
1437                                         </para></description>
1438                                 </configOption>
1439                         </configObject>
1440                         <configObject name="system">
1441                                 <synopsis>Options that apply to the SIP stack as well as other system-wide settings</synopsis>
1442                                 <description><para>
1443                                         The settings in this section are global. In addition to being global, the values will
1444                                         not be re-evaluated when a reload is performed. This is because the values must be set
1445                                         before the SIP stack is initialized. The only way to reset these values is to either
1446                                         restart Asterisk, or unload and then load it again.
1447                                 </para></description>
1448                                 <configOption name="timer_t1" default="500">
1449                                         <synopsis>Set transaction timer T1 value (milliseconds).</synopsis>
1450                                         <description><para>
1451                                                 Timer T1 is the base for determining how long to wait before retransmitting
1452                                                 requests that receive no response when using an unreliable transport (e.g. UDP).
1453                                                 For more information on this timer, see RFC 3261, Section
1454                                         </para></description>
1455                                 </configOption>
1456                                 <configOption name="timer_b" default="32000">
1457                                         <synopsis>Set transaction timer B value (milliseconds).</synopsis>
1458                                         <description><para>
1459                                                 Timer B determines the maximum amount of time to wait after sending an INVITE
1460                                                 request before terminating the transaction. It is recommended that this be set
1461                                                 to 64 * Timer T1, but it may be set higher if desired. For more information on
1462                                                 this timer, see RFC 3261, Section
1463                                         </para></description>
1464                                 </configOption>
1465                                 <configOption name="compact_headers" default="no">
1466                                         <synopsis>Use the short forms of common SIP header names.</synopsis>
1467                                 </configOption>
1468                                 <configOption name="threadpool_initial_size" default="0">
1469                                         <synopsis>Initial number of threads in the res_pjsip threadpool.</synopsis>
1470                                 </configOption>
1471                                 <configOption name="threadpool_auto_increment" default="5">
1472                                         <synopsis>The amount by which the number of threads is incremented when necessary.</synopsis>
1473                                 </configOption>
1474                                 <configOption name="threadpool_idle_timeout" default="60">
1475                                         <synopsis>Number of seconds before an idle thread should be disposed of.</synopsis>
1476                                 </configOption>
1477                                 <configOption name="threadpool_max_size" default="0">
1478                                         <synopsis>Maximum number of threads in the res_pjsip threadpool.
1479                                         A value of 0 indicates no maximum.</synopsis>
1480                                 </configOption>
1481                                 <configOption name="disable_tcp_switch" default="yes">
1482                                         <synopsis>Disable automatic switching from UDP to TCP transports.</synopsis>
1483                                         <description><para>
1484                                                 Disable automatic switching from UDP to TCP transports if outgoing
1485                                                 request is too large.  See RFC 3261 section 18.1.1.
1486                                         </para></description>
1487                                 </configOption>
1488                                 <configOption name="type">
1489                                         <synopsis>Must be of type 'system'.</synopsis>
1490                                 </configOption>
1491                         </configObject>
1492                         <configObject name="global">
1493                                 <synopsis>Options that apply globally to all SIP communications</synopsis>
1494                                 <description><para>
1495                                         The settings in this section are global. Unlike options in the <literal>system</literal>
1496                                         section, these options can be refreshed by performing a reload.
1497                                 </para></description>
1498                                 <configOption name="max_forwards" default="70">
1499                                         <synopsis>Value used in Max-Forwards header for SIP requests.</synopsis>
1500                                 </configOption>
1501                                 <configOption name="keep_alive_interval" default="0">
1502                                         <synopsis>The interval (in seconds) to send keepalives to active connection-oriented transports.</synopsis>
1503                                 </configOption>
1504                                 <configOption name="contact_expiration_check_interval" default="30">
1505                                         <synopsis>The interval (in seconds) to check for expired contacts.</synopsis>
1506                                 </configOption>
1507                                 <configOption name="disable_multi_domain" default="no">
1508                                         <synopsis>Disable Multi Domain support</synopsis>
1509                                         <description><para>
1510                                                 If disabled it can improve realtime performace by reducing number of database requsts.
1511                                         </para></description>
1512                                 </configOption>
1513                                 <configOption name="max_initial_qualify_time" default="0">
1514                                         <synopsis>The maximum amount of time from startup that qualifies should be attempted on all contacts.
1515                                         If greater than the qualify_frequency for an aor, qualify_frequency will be used instead.</synopsis>
1516                                 </configOption>
1517                                 <configOption name="unidentified_request_period" default="5">
1518                                         <synopsis>The number of seconds over which to accumulate unidentified requests.</synopsis>
1519                                         <description><para>
1520                                         If <literal>unidentified_request_count</literal> unidentified requests are received
1521                                         during <literal>unidentified_request_period</literal>, a security event will be generated.
1522                                         </para></description>
1523                                 </configOption>
1524                                 <configOption name="unidentified_request_count" default="5">
1525                                         <synopsis>The number of unidentified requests from a single IP to allow.</synopsis>
1526                                         <description><para>
1527                                         If <literal>unidentified_request_count</literal> unidentified requests are received
1528                                         during <literal>unidentified_request_period</literal>, a security event will be generated.
1529                                         </para></description>
1530                                 </configOption>
1531                                 <configOption name="unidentified_request_prune_interval" default="30">
1532                                         <synopsis>The interval at which unidentified requests are older than
1533                                         twice the unidentified_request_period are pruned.</synopsis>
1534                                 </configOption>
1535                                 <configOption name="type">
1536                                         <synopsis>Must be of type 'global'.</synopsis>
1537                                 </configOption>
1538                                 <configOption name="user_agent" default="Asterisk &lt;Asterisk Version&gt;">
1539                                         <synopsis>Value used in User-Agent header for SIP requests and Server header for SIP responses.</synopsis>
1540                                 </configOption>
1541                                 <configOption name="regcontext" default="">
1542                                         <synopsis>When set, Asterisk will dynamically create and destroy a NoOp priority 1 extension for a given
1543                                                 peer who registers or unregisters with us.</synopsis>
1544                                 </configOption>
1545                                 <configOption name="default_outbound_endpoint" default="default_outbound_endpoint">
1546                                         <synopsis>Endpoint to use when sending an outbound request to a URI without a specified endpoint.</synopsis>
1547                                 </configOption>
1548                                 <configOption name="default_voicemail_extension">
1549                                         <synopsis>The voicemail extension to send in the NOTIFY Message-Account header if not specified on endpoint or aor</synopsis>
1550                                 </configOption>
1551                                 <configOption name="debug" default="no">
1552                                         <synopsis>Enable/Disable SIP debug logging.  Valid options include yes|no or
1553                                                 a host address</synopsis>
1554                                 </configOption>
1555                                 <configOption name="endpoint_identifier_order" default="ip,username,anonymous">
1556                                         <synopsis>The order by which endpoint identifiers are processed and checked.
1557                                                 Identifier names are usually derived from and can be found in the endpoint
1558                                                 identifier module itself (res_pjsip_endpoint_identifier_*).
1559                                                 You can use the CLI command "pjsip show identifiers" to see the
1560                                                 identifiers currently available.</synopsis>
1561                                         <description>
1562                                                 <note><para>
1563                                                 One of the identifiers is "auth_username" which matches on the username in
1564                                                 an Authentication header.  This method has some security considerations because an
1565                                                 Authentication header is not present on the first message of a dialog when
1566                                                 digest authentication is used.  The client can't generate it until the server
1567                                                 sends the challenge in a 401 response.  Since Asterisk normally sends a security
1568                                                 event when an incoming request can't be matched to an endpoint, using auth_username
1569                                                 requires that the security event be deferred until a request is received with
1570                                                 the Authentication header and only generated if the username doesn't result in a
1571                                                 match.  This may result in a delay before an attack is recognized.  You can control
1572                                                 how many unmatched requests are received from a single ip address before a security
1573                                                 event is generated using the unidentified_request parameters.
1574                                                 </para></note>
1575                                         </description>
1576                                 </configOption>
1577                                 <configOption name="default_from_user" default="asterisk">
1578                                         <synopsis>When Asterisk generates an outgoing SIP request, the From header username will be
1579                                                 set to this value if there is no better option (such as CallerID) to be
1580                                                 used.</synopsis>
1581                                 </configOption>
1582                                 <configOption name="default_realm" default="asterisk">
1583                                         <synopsis>When Asterisk generates a challenge, the digest realm will be
1584                                                 set to this value if there is no better option (such as auth/realm) to be
1585                                                 used.</synopsis>
1586                                 </configOption>
1587                                 <configOption name="mwi_tps_queue_high" default="500">
1588                                         <synopsis>MWI taskprocessor high water alert trigger level.</synopsis>
1589                                         <description>
1590                                                 <para>On a heavily loaded system you may need to adjust the
1591                                                 taskprocessor queue limits.  If any taskprocessor queue size
1592                                                 reaches its high water level then pjsip will stop processing
1593                                                 new requests until the alert is cleared.  The alert clears
1594                                                 when all alerting taskprocessor queues have dropped to their
1595                                                 low water clear level.
1596                                                 </para>
1597                                         </description>
1598                                 </configOption>
1599                                 <configOption name="mwi_tps_queue_low" default="-1">
1600                                         <synopsis>MWI taskprocessor low water clear alert level.</synopsis>
1601                                         <description>
1602                                                 <para>On a heavily loaded system you may need to adjust the
1603                                                 taskprocessor queue limits.  If any taskprocessor queue size
1604                                                 reaches its high water level then pjsip will stop processing
1605                                                 new requests until the alert is cleared.  The alert clears
1606                                                 when all alerting taskprocessor queues have dropped to their
1607                                                 low water clear level.
1608                                                 </para>
1609                                                 <note><para>Set to -1 for the low water level to be 90% of
1610                                                 the high water level.</para></note>
1611                                         </description>
1612                                 </configOption>
1613                                 <configOption name="mwi_disable_initial_unsolicited" default="no">
1614                                         <synopsis>Enable/Disable sending unsolicited MWI to all endpoints on startup.</synopsis>
1615                                         <description>
1616                                                 <para>When the initial unsolicited MWI notification are
1617                                                 enabled on startup then the initial notifications
1618                                                 get sent at startup.  If you have a lot of endpoints
1619                                                 (thousands) that use unsolicited MWI then you may
1620                                                 want to consider disabling the initial startup
1621                                                 notifications.
1622                                                 </para>
1623                                                 <para>When the initial unsolicited MWI notifications are
1624                                                 disabled on startup then the notifications will start
1625                                                 on the endpoint's next contact update.
1626                                                 </para>
1627                                         </description>
1628                                 </configOption>
1629                                 <configOption name="ignore_uri_user_options">
1630                                         <synopsis>Enable/Disable ignoring SIP URI user field options.</synopsis>
1631                                         <description>
1632                                                 <para>If you have this option enabled and there are semicolons
1633                                                 in the user field of a SIP URI then the field is truncated
1634                                                 at the first semicolon.  This effectively makes the semicolon
1635                                                 a non-usable character for PJSIP endpoint names, extensions,
1636                                                 and AORs.  This can be useful for improving compatability with
1637                                                 an ITSP that likes to use user options for whatever reason.
1638                                                 </para>
1639                                                 <example title="Sample SIP URI">
1640                                                         sip:1235557890;phone-context=national@x.x.x.x;user=phone
1641                                                 </example>
1642                                                 <example title="Sample SIP URI user field">
1643                                                         1235557890;phone-context=national
1644                                                 </example>
1645                                                 <example title="Sample SIP URI user field truncated">
1646                                                         1235557890
1647                                                 </example>
1648                                                 <note><para>The caller-id and redirecting number strings
1649                                                 obtained from incoming SIP URI user fields are always truncated
1650                                                 at the first semicolon.</para></note>
1651                                         </description>
1652                                 </configOption>
1653                         </configObject>
1654                 </configFile>
1655         </configInfo>
1656         <manager name="PJSIPQualify" language="en_US">
1657                 <synopsis>
1658                         Qualify a chan_pjsip endpoint.
1659                 </synopsis>
1660                 <syntax>
1661                         <xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" />
1662                         <parameter name="Endpoint" required="true">
1663                                 <para>The endpoint you want to qualify.</para>
1664                         </parameter>
1665                 </syntax>
1666                 <description>
1667                         <para>Qualify a chan_pjsip endpoint.</para>
1668                 </description>
1669         </manager>
1670         <managerEvent language="en_US" name="IdentifyDetail">
1671                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1672                         <synopsis>Provide details about an identify section.</synopsis>
1673                         <syntax>
1674                                 <parameter name="ObjectType">
1675                                         <para>The object's type. This will always be 'identify'.</para>
1676                                 </parameter>
1677                                 <parameter name="ObjectName">
1678                                         <para>The name of this object.</para>
1679                                 </parameter>
1680                                 <parameter name="Endpoint">
1681                                         <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>
1682                                 </parameter>
1683                                 <parameter name="Match">
1684                                         <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>
1685                                 </parameter>
1686                                 <parameter name="EndpointName">
1687                                         <para>The name of the endpoint associated with this information.</para>
1688                                 </parameter>
1689                         </syntax>
1690                 </managerEventInstance>
1691         </managerEvent>
1692         <managerEvent language="en_US" name="AorDetail">
1693                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1694                         <synopsis>Provide details about an Address of Record (AoR) section.</synopsis>
1695                         <syntax>
1696                                 <parameter name="ObjectType">
1697                                         <para>The object's type. This will always be 'aor'.</para>
1698                                 </parameter>
1699                                 <parameter name="ObjectName">
1700                                         <para>The name of this object.</para>
1701                                 </parameter>
1702                                 <parameter name="MinimumExpiration">
1703                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='minimum_expiration']/synopsis/node())"/></para>
1704                                 </parameter>
1705                                 <parameter name="MaximumExpiration">
1706                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='maximum_expiration']/synopsis/node())"/></para>
1707                                 </parameter>
1708                                 <parameter name="DefaultExpiration">
1709                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='default_expiration']/synopsis/node())"/></para>
1710                                 </parameter>
1711                                 <parameter name="QualifyFrequency">
1712                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='qualify_frequency']/synopsis/node())"/></para>
1713                                 </parameter>
1714                                 <parameter name="AuthenticateQualify">
1715                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='authenticate_qualify']/synopsis/node())"/></para>
1716                                 </parameter>
1717                                 <parameter name="MaxContacts">
1718                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='max_contacts']/synopsis/node())"/></para>
1719                                 </parameter>
1720                                 <parameter name="RemoveExisting">
1721                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='remove_existing']/synopsis/node())"/></para>
1722                                 </parameter>
1723                                 <parameter name="Mailboxes">
1724                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='mailboxes']/synopsis/node())"/></para>
1725                                 </parameter>
1726                                 <parameter name="OutboundProxy">
1727                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='outbound_proxy']/synopsis/node())"/></para>
1728                                 </parameter>
1729                                 <parameter name="SupportPath">
1730                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='aor']/configOption[@name='support_path']/synopsis/node())"/></para>
1731                                 </parameter>
1732                                 <parameter name="TotalContacts">
1733                                         <para>The total number of contacts associated with this AoR.</para>
1734                                 </parameter>
1735                                 <parameter name="ContactsRegistered">
1736                                         <para>The number of non-permanent contacts associated with this AoR.</para>
1737                                 </parameter>
1738                                 <parameter name="EndpointName">
1739                                         <para>The name of the endpoint associated with this information.</para>
1740                                 </parameter>
1741                         </syntax>
1742                 </managerEventInstance>
1743         </managerEvent>
1744         <managerEvent language="en_US" name="AuthDetail">
1745                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1746                         <synopsis>Provide details about an authentication section.</synopsis>
1747                         <syntax>
1748                                 <parameter name="ObjectType">
1749                                         <para>The object's type. This will always be 'auth'.</para>
1750                                 </parameter>
1751                                 <parameter name="ObjectName">
1752                                         <para>The name of this object.</para>
1753                                 </parameter>
1754                                 <parameter name="Username">
1755                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='username']/synopsis/node())"/></para>
1756                                 </parameter>
1757                                 <parameter name="Password">
1758                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='username']/synopsis/node())"/></para>
1759                                 </parameter>
1760                                 <parameter name="Md5Cred">
1761                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='md5_cred']/synopsis/node())"/></para>
1762                                 </parameter>
1763                                 <parameter name="Realm">
1764                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='realm']/synopsis/node())"/></para>
1765                                 </parameter>
1766                                 <parameter name="NonceLifetime">
1767                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='nonce_lifetime']/synopsis/node())"/></para>
1768                                 </parameter>
1769                                 <parameter name="AuthType">
1770                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='auth']/configOption[@name='auth_type']/synopsis/node())"/></para>
1771                                 </parameter>
1772                                 <parameter name="EndpointName">
1773                                         <para>The name of the endpoint associated with this information.</para>
1774                                 </parameter>
1775                         </syntax>
1776                 </managerEventInstance>
1777         </managerEvent>
1778         <managerEvent language="en_US" name="TransportDetail">
1779                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1780                         <synopsis>Provide details about an authentication section.</synopsis>
1781                         <syntax>
1782                                 <parameter name="ObjectType">
1783                                         <para>The object's type. This will always be 'transport'.</para>
1784                                 </parameter>
1785                                 <parameter name="ObjectName">
1786                                         <para>The name of this object.</para>
1787                                 </parameter>
1788                                 <parameter name="Protocol">
1789                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='protocol']/synopsis/node())"/></para>
1790                                 </parameter>
1791                                 <parameter name="Bind">
1792                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='bind']/synopsis/node())"/></para>
1793                                 </parameter>
1794                                 <parameter name="AsycOperations">
1795                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='async_operations']/synopsis/node())"/></para>
1796                                 </parameter>
1797                                 <parameter name="CaListFile">
1798                                         <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>
1799                                 </parameter>
1800                                 <parameter name="CaListPath">
1801                                         <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>
1802                                 </parameter>
1803                                 <parameter name="CertFile">
1804                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='cert_file']/synopsis/node())"/></para>
1805                                 </parameter>
1806                                 <parameter name="PrivKeyFile">
1807                                         <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>
1808                                 </parameter>
1809                                 <parameter name="Password">
1810                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='password']/synopsis/node())"/></para>
1811                                 </parameter>
1812                                 <parameter name="ExternalSignalingAddress">
1813                                         <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>
1814                                 </parameter>
1815                                 <parameter name="ExternalSignalingPort">
1816                                         <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>
1817                                 </parameter>
1818                                 <parameter name="ExternalMediaAddress">
1819                                         <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>
1820                                 </parameter>
1821                                 <parameter name="Domain">
1822                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='domain']/synopsis/node())"/></para>
1823                                 </parameter>
1824                                 <parameter name="VerifyServer">
1825                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='verify_server']/synopsis/node())"/></para>
1826                                 </parameter>
1827                                 <parameter name="VerifyClient">
1828                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='verify_client']/synopsis/node())"/></para>
1829                                 </parameter>
1830                                 <parameter name="RequireClientCert">
1831                                         <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>
1832                                 </parameter>
1833                                 <parameter name="Method">
1834                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='method']/synopsis/node())"/></para>
1835                                 </parameter>
1836                                 <parameter name="Cipher">
1837                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='cipher']/synopsis/node())"/></para>
1838                                 </parameter>
1839                                 <parameter name="LocalNet">
1840                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='local_net']/synopsis/node())"/></para>
1841                                 </parameter>
1842                                 <parameter name="Tos">
1843                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='tos']/synopsis/node())"/></para>
1844                                 </parameter>
1845                                 <parameter name="Cos">
1846                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='cos']/synopsis/node())"/></para>
1847                                 </parameter>
1848                                 <parameter name="WebsocketWriteTimeout">
1849                                         <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>
1850                                 </parameter>
1851                                 <parameter name="EndpointName">
1852                                         <para>The name of the endpoint associated with this information.</para>
1853                                 </parameter>
1854                         </syntax>
1855                 </managerEventInstance>
1856         </managerEvent>
1857         <managerEvent language="en_US" name="EndpointDetail">
1858                 <managerEventInstance class="EVENT_FLAG_COMMAND">
1859                         <synopsis>Provide details about an endpoint section.</synopsis>
1860                         <syntax>
1861                                 <parameter name="ObjectType">
1862                                         <para>The object's type. This will always be 'endpoint'.</para>
1863                                 </parameter>
1864                                 <parameter name="ObjectName">
1865                                         <para>The name of this object.</para>
1866                                 </parameter>
1867                                 <parameter name="Context">
1868                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='context']/synopsis/node())"/></para>
1869                                 </parameter>
1870                                 <parameter name="Disallow">
1871                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='disallow']/synopsis/node())"/></para>
1872                                 </parameter>
1873                                 <parameter name="Allow">
1874                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='allow']/synopsis/node())"/></para>
1875                                 </parameter>
1876                                 <parameter name="DtmfMode">
1877                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='dtmf_mode']/synopsis/node())"/></para>
1878                                 </parameter>
1879                                 <parameter name="RtpIpv6">
1880                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='rtp_ipv6']/synopsis/node())"/></para>
1881                                 </parameter>
1882                                 <parameter name="RtpSymmetric">
1883                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='rtp_symmetric']/synopsis/node())"/></para>
1884                                 </parameter>
1885                                 <parameter name="IceSupport">
1886                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='ice_support']/synopsis/node())"/></para>
1887                                 </parameter>
1888                                 <parameter name="UsePtime">
1889                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='use_ptime']/synopsis/node())"/></para>
1890                                 </parameter>
1891                                 <parameter name="ForceRport">
1892                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='force_rport']/synopsis/node())"/></para>
1893                                 </parameter>
1894                                 <parameter name="RewriteContact">
1895                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='rewrite_contact']/synopsis/node())"/></para>
1896                                 </parameter>
1897                                 <parameter name="Transport">
1898                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='transport']/synopsis/node())"/></para>
1899                                 </parameter>
1900                                 <parameter name="OutboundProxy">
1901                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='outbound_proxy']/synopsis/node())"/></para>
1902                                 </parameter>
1903                                 <parameter name="MohSuggest">
1904                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='moh_suggest']/synopsis/node())"/></para>
1905                                 </parameter>
1906                                 <parameter name="100rel">
1907                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='100rel']/synopsis/node())"/></para>
1908                                 </parameter>
1909                                 <parameter name="Timers">
1910                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='timers']/synopsis/node())"/></para>
1911                                 </parameter>
1912                                 <parameter name="TimersMinSe">
1913                                         <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>
1914                                 </parameter>
1915                                 <parameter name="TimersSessExpires">
1916                                         <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>
1917                                 </parameter>
1918                                 <parameter name="Auth">
1919                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='auth']/synopsis/node())"/></para>
1920                                 </parameter>
1921                                 <parameter name="OutboundAuth">
1922                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='outbound_auth']/synopsis/node())"/></para>
1923                                 </parameter>
1924                                 <parameter name="Aors">
1925                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='aors']/synopsis/node())"/></para>
1926                                 </parameter>
1927                                 <parameter name="MediaAddress">
1928                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='media_address']/synopsis/node())"/></para>
1929                                 </parameter>
1930                                 <parameter name="IdentifyBy">
1931                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='identify_by']/synopsis/node())"/></para>
1932                                 </parameter>
1933                                 <parameter name="DirectMedia">
1934                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='direct_media']/synopsis/node())"/></para>
1935                                 </parameter>
1936                                 <parameter name="DirectMediaMethod">
1937                                         <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>
1938                                 </parameter>
1939                                 <parameter name="ConnectedLineMethod">
1940                                         <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>
1941                                 </parameter>
1942                                 <parameter name="DirectMediaGlareMitigation">
1943                                         <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>
1944                                 </parameter>
1945                                 <parameter name="DisableDirectMediaOnNat">
1946                                         <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>
1947                                 </parameter>
1948                                 <parameter name="Callerid">
1949                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='callerid']/synopsis/node())"/></para>
1950                                 </parameter>
1951                                 <parameter name="CalleridPrivacy">
1952                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='callerid_privacy']/synopsis/node())"/></para>
1953                                 </parameter>
1954                                 <parameter name="CalleridTag">
1955                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='callerid_tag']/synopsis/node())"/></para>
1956                                 </parameter>
1957                                 <parameter name="TrustIdInbound">
1958                                         <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>
1959                                 </parameter>
1960                                 <parameter name="TrustIdOutbound">
1961                                         <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>
1962                                 </parameter>
1963                                 <parameter name="SendPai">
1964                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='send_pai']/synopsis/node())"/></para>
1965                                 </parameter>
1966                                 <parameter name="SendRpid">
1967                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='send_rpid']/synopsis/node())"/></para>
1968                                 </parameter>
1969                                 <parameter name="SendDiversion">
1970                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='send_diversion']/synopsis/node())"/></para>
1971                                 </parameter>
1972                                 <parameter name="Mailboxes">
1973                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='mailboxes']/synopsis/node())"/></para>
1974                                 </parameter>
1975                                 <parameter name="AggregateMwi">
1976                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='aggregate_mwi']/synopsis/node())"/></para>
1977                                 </parameter>
1978                                 <parameter name="MediaEncryption">
1979                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='media_encryption']/synopsis/node())"/></para>
1980                                 </parameter>
1981                                 <parameter name="MediaEncryptionOptimistic">
1982                                         <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>
1983                                 </parameter>
1984                                 <parameter name="UseAvpf">
1985                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='use_avpf']/synopsis/node())"/></para>
1986                                 </parameter>
1987                                 <parameter name="ForceAvp">
1988                                         <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='endpoint']/configOption[@name='force_avp']/synopsis/node())"/></para>
1989                                 </parameter>
1990                                 <parameter name="MediaUseReceivedTransport">
1991                                         <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>
1992                                 </paramete