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