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