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