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