; SYNOPSIS: Provides configuration wizard for common scenarios.
;sends_auth= ; Will create an outbound auth object for the endpoint and
; registration.
- ; If yes, outbound/username must be specified.
- ; (default = "no")
+ ; If yes, outbound_auth/username must be specified.
+ ; (default: "no")
;accepts_auth= ; Will create an inbound auth object for the endpoint.
- ; If yes, inbound/username must be specified.
- ; (default = "no")
+ ; If yes, inbound_auth/username must be specified.
+ ; (default: "no")
;sends_registrations= ; Will create an outbound registration object and an
; identify match for each host in remote_hosts (which
; If specified, a static contact for each host will be created
; in the aor. If accepts_registrations is no, an identify
; object is also created with a match line for each remote host.
- ; If an aor/contact or match/identify is explicitly supplied,
+ ; If an aor/contact or identify/match is explicitly supplied,
; remote_hosts will not be used to automatically create contacts
; or matches respectively.
; (default: "")
; (default: the pjsip default)
;server_uri_pattern= ; The pattern used to construct the registration
- ; server_uri. The replaceable parameter ${REMOTE_HOST} isa
+ ; server_uri. The replaceable parameter ${REMOTE_HOST} is
; available for use.
; (default: "sip:${REMOTE_HOST}")
;hint_exten ; If specified, a PJSIP/<wizard_id> hint will be created
; for this extension in 'hint_context'.
- ; context.
; (default: none)
;hint_application ; If specified, an extension will be placed in 'hint_context'
; at priority 1 that calls this application. Could be any
; valid dialplan expression like
; "Gosub(stdexten,${EXTEN},1(${HINT}))"
- ; (default: "Dial(${HINT})")
+ ; If not specified, no priority 1 extension is created.
+ ; (default: none)
;endpoint/<param> ; Any parameters to be passed directly to and validated
;aor/<param> ; by their respective objects.
<description><para>A comma-separated list of remote hosts in the form of
<replaceable>host</replaceable>[:<replaceable>port</replaceable>].
If set, an aor static contact and an identify match will be created for each
- entry in the list. If send_registrations is also set, a registration will
+ entry in the list. If sends_registrations is also set, a registration will
also be created for each.</para></description>
</configOption>
<configOption name="outbound_proxy">
<configOption name="sends_registrations" default="no">
<synopsis>Send outbound registrations to remote hosts.</synopsis>
<description><para>remote_hosts is required and a registration object will
- be created for each host in the remote _hosts string. If authentication is required,
+ be created for each host in the remote_hosts string. If authentication is required,
sends_auth and an outbound_auth/username must also be supplied.</para></description>
</configOption>
<configOption name="sends_line_with_registrations" default="no">
- <synopsis>Sets "line" and "endpoint parameters on registrations.</synopsis>
+ <synopsis>Sets "line" and "endpoint" parameters on registrations.</synopsis>
<description><para>Setting this to true will cause the wizard to skip the
creation of an identify object to match incoming requests to the endpoint and
instead add the line and endpoint parameters to the outbound registration object.
<configOption name="accepts_registrations" default="no">
<synopsis>Accept inbound registration from remote hosts.</synopsis>
<description><para>An AOR with dynamic contacts will be created. If
- the number of contacts nneds to be limited, set aor/max_contacts.</para></description>
+ the number of contacts needs to be limited, set aor/max_contacts.</para></description>
</configOption>
<configOption name="has_phoneprov" default="no">
<synopsis>Create a phoneprov object for this endpoint.</synopsis>
if (ast_sorcery_object_type_apply_wizard(sorcery, object_type,
"memory", "pjsip_wizard", AST_SORCERY_WIZARD_APPLY_READONLY | AST_SORCERY_WIZARD_APPLY_ALLOW_DUPLICATE,
&wizard, &wizard_data) != AST_SORCERY_APPLY_SUCCESS) {
- ast_log(LOG_ERROR, "Unable to apply sangoma wizard to object type '%s'\n", object_type);
+ ast_log(LOG_ERROR, "Unable to apply pjsip_wizard to object type '%s'\n", object_type);
return;
}
case CLI_INIT:
e->command = "pjsip export config_wizard primitives [to]";
e->usage =
- "Usage: pjsip export config_wizard primitives [ to <filename ]\n"
+ "Usage: pjsip export config_wizard primitives [ to <filename> ]\n"
" Export the config_wizard objects as pjsip primitives to\n"
" the console or to <filename>\n";
return NULL;