<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<base href="https://wiki.asterisk.org/wiki" />
<title>Message Title</title>
<style type="text/css">@media only screen and (max-device-width: 480px) {.mobile-only {
width: auto !important;
height: auto !important;
overflow: visible !important;
line-height: normal !important;
font-size: inherit !important;
mso-hide: all;
}
.desktop-only {
display: none !important;
}
/* iPhone 3GS fix for unwanted 20px right margin */
body { min-width: 100% !important; padding: 0; margin: 0; }
#center-content-table { max-width: none; !important; }
#header-pattern-container { padding: 10px 10px 10px 10px !important; line-height: 20px !important; }
#header-avatar-image-container { padding-right: 8px !important; }
#email-content-container { padding: 0 !important; }
.mobile-expand { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; padding-left: 26px !important;}
.mobile-resize-text { font-size: 16px !important; line-height: 22px !important; }
#page-title-pattern-header { font-size: 20px !important; line-height: 28px !important; }
#page-title-pattern-icon-image-container-cell { padding-top: 7px !important; }
#inline-user-pattern { display: block !important; }
#inline-user-pattern-avatar { padding-top: 3px !important; }
.contextual-area-pattern { border-bottom: 1px solid #ccc !important; padding: 15px 10px 0 10px !important;}
.users-involved-pattern-column-table { width: 100% !important; }
.users-involved-pattern-avatar-table-cell { padding: 3px 5px 5px 0 !important; }
.users-involved-pattern-column-container { padding-right: 0 !important; }
.contextual-excerpt-pattern, #users-involved-pattern { border: 0 !important; }
/** Aui Typography upsized for mobile **/
#content-excerpt-pattern-container, #contextual-excerpt-pattern-text-container { font-size: 16px !important; line-height: 22px !important; }
#content-excerpt-pattern-container h1, #contextual-excerpt-pattern-text-container h1 { font-size: 24px !important; line-height: 28px !important; }
#content-excerpt-pattern-container h2, #contextual-excerpt-pattern-text-container h2 { font-size: 20px !important; line-height: 28px !important; }
#content-excerpt-pattern-container h3, #contextual-excerpt-pattern-text-container h3 { font-size: 18px !important; line-height: 24px !important; }
#content-excerpt-pattern-container h4, #contextual-excerpt-pattern-text-container h4 { font-size: 16px !important; line-height: 22px !important; }
#content-excerpt-pattern-container h5, #contextual-excerpt-pattern-text-container h5 { font-size: 14px !important; line-height: 20px !important; }
#content-excerpt-pattern-container h6, #contextual-excerpt-pattern-text-container h6 { font-size: 14px !important; line-height: 20px !important; }
.user-mention { line-height: 18px !important; }
/** Aui Typography end **/
/* Show appropriate footer logo on mobile, display links vertically */
#footer-pattern { padding: 15px 10px !important; }
#footer-pattern-logo-desktop-container { padding: 0 !important; }
#footer-pattern-logo-desktop { width: 0 !important; height: 0 !important; }
#footer-pattern-logo-mobile {
padding-top: 10px !important;
width: 30px !important;
height: 27px !important;
display: inline !important;
}
#footer-pattern-text {
display: block !important;
}
#footer-pattern-links-container { line-height: 0 !important;}
.footer-pattern-links.mobile-resize-text,
.footer-pattern-links.mobile-resize-text,
#footer-pattern-text.mobile-resize-text,
#footer-pattern-links-container.no-footer-links {
font-size: 14px !important;
line-height: 20px !important;
}
.footer-link { display: block !important; }
#footer-pattern-links-container table { display: inline-block !important; float: none !important; }
#footer-pattern-links-container, #footer-pattern-text { text-align: center !important; }
#footer-pattern-links { padding-bottom: 5px !important; }
/** Team Calendar overrides, these should be removed when notifications are updated in Team Calendars. For now CSS
overrides are being used because the structure of the content can't change without rereleasing the plugin */
.mail-calendar-container .day-header + table tr td:first-child {
vertical-align: top !important;
padding-top: 5px !important;
}}
@media (min-width: 900px) {#center-content-table { width: 900px; }}
@media all {#outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */
/* Prevent Webkit and Windows Mobile platforms from changing default font sizes.*/
body{-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}
.ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */
#background-table {margin:0; padding:0; width:100% !important; }
/* Needed to override highlighting on date and time links in iOS */
.grey a {color: #707070; text-decoration: none; }/* These styles are appended to the head element of a notification in order to prevent Apple Mail and similar
clients from underlining the due dates with a blue hyperlink */
/* a lozenge outside an inline task should always be #333, lozenges inside an inline task should be
colored according to their upcoming due dates, a completed task date lozenge or deleted task date
lozenge should always be #707070 */
.date-time-lozenge a {color: #333333; text-decoration: none; }
.inline-task-text-container .date-time-lozenge.date-upcoming a {color: #DF6F00; text-decoration: none; }
.inline-task-text-container .date-time-lozenge.date-past a {color: #D04437; text-decoration: none; }
.inline-task-text-container.content-deleted-color .date-time-lozenge a,
.inline-task-text-container.checked .date-time-lozenge a {
color: #707070; text-decoration: none;
}}
</style>
</head>
<body>
<table id="background-table" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; background-color: #f5f5f5">
<tbody>
<tr>
<td id="header-pattern-container" style="padding: 0px; border-collapse: collapse; padding: 10px 20px">
<table id="header-pattern" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr>
<td id="header-avatar-image-container" valign="top" style="padding: 0px; border-collapse: collapse; vertical-align: top; width: 32px; padding-right: 9px"><a href="https://wiki.asterisk.org/wiki/display/~gtj?src=email" style="color: #3b73af; text-decoration: none"><img id="header-avatar-image" class="image_fix" src="cid:avatar_39cf17808903032dbfde905f46110e7f" height="32" width="32" border="0" style="border-radius: 3px; vertical-align: top" /></a></td>
<td id="header-text-container" valign="middle" style="padding: 0px; border-collapse: collapse; vertical-align: middle; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px">George Joseph <strong>edited</strong> a page</td>
</tr>
</tbody>
</table> </td>
</tr>
<!-- End Header pattern -->
<tr>
<td id="email-content-container" style="padding: 0px; border-collapse: collapse; padding: 0 20px">
<table id="email-content-table" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; border-spacing: 0; border-collapse: separate">
<tbody>
<tr>
<td class="email-content-rounded-top mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; padding: 0 15px 0 16px; height: 15px; background-color: #fff; border-left: 1px solid #ccc; border-top: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 0; border-top-right-radius: 5px; border-top-left-radius: 5px"> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 15px 16px; background-color: #fff">
<table id="page-title-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr>
<td id="page-title-pattern-icon-image-container" valign="top" style="padding: 0px; border-collapse: collapse; width: 16px; vertical-align: top">
<table cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr>
<td id="page-title-pattern-icon-image-container-cell" style="padding: 0px; border-collapse: collapse; width: 16px; padding: 9px 8px 0px 0px; mso-text-raise: 5px; mso-line-height-rule: exactly"><a href="https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard?src=email" title="page icon" style="vertical-align: top;; color: #3b73af; text-decoration: none"><img style="vertical-align: top; display: block;" src="cid:page-icon" alt="page icon" title="page icon" height="16" width="16" border="0" /></a></td>
</tr>
</tbody>
</table> </td>
<td style="vertical-align: top;; padding: 0px; border-collapse: collapse; padding-right: 5px; font-size: 20px; line-height: 30px; mso-line-height-rule: exactly" id="page-title-pattern-header-container"><span id="page-title-pattern-header" style="font-family: Arial, sans-serif; padding: 0; font-size: 20px; line-height: 30px; mso-text-raise: 2px; mso-line-height-rule: exactly; vertical-align: middle"><a href="https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard?src=email" title="PJSIP Configuration Wizard" style="color: #3b73af; text-decoration: none">PJSIP Configuration Wizard</a></span></td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 15px 16px; background-color: #fff">
<table class="content-excerpt-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px">
<tbody>
<tr>
<td class="content-excerpt-pattern-container mobile-resize-text " style="padding: 0px; border-collapse: collapse; padding: 0 0 0 24px">
<div class="contentLayout2 diff-block-target">
<table width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr class="columnLayout single" data-layout="single">
<td valign="top" class="cell normal" data-type="normal" style="padding: 0px; border-collapse: collapse">
<div class="innerCell">
<p style="margin: 10px 0 0 0; margin-top: 0">The PJSIP Configuration Wizard (module <code style="font-family: monospace">res_pjsip_config_wizard</code>) is a new feature in Asterisk 13.2.0. While the basic <code style="font-family: monospace">chan_pjsip</code> configuration objects (endpoint, aor, etc.) allow a great deal of flexibility and control they can also make configuring standard scenarios like <code style="font-family: monospace">trunk</code> and <code style="font-family: monospace">user</code> more complicated than <code style="font-family: monospace">sip.conf</code> and <code style="font-family: monospace">users.conf</code>. The PJSIP Configuration Wizard aims to ease that burden by providing a single object called 'wizard' that be used to configure most common <code style="font-family: monospace">chan_pjsip</code> scenarios.</p>
<p style="margin: 10px 0 0 0">The following configurations demonstrate a simple ITSP scenario.</p>
<div class="table-wrap" style="margin: 10px 0 0 0; overflow-x: auto">
<table class="confluenceTable" style="border-collapse: collapse; border: 1px solid #ddd;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; border-collapse: collapse; margin: 10px 0 0 0; overflow-x: auto; margin-top: 0">
<tbody>
<tr>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold"> <p style="margin: 10px 0 0 0; margin-top: 0; background-color: #f0f0f0; font-weight: bold"> <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-0" style="background-color: #d6f0ff;">pjsip_wizard.conf</span></code> </p>
<table class="diff-macro" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<thead>
<tr>
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5635/60fd2eb45debbf4ede2b669f4c9b96b4ce40a937.48/_/plugins/servlet/confluence/placeholder/macro-icon?name=code" style="padding-right: 5px; vertical-align: text-bottom;" /> </span>Code Block</th>
</tr>
</thead>
<tbody>
<tr>
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <pre style="margin: 10px 0 0 0; margin-top: 0">[my-itsp]
type = wizard
sends_auth = yes
sends_registrations = yes
remote_hosts = sip.my-itsp.net
outbound_auth/username = my_username
outbound_auth/password = my_password
endpoint/context = default
aor/qualify_frequency = 15
</pre> </td>
</tr>
</tbody>
</table> <p style="margin: 10px 0 0 0; background-color: #f0f0f0; font-weight: bold"> </p> <p style="margin: 10px 0 0 0; background-color: #f0f0f0; font-weight: bold"> </p> <pre style="margin: 10px 0 0 0"> </pre> </th>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold"> <p style="margin: 10px 0 0 0; margin-top: 0; background-color: #f0f0f0; font-weight: bold"> <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-1" style="background-color: #d6f0ff;">pjsip.conf</span></code> </p>
<table class="diff-macro" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<thead>
<tr>
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5635/60fd2eb45debbf4ede2b669f4c9b96b4ce40a937.48/_/plugins/servlet/confluence/placeholder/macro-icon?name=code" style="padding-right: 5px; vertical-align: text-bottom;" /> </span>Code Block</th>
</tr>
</thead>
<tbody>
<tr>
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <pre style="margin: 10px 0 0 0; margin-top: 0">[my-itsp]
type = endpoint
aors = my-itsp
outbound_auth = my-itsp-auth
context = default
[my-itsp]
type = aor
contact = sip:sip.my-itsp.net
qualify_frequency = 15
[my-itsp-auth]
type = auth
auth_type = userpass
username = my_username
password = my_password
[my-itsp-reg]
type = registration
outbound_auth = my-itsp-auth
server_uri = sip:sip.my-itsp.net
client_uri = sip:my_username@sip.my-itsp.net
[my-itsp-identify]
type = identify
endpoint = my-itsp
match = sip.my-itsp.net
</pre> </td>
</tr>
</tbody>
</table> <p style="margin: 10px 0 0 0; background-color: #f0f0f0; font-weight: bold"> </p> </th>
</tr>
</tbody>
</table>
</div>
<p style="margin: 10px 0 0 0"> </p>
<p style="margin: 10px 0 0 0">Both produce the same result. In fact, the wizard creates standard <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-2" style="background-color: #d6f0ff;">chan_pjsip</span></code><span class="diff-html-removed" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;"> </span><span class="diff-html-removed" id="removed-diff-0" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">objects </span><span class="diff-html-added" id="added-diff-0" style="font-size: 100%; background-color: #ddfade;"> objects </span>behind the scenes. In the above example...</p>
<ul style="margin: 10px 0 0 0">
<li>An endpoint and aor are created with the same name as the wizard.</li>
<li>The <span class="diff-html-removed" id="removed-diff-1" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-3" style="background-color: #d6f0ff;">endpoint/context</span></code><span class="diff-html-removed" id="removed-diff-2" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' and '</span><span class="diff-html-added" id="added-diff-1" style="font-size: 100%; background-color: #ddfade;"> and </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-4" style="background-color: #d6f0ff;">aor/qualify_fequency</span></code><span class="diff-html-removed" id="removed-diff-3" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' parameters </span><span class="diff-html-added" id="added-diff-2" style="font-size: 100%; background-color: #ddfade;"> parameters </span>are added to them.</li>
<li> <span class="diff-html-removed" id="removed-diff-4" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-5" style="background-color: #d6f0ff;">remote_hosts</span></code><span class="diff-html-removed" id="removed-diff-5" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' captures </span><span class="diff-html-added" id="added-diff-3" style="font-size: 100%; background-color: #ddfade;"> captures </span>the remote host for all objects.</li>
<li>A contact for the aor is created for each remote host.</li>
<li> <span class="diff-html-removed" id="removed-diff-6" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-6" style="background-color: #d6f0ff;">sends_auth=yes</span></code><span class="diff-html-removed" id="removed-diff-7" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' causes </span><span class="diff-html-added" id="added-diff-4" style="font-size: 100%; background-color: #ddfade;"> causes </span>an auth object to be created.</li>
<li> <span style="line-height: 1.4285715;"><span class="diff-html-removed" id="removed-diff-8" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-7" style="background-color: #d6f0ff;">outbound_auth/username</span></code><span class="diff-html-removed" id="removed-diff-9" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' and '</span><span class="diff-html-added" id="added-diff-5" style="font-size: 100%; background-color: #ddfade;"> and </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-8" style="background-color: #d6f0ff;">outbound_auth/password</span></code><span class="diff-html-removed" id="removed-diff-10" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' are </span><span class="diff-html-added" id="added-diff-6" style="font-size: 100%; background-color: #ddfade;"> are </span>added to it.</span> </li>
<li>An <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-9" style="background-color: #d6f0ff;">outbound_auth</span></code><span class="diff-html-removed" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;"> </span><span class="diff-html-removed" id="removed-diff-11" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">line </span><span class="diff-html-added" id="added-diff-7" style="font-size: 100%; background-color: #ddfade;"> line </span>is added to the endpoint.</li>
<li> <span class="diff-html-removed" id="removed-diff-12" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-10" style="background-color: #d6f0ff;">sends_registrations=yes</span></code><span class="diff-html-removed" id="removed-diff-13" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' causes </span><span class="diff-html-added" id="added-diff-8" style="font-size: 100%; background-color: #ddfade;"> causes </span>a registration object to be created.</li>
<li>An <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-11" style="background-color: #d6f0ff;">outbound_auth</span></code><span class="diff-html-removed" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;"> </span><span class="diff-html-removed" id="removed-diff-14" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">line </span><span class="diff-html-added" id="added-diff-9" style="font-size: 100%; background-color: #ddfade;"> line </span>is added to the registration.</li>
<li>The <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-12" style="background-color: #d6f0ff;">server_uri</span></code><span class="diff-html-removed" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;"> </span><span class="diff-html-removed" id="removed-diff-15" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">and </span><span class="diff-html-added" id="added-diff-10" style="font-size: 100%; background-color: #ddfade;"> and </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-13" style="background-color: #d6f0ff;">client_uri</span></code><span class="diff-html-removed" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;"> </span><span class="diff-html-removed" id="removed-diff-16" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">are </span><span class="diff-html-added" id="added-diff-11" style="font-size: 100%; background-color: #ddfade;"> are </span>constructed using the remote host and username.</li>
<li>An identify object is created and a match is added for each remote host.</li>
</ul>
<p style="margin: 10px 0 0 0"> </p>
</div> </td>
</tr>
</tbody>
</table>
<table width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr class="columnLayout single" data-layout="single">
<td valign="top" class="cell normal" data-type="normal" style="padding: 0px; border-collapse: collapse">
<div class="innerCell">
<h2 id="PJSIPConfigurationWizard-ConfigurationReference:" style="margin: 10px 0 0 0; margin-top: 0; font-size: 20px; font-weight: normal; line-height: 30px; margin: 40px 0 0 0; margin-top: 0">Configuration Reference:</h2>
<div class="table-wrap" style="margin: 10px 0 0 0; overflow-x: auto">
<table class="confluenceTable" style="border-collapse: collapse; border: 1px solid #ddd;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; border-collapse: collapse; margin: 10px 0 0 0; overflow-x: auto; margin-top: 0">
<tbody>
<tr>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold">Parameter</th>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold">Description</th>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">type</td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">Must be <span class="diff-html-removed" id="removed-diff-17" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-14" style="background-color: #d6f0ff;">wizard</span></code><span class="diff-html-removed" id="removed-diff-18" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span></td>
</tr>
<tr>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">sends_auth</td>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">Will create an outbound auth object for the endpoint and<br />registration. At least <span class="diff-html-removed" id="removed-diff-19" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-15" style="background-color: #d6f0ff;">outbound/username</span></code><span class="diff-html-removed" id="removed-diff-20" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' </span>must be specified.</p> <p style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-21" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">(</span>default = <span class="diff-html-removed" id="removed-diff-22" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">"</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-16" style="background-color: #d6f0ff;">no</span></code><span class="diff-html-removed" id="removed-diff-23" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">")</span><span><span class="diff-html-added" id="added-diff-12" style="font-size: 100%; background-color: #ddfade;"> </span></span> </p> </td>
</tr>
<tr>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">accepts_auth</td>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">Will create an inbound auth object for the endpoint.<br />At least 'inbound/username' must be specified.</p> <p style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-24" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">(</span>default = <span class="diff-html-removed" id="removed-diff-25" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">"</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-17" style="background-color: #d6f0ff;">no</span></code><span class="diff-html-removed" id="removed-diff-26" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">")</span><span><span class="diff-html-added" id="added-diff-13" style="font-size: 100%; background-color: #ddfade;"> </span></span> </p> </td>
</tr>
<tr>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">sends_registrations</td>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">Will create an outbound registration object for each<br />host in remote_hosts.</p> <p style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-27" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">(</span>default <span class="diff-html-removed" id="removed-diff-28" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">: "</span><span class="diff-html-added" id="added-diff-14" style="font-size: 100%; background-color: #ddfade;">= </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-18" style="background-color: #d6f0ff;">no</span></code><span class="diff-html-removed" id="removed-diff-29" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">")</span> </p> </td>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">remote_hosts</td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">A comma separated list of remote hosts in the form of<br /> <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-19" style="background-color: #d6f0ff;"><ipaddress | hostname>[:port][, ... ]</span></code> <br />If specified, a static contact for each host will be created<br />in the aor. If <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-20" style="background-color: #d6f0ff;">accepts_registrations</span></code><span class="diff-html-changed" style="background-color: #d6f0ff;"> </span>is no, an identify<br />object is also created with a match line for each remote host.<br />Hostnames must resolve to A, AAAA or CNAME records.<br />SRV records are not currently supported.</p> <p style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-30" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">(</span>default <span class="diff-html-removed" id="removed-diff-31" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">: </span><span class="diff-html-added" id="added-diff-15" style="font-size: 100%; background-color: #ddfade;">= </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-21" style="background-color: #d6f0ff;">""</span></code><span class="diff-html-removed" id="removed-diff-32" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">)</span> </p> </td>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">transport</td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">The transport to use for the endpoint and registrations<br />(default: the pjsip default)</p> </td>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">server_uri_pattern</td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">The pattern used to construct the registration <br /> <span class="diff-html-changed" style="background-color: #d6f0ff;"> </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-22" style="background-color: #d6f0ff;">server_uri</span></code>.<br />The replaceable parameter <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-23" style="background-color: #d6f0ff;">${REMOTE_HOST</span></code>} is <br /> available for use.</p> <p style="margin: 10px 0 0 0">(default <span class="diff-html-removed" id="removed-diff-35" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">: "</span><span class="diff-html-added" id="added-diff-17" style="font-size: 100%; background-color: #ddfade;">= </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-24" style="background-color: #d6f0ff;">sip:${REMOTE_HOST</span></code>}<span class="diff-html-removed" id="removed-diff-36" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">")</span> </p> </td>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">client_uri_pattern</td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">The pattern used to construct the registration <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-25" style="background-color: #d6f0ff;">client_uri</span></code>.<br />The replaceable parameters ${REMOTE_HOST} and<br />${USERNAME} are available for use.</p> <p style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-37" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">(</span>default <span class="diff-html-removed" id="removed-diff-38" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">: "</span><span class="diff-html-added" id="added-diff-18" style="font-size: 100%; background-color: #ddfade;">= {{</span>sip:${USERNAME}@${REMOTE_HOST}<span class="diff-html-removed" id="removed-diff-39" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">")</span><span class="diff-html-added" id="added-diff-19" style="font-size: 100%; background-color: #ddfade;">}}</span> </p> </td>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">contact_pattern</td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">The pattern used to construct the aor contact.<br />The replaceable parameter ${REMOTE_HOST} is available for use.</p> <p style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-40" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">(</span>default <span class="diff-html-removed" id="removed-diff-41" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">: "</span><span class="diff-html-added" id="added-diff-20" style="font-size: 100%; background-color: #ddfade;">= </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-26" style="background-color: #d6f0ff;">sip:${REMOTE_HOST</span></code>}<span class="diff-html-removed" id="removed-diff-42" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">")</span> </p> </td>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">has_phoneprov</td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">Will create a phoneprov object. If yes, both <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-27" style="background-color: #d6f0ff;">phoneprov/MAC</span></code><span class="diff-html-changed" style="background-color: #d6f0ff;"> </span>and <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-28" style="background-color: #d6f0ff;">phoneprov/PROFILE</span></code> <br />must be specified.</p> <p style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-43" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">(</span>default <span class="diff-html-removed" id="removed-diff-44" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">: "</span><span class="diff-html-added" id="added-diff-21" style="font-size: 100%; background-color: #ddfade;">= </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-29" style="background-color: #d6f0ff;">no</span></code><span class="diff-html-removed" id="removed-diff-45" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">")</span><span><span class="diff-html-added" id="added-diff-22" style="font-size: 100%; background-color: #ddfade;"> </span></span> </p> </td>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"><object>/<parameter></td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">These parameters are passed unmodified to the native object.</td>
</tr>
</tbody>
</table>
</div>
<p style="margin: 10px 0 0 0"> </p>
<p style="margin: 10px 0 0 0"> </p>
</div> </td>
</tr>
</tbody>
</table>
<table width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr class="columnLayout single" data-layout="single">
<td valign="top" class="cell normal" data-type="normal" style="padding: 0px; border-collapse: collapse">
<div class="innerCell">
<h2 id="PJSIPConfigurationWizard-ConfigurationNotes:" style="margin: 10px 0 0 0; margin-top: 0; font-size: 20px; font-weight: normal; line-height: 30px; margin: 40px 0 0 0; margin-top: 0"> <span>Configuration Notes:</span> </h2>
<ul style="margin: 10px 0 0 0">
<li>Wizards must be defined in <span class="diff-html-removed" id="removed-diff-46" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-30" style="background-color: #d6f0ff;">pjsip_wizard.conf</span></code><span class="diff-html-removed" id="removed-diff-47" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span>.</li>
<li>An endpoint and aor are created for each wizard.
<ul style="margin: 10px 0 0 0; margin-top: 0">
<li>The endpoint and aor are named the same as the wizard.</li>
<li>Parameters are passed to them using the <span class="diff-html-removed" id="removed-diff-48" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-31" style="background-color: #d6f0ff;">endpoint/</span></code><span class="diff-html-removed" id="removed-diff-49" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' and '</span><span class="diff-html-added" id="added-diff-23" style="font-size: 100%; background-color: #ddfade;"> and </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-32" style="background-color: #d6f0ff;">aor/</span></code><span class="diff-html-removed" id="removed-diff-50" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' prefixes</span><span class="diff-html-added" id="added-diff-24" style="font-size: 100%; background-color: #ddfade;"> prefixes</span>.</li>
<li>A contact is added to the aor for each remote host using the <code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-33" style="background-color: #d6f0ff;">contact_pattern</span></code><span class="diff-html-changed" style="background-color: #d6f0ff;"> </span><span class="diff-html-added" id="added-diff-25" style="font-size: 100%; background-color: #ddfade;">and </span><code style="font-family: monospace"><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">${REMOTE_HOST</span></code><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">}</span>.</li>
</ul> </li>
<li> <span class="diff-html-removed" id="removed-diff-51" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-34" style="background-color: #d6f0ff;">sends_auth</span></code><span class="diff-html-removed" id="removed-diff-52" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' causes </span><span class="diff-html-added" id="added-diff-26" style="font-size: 100%; background-color: #ddfade;"> causes </span>an <span class="diff-html-removed" id="removed-diff-53" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span> auth <span class="diff-html-removed" id="removed-diff-54" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' </span>object to be created.
<ul style="margin: 10px 0 0 0">
<li>The name will be <span class="diff-html-removed" id="removed-diff-55" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-35" style="background-color: #d6f0ff;"><wizard_name>-oauth</span></code><span class="diff-html-removed" id="removed-diff-56" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span>.</li>
<li>Parameters are passed to it using the <span class="diff-html-removed" id="removed-diff-57" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-36" style="background-color: #d6f0ff;">outbound_auth/</span></code><span class="diff-html-removed" id="removed-diff-58" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' prefix</span><span class="diff-html-added" id="added-diff-27" style="font-size: 100%; background-color: #ddfade;"> prefix</span>.</li>
<li>The endpoint automatically has an <span class="diff-html-removed" id="removed-diff-59" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-37" style="background-color: #d6f0ff;">outbound_auth</span></code><span class="diff-html-removed" id="removed-diff-60" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' parameter </span><span class="diff-html-added" id="added-diff-28" style="font-size: 100%; background-color: #ddfade;"> parameter </span>added to it.</li>
<li>Registrations automatically have an <span class="diff-html-removed" id="removed-diff-61" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-38" style="background-color: #d6f0ff;">outbound_auth</span></code><span class="diff-html-removed" id="removed-diff-62" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' parameter </span><span class="diff-html-added" id="added-diff-29" style="font-size: 100%; background-color: #ddfade;"> parameter </span>added to them (if registrations are created, see below). </li>
</ul> </li>
<li> <span class="diff-html-removed" id="removed-diff-63" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-39" style="background-color: #d6f0ff;">accepts_auth</span></code><span class="diff-html-removed" id="removed-diff-64" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span> causes an <span class="diff-html-removed" id="removed-diff-65" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span> auth <span class="diff-html-removed" id="removed-diff-66" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' </span>object to be created.
<ul style="margin: 10px 0 0 0">
<li>The name will be <span class="diff-html-removed" id="removed-diff-67" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-40" style="background-color: #d6f0ff;"><wizard_name>-iauth</span></code><span class="diff-html-removed" id="removed-diff-68" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span>.</li>
<li>Parameters are passed to it using the <span class="diff-html-removed" id="removed-diff-69" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-41" style="background-color: #d6f0ff;">inbound_auth/</span></code><span class="diff-html-removed" id="removed-diff-70" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' prefix</span><span class="diff-html-added" id="added-diff-30" style="font-size: 100%; background-color: #ddfade;"> prefix</span>.</li>
<li>The endpoint automatically has an <span class="diff-html-removed" id="removed-diff-71" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-42" style="background-color: #d6f0ff;">auth</span></code><span class="diff-html-removed" id="removed-diff-72" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' parameter </span><span class="diff-html-added" id="added-diff-31" style="font-size: 100%; background-color: #ddfade;"> parameter </span>added to it.</li>
</ul> </li>
<li> <span class="diff-html-removed" id="removed-diff-73" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-43" style="background-color: #d6f0ff;">sends_registrations</span></code><span class="diff-html-removed" id="removed-diff-74" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' causes </span><span class="diff-html-added" id="added-diff-32" style="font-size: 100%; background-color: #ddfade;"> causes </span>an outbound registration object to be created for each remote host.
<ul style="margin: 10px 0 0 0">
<li>The name will be <span class="diff-html-removed" id="removed-diff-75" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-44" style="background-color: #d6f0ff;"><wizard_name>-reg-<n></span></code><span class="diff-html-removed" id="removed-diff-76" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' where </span><span class="diff-html-added" id="added-diff-33" style="font-size: 100%; background-color: #ddfade;"> where </span>n starts at 0 and increments by 1 for each remote host.</li>
<li>Parameters are passed to them using the <span class="diff-html-removed" id="removed-diff-77" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-45" style="background-color: #d6f0ff;">registration/</span></code><span class="diff-html-removed" id="removed-diff-78" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' prefix</span><span class="diff-html-added" id="added-diff-34" style="font-size: 100%; background-color: #ddfade;"> prefix</span>.</li>
<li>You should not use a wizard in situations whereyou need to pass different parameters to each registration.</li>
<li> <span class="diff-html-removed" id="removed-diff-79" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-46" style="background-color: #d6f0ff;">server_uri</span></code><span class="diff-html-removed" id="removed-diff-80" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' and '</span><span class="diff-html-added" id="added-diff-35" style="font-size: 100%; background-color: #ddfade;"> and </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-47" style="background-color: #d6f0ff;">client_uri</span></code><span class="diff-html-removed" id="removed-diff-81" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' are </span><span class="diff-html-added" id="added-diff-36" style="font-size: 100%; background-color: #ddfade;"> are </span>constructed using their respective patterns using <span class="diff-html-removed" id="removed-diff-82" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">the remote host and 'outbound_auth/username'</span><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;"> </span><code style="font-family: monospace"><span class="diff-html-added" id="added-diff-37" style="font-size: 100%; background-color: #ddfade;">${REMOTE_HOST</span></code><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">} and </span><code style="font-family: monospace"><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">${USERNAME</span></code><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">}</span>.</li>
</ul> </li>
<li>If <span class="diff-html-removed" id="removed-diff-83" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-48" style="background-color: #d6f0ff;">accepts_registrations</span></code><span class="diff-html-removed" id="removed-diff-84" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' is </span><span class="diff-html-added" id="added-diff-38" style="font-size: 100%; background-color: #ddfade;"> is </span>specified, <span class="diff-html-removed" id="removed-diff-85" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-49" style="background-color: #d6f0ff;">remote_hosts</span></code><span class="diff-html-removed" id="removed-diff-86" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' must </span><span class="diff-html-added" id="added-diff-39" style="font-size: 100%; background-color: #ddfade;"> must </span>NOT be specified and no contacts are added to the aor. This causes registrations to be accepted.</li>
<li>If <span class="diff-html-removed" id="removed-diff-87" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-50" style="background-color: #d6f0ff;">accepts_registrations</span></code><span class="diff-html-removed" id="removed-diff-88" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' is </span><span class="diff-html-added" id="added-diff-40" style="font-size: 100%; background-color: #ddfade;"> is </span>NOT specified or set to <span class="diff-html-removed" id="removed-diff-89" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-51" style="background-color: #d6f0ff;">no</span></code><span class="diff-html-removed" id="removed-diff-90" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span>, then an identify object is created to match incoming requests to the endpoint.<br />
<ul style="margin: 10px 0 0 0">
<li> <span class="diff-html-added" id="added-diff-41" style="font-size: 100%; background-color: #ddfade;">The name will be </span><code style="font-family: monospace"><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;"><wizard_name>-identify</span></code><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">.</span> </li>
<li>Parameters are passed to it using the <span class="diff-html-removed" id="removed-diff-91" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-52" style="background-color: #d6f0ff;">identify/</span></code><span class="diff-html-removed" id="removed-diff-92" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' prefix </span><span class="diff-html-added" id="added-diff-42" style="font-size: 100%; background-color: #ddfade;"> prefix </span>although there really aren't any to pass.</li>
</ul> </li>
<li>If <span class="diff-html-removed" id="removed-diff-93" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-53" style="background-color: #d6f0ff;">has_phoneprov</span></code><span class="diff-html-removed" id="removed-diff-94" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' is </span><span class="diff-html-added" id="added-diff-43" style="font-size: 100%; background-color: #ddfade;"> is </span>specified, a phoneprov object object is created.
<ul style="margin: 10px 0 0 0">
<li>The name will be <span class="diff-html-removed" id="removed-diff-95" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-54" style="background-color: #d6f0ff;"><wizard_name>-phoneprov</span></code><span class="diff-html-removed" id="removed-diff-96" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span>.</li>
<li>Both <span class="diff-html-removed" id="removed-diff-97" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-55" style="background-color: #d6f0ff;">phoneprov/MAC</span></code><span class="diff-html-removed" id="removed-diff-98" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' and '</span><span class="diff-html-added" id="added-diff-44" style="font-size: 100%; background-color: #ddfade;"> and </span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-56" style="background-color: #d6f0ff;">phoneprov/PROFILE</span></code><span class="diff-html-removed" id="removed-diff-99" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' must </span><span class="diff-html-added" id="added-diff-45" style="font-size: 100%; background-color: #ddfade;"> must </span>be specified.</li>
</ul> </li>
<li>All created objects must pass the same edit criteria they would have to pass if they were specified discretely.</li>
<li>All created objects will have a <span class="diff-html-removed" id="removed-diff-100" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-57" style="background-color: #d6f0ff;">@pjsip_wizard=<wizard_name></span></code><span class="diff-html-removed" id="removed-diff-101" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' parameter </span><span class="diff-html-added" id="added-diff-46" style="font-size: 100%; background-color: #ddfade;"> parameter </span>added to them otherwise they are indistinguishable from discretely created ones.</li>
<li>All created object are visible via the CLI and AMI as though they were created discretely.</li>
<li>Wizard created objects can co-exist with discretely created objects.</li>
<li>There can be no name collisions between wizard created objects and discretely created objects.</li>
</ul>
<p style="margin: 10px 0 0 0"> </p>
</div> </td>
</tr>
</tbody>
</table>
<table width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr class="columnLayout single" data-layout="single">
<td valign="top" class="cell normal" data-type="normal" style="padding: 0px; border-collapse: collapse">
<div class="innerCell">
<h2 id="PJSIPConfigurationWizard-FullExamples:" style="margin: 10px 0 0 0; margin-top: 0; font-size: 20px; font-weight: normal; line-height: 30px; margin: 40px 0 0 0; margin-top: 0"> <span>Full Examples:</span> </h2>
<h3 id="PJSIPConfigurationWizard-Phones:" style="margin: 10px 0 0 0; font-size: 16px; line-height: 25px; margin: 30px 0 0 0; margin-top: 10px"> <span> </span>Phones:</h3>
<div class="table-wrap" style="margin: 10px 0 0 0; overflow-x: auto">
<table class="confluenceTable" style="border-collapse: collapse; border: 1px solid #ddd;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; border-collapse: collapse; margin: 10px 0 0 0; overflow-x: auto; margin-top: 0">
<tbody>
<tr>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold">Configuration</th>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold">Notes</th>
</tr>
<tr>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">
<table class="diff-macro" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<thead>
<tr>
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5635/60fd2eb45debbf4ede2b669f4c9b96b4ce40a937.48/_/plugins/servlet/confluence/placeholder/macro-icon?name=code" style="padding-right: 5px; vertical-align: text-bottom;; max-width: none" /> </span>Code Block</th>
</tr>
</thead>
<tbody>
<tr>
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <pre style="margin: 10px 0 0 0; margin-top: 0">[user_defaults](!)
type = wizard
transport = ipv4
accepts_registrations = yes
sends_registrations = no
accepts_auth = yes
sends_auth = no
endpoint/context = DLPN_DialPlan1
endpoint/allow_subscribe = yes
endpoint/allow = !all,ulaw,gsm,g722
endpoint/direct_media = yes
endpoint/force_rport = yes
endpoint/disable_direct_media_on_nat = yes
endpoint/direct_media_method = invite
endpoint/ice_support = yes
endpoint/moh_suggest = default
endpoint/send_rpid = yes
endpoint/rewrite_contact = yes
endpoint/send_pai = yes
endpoint/allow_transfer = yes
endpoint/trust_id_inbound = yes
endpoint/device_state_busy_at = 1
endpoint/trust_id_outbound = yes
endpoint/send_diversion = yes
aor/qualify_frequency = 30
aor/authenticate_qualify = no
aor/max_contacts = 1
aor/remove_existing = yes
aor/minimum_expiration = 30
aor/support_path = yes
phoneprov/PROFILE = profile1
[<span class="diff-html-removed" id="removed-diff-102" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">1000</span><span class="diff-html-added" id="added-diff-47" style="font-size: 100%; background-color: #ddfade;">bob</span>](user_defaults)
inbound_auth/username = <span class="diff-html-removed" id="removed-diff-103" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">1000</span><span class="diff-html-added" id="added-diff-48" style="font-size: 100%; background-color: #ddfade;">bob</span>
inbound_auth/password = <span class="diff-html-removed" id="removed-diff-104" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">somepassword</span><span class="diff-html-added" id="added-diff-49" style="font-size: 100%; background-color: #ddfade;">bobspassword</span>
[<span class="diff-html-removed" id="removed-diff-105" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">1001</span><span class="diff-html-added" id="added-diff-50" style="font-size: 100%; background-color: #ddfade;">alice</span>](user_defaults)
endpoint/callerid = <span class="diff-html-removed" id="removed-diff-106" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">User</span><span class="diff-html-added" id="added-diff-51" style="font-size: 100%; background-color: #ddfade;">Alice</span> <span class="diff-html-removed" id="removed-diff-107" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">1 </span><1001>
endpoint/allow = !all,ulaw
inbound_auth/username = <span class="diff-html-removed" id="removed-diff-108" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">1001</span><span class="diff-html-added" id="added-diff-52" style="font-size: 100%; background-color: #ddfade;">alice</span>
inbound_auth/password = <span class="diff-html-removed" id="removed-diff-109" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">somepassword</span><span class="diff-html-added" id="added-diff-53" style="font-size: 100%; background-color: #ddfade;">alicespassword</span>
has_phoneprov = yes
phoneprov/MAC = deadbeef4dad
</pre> </td>
</tr>
</tbody>
</table> </td>
<td colspan="1" class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">This example demonstrates the power of both wizards and templates.</p> <p style="margin: 10px 0 0 0">Once the template is created, adding a new phone could be as simple as creating a wizard object<br />with nothing more than a username and password. You don't even have to specify 'type' because it's<br />inherited from the template.</p> <p style="margin: 10px 0 0 0">Of course, you can override ANYTHING in the wizard object or specify everything and not use templates at all.</p> </td>
</tr>
</tbody>
</table>
</div>
<h3 id="PJSIPConfigurationWizard-TrunktoanITSPrequiringregistration:" style="margin: 10px 0 0 0; font-size: 16px; line-height: 25px; margin: 30px 0 0 0"> <span style="color: rgb(133,120,102);">Trunk to an ITSP requiring registration:</span> </h3>
<div class="table-wrap" style="margin: 10px 0 0 0; overflow-x: auto">
<table class="confluenceTable" style="border-collapse: collapse; border: 1px solid #ddd;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; border-collapse: collapse; margin: 10px 0 0 0; overflow-x: auto; margin-top: 0">
<tbody>
<tr>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold">Configuration</th>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold">Notes</th>
</tr>
<tr>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">
<table class="diff-macro" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<thead>
<tr>
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5635/60fd2eb45debbf4ede2b669f4c9b96b4ce40a937.48/_/plugins/servlet/confluence/placeholder/macro-icon?name=code" style="padding-right: 5px; vertical-align: text-bottom;; max-width: none" /> </span>Code Block</th>
</tr>
</thead>
<tbody>
<tr>
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <pre style="margin: 10px 0 0 0; margin-top: 0">[trunk_defaults](!)
type = wizard
transport = ipv4
endpoint/allow_subscribe = no
endpoint/allow = !all,ulaw
aor/qualify_frequency = 30
registration/expiration = 1800
[myitsp](trunk_defaults)
sends_auth = yes
sends_registrations = yes
endpoint/context = DID_myitsp
remote_hosts = sip1.myitsp.net,sip2.myitsp.net
accepts_registrations = no
endpoint/send_rpid = yes
endpoint/send_pai = yes
outbound_auth/username = my_username
outbound_auth/password = my_password
[my_other_itsp](trunk_defaults)
sends_auth = yes
sends_registrations = yes
endpoint/context = DID_myitsp
remote_hosts = sip1.my-other-itsp.net,sip2.my-other-itsp.net
accepts_registrations = no
endpoint/send_rpid = yes
endpoint/send_pai = yes
outbound_auth/username = my_username
outbound_auth/password = my_password
registration/expiration = 900
registration/support_path = no</pre> </td>
</tr>
</tbody>
</table> </td>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">This is an example of trunks to 2 different ITSPs each of which has a primary and<br />backup server.</p> <p style="margin: 10px 0 0 0">It also shows most of the endpoint and aor parameters being left at their defaults.</p> <p style="margin: 10px 0 0 0">In this scenario, each wizard object takes the place of an endpoint, aor, auth,<br />identify and 2 registrations.</p> </td>
</tr>
</tbody>
</table>
</div>
<h3 id="PJSIPConfigurationWizard-Trunkbetweentrustedpeers:" style="margin: 10px 0 0 0; font-size: 16px; line-height: 25px; margin: 30px 0 0 0">Trunk between trusted peers:</h3>
<div class="table-wrap" style="margin: 10px 0 0 0; overflow-x: auto">
<table class="confluenceTable" style="border-collapse: collapse; border: 1px solid #ddd;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; border-collapse: collapse; margin: 10px 0 0 0; overflow-x: auto; margin-top: 0">
<tbody>
<tr>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold">Configuration</th>
<th class="confluenceTh" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;background-color: #F0F0F0; font-weight: bold;; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left; background-color: #f0f0f0; font-weight: bold">Notes</th>
</tr>
<tr>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left">
<table class="diff-macro" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<thead>
<tr>
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5635/60fd2eb45debbf4ede2b669f4c9b96b4ce40a937.48/_/plugins/servlet/confluence/placeholder/macro-icon?name=code" style="padding-right: 5px; vertical-align: text-bottom;; max-width: none" /> </span>Code Block</th>
</tr>
</thead>
<tbody>
<tr>
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <pre style="margin: 10px 0 0 0; margin-top: 0">[trusted-peer](trunk_defaults)
endpoint/context = peer_context
remote_hosts = sip1.peer.com:45060
sends_registrations = no
accepts_registrations = no
sends_auth = no
accepts_auth = no</pre> </td>
</tr>
</tbody>
</table> </td>
<td class="confluenceTd" style="border: 1px solid #DDD; padding: 5px 7px; min-width: 0.6em; text-align: left; vertical-align: top;; padding: 0px; border-collapse: collapse; border: 1px solid #ddd; padding: 7px 10px; vertical-align: top; text-align: left"> <p style="margin: 10px 0 0 0; margin-top: 0">This one's even simpler. The <span class="diff-html-removed" id="removed-diff-110" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-58" style="background-color: #d6f0ff;">sends_</span></code><span class="diff-html-removed" id="removed-diff-111" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' </span>and <span class="diff-html-removed" id="removed-diff-112" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-59" style="background-color: #d6f0ff;">accepts_</span></code><span class="diff-html-removed" id="removed-diff-113" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' </span>parameters all default to <span class="diff-html-removed" id="removed-diff-114" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-60" style="background-color: #d6f0ff;">no</span></code><span class="diff-html-removed" id="removed-diff-115" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">' </span>so you don't really<br />even have to specify them unless your template has them set to <span class="diff-html-removed" id="removed-diff-116" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span><code style="font-family: monospace"><span class="diff-html-changed" id="changed-diff-61" style="background-color: #d6f0ff;">yes</span></code><span class="diff-html-removed" id="removed-diff-117" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">'</span>.</p> </td>
</tr>
</tbody>
</table>
</div>
</div> </td>
</tr>
</tbody>
</table>
</div> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td class="email-content-main mobile-expand action-padding last-row-padding" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 15px 16px; background-color: #fff; padding-bottom: 10px; padding-bottom: 10px">
<table id="actions-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px">
<tbody>
<tr>
<td id="actions-pattern-container" valign="middle" style="padding: 0px; border-collapse: collapse; padding: 15px 0 0 24px; vertical-align: middle">
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr>
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"><a href="https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard?src=email" title="View page Icon" style="color: #3b73af; text-decoration: none"><img class="actions-pattern-action-icon-image" height="16" width="16" border="0" title="View page Icon" src="cid:com.atlassian.confluence.plugins.confluence-email-resources%3Aview-page-email-adg-footer-item%3Aicon" alt="View page Icon" style="vertical-align: middle" /></a></td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px; white-space: nowrap"><a href="https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard?src=email" title="View page" style="color: #3b73af; text-decoration: none">View page</a></td>
<td class="actions-pattern-action-bull" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; color: #999; padding: 0 5px">•</td>
</tr>
</tbody>
</table>
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr>
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"><a href="https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard?showComments=true&showCommentArea=true&src=email#addcomment" title="Add comment Icon" style="color: #3b73af; text-decoration: none"><img class="actions-pattern-action-icon-image" height="16" width="16" border="0" title="Add comment Icon" src="cid:com.atlassian.confluence.plugins.confluence-email-resources%3Aadd-comment-to-content-email-adg-footer-item%3Aicon" alt="Add comment Icon" style="vertical-align: middle" /></a></td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px; white-space: nowrap"><a href="https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard?showComments=true&showCommentArea=true&src=email#addcomment" title="Add comment" style="color: #3b73af; text-decoration: none">Add comment</a></td>
<td class="actions-pattern-action-bull" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; color: #999; padding: 0 5px">•</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr>
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"><a href="https://wiki.asterisk.org/wiki/plugins/likes/like.action?contentId=31096871&src=email" title="Like Icon" style="color: #3b73af; text-decoration: none"><img class="actions-pattern-action-icon-image" height="16" width="16" border="0" title="Like Icon" src="cid:com.atlassian.confluence.plugins.confluence-like%3Aview-email-adg-content-item%3Aicon" alt="Like Icon" style="vertical-align: middle" /></a></td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px; white-space: nowrap"><a href="https://wiki.asterisk.org/wiki/plugins/likes/like.action?contentId=31096871&src=email" title="Like" style="color: #3b73af; text-decoration: none">Like</a></td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td class="email-content-rounded-bottom mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; height: 5px; line-height: 5px; padding: 0 15px 0 16px; background-color: #fff; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; border-top: 0; border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; mso-line-height-rule: exactly"> </td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td id="footer-pattern" style="padding: 0px; border-collapse: collapse; padding: 12px 20px">
<table id="footer-pattern-container" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333">
<tbody>
<tr>
<td id="footer-pattern-links-container" width="100%" style="padding: 0px; border-collapse: collapse; color: #999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px">
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px">
<tbody>
<tr>
<td class="footer-pattern-links mobile-resize-text" style="padding: 0px; border-collapse: collapse"><a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST&src=email" title="" style="color: #3b73af; text-decoration: none">Stop watching space</a></td>
<td class="footer-pattern-links-bull" style="padding: 0px; border-collapse: collapse; padding: 0 5px; color: #999">•</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px">
<tbody>
<tr>
<td class="footer-pattern-links mobile-resize-text" style="padding: 0px; border-collapse: collapse"><a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action?src=email" title="" style="color: #3b73af; text-decoration: none">Manage notifications</a></td>
</tr>
</tbody>
</table> </td>
</tr>
<tr>
<td id="footer-pattern-text" class="mobile-resize-text" width="100%" style="padding: 0px; border-collapse: collapse; color: #999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px; display: none">This message was sent by Atlassian Confluence 5.6.1</td>
</tr>
</tbody>
</table> </td>
</tr>
</tbody>
</table>
<table id="sealed-section" border="0" cellpadding="0" cellspacing="0" width="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; display: none">
<tbody>
<tr>
<td style="padding: 0px; border-collapse: collapse; border: 0; font-size: 0px; line-height: 0; mso-line-height-rule: exactly"></td>
</tr>
</tbody>
</table>
</body>
</html>