asterisk/configs/samples
George Joseph e2524fcee3 res_pjsip_mwi: Add voicemail extension and mwi_subscribe_replaces_unsolicited
res_pjsip_mwi was missing the chan_sip "vmexten" functionality which adds
the Message-Account header to the MWI NOTIFY.  Also, specifying mailboxes
on endpoints for unsolicited mwi and on aors for subscriptions required
that the admin know in advance which the client wanted.  If you specified
mailboxes on the endpoint, subscriptions were rejected even if you also
specified mailboxes on the aor.

Voicemail extension:
* Added a global default_voicemail_extension which defaults to "".
* Added voicemail_extension to both endpoint and aor.
* Added ast_sip_subscription_get_dialog for support.
* Added ast_sip_subscription_get_sip_uri for support.

When an unsolicited NOTIFY is constructed, the From header is parsed, the
voicemail extension from the endpoint is substituted for the user, and the
result placed in the Message-Account field in the body.

When a subscribed NOTIFY is constructed, the subscription dialog local uri
is parsed, the voicemail_extension from the aor (looked up from the
subscription resource name) is substituted for the user, and the result
placed in the Message-Account field in the body.

If no voicemail extension was defined, the Message-Account field is not added
to the NOTIFY body.

mwi_subscribe_replaces_unsolicited:
* Added mwi_subscribe_replaces_unsolicited to endpoint.

The previous behavior was to reject a subscribe if a previous internal
subscription for unsolicited MWI was found for the mailbox.  That remains the
default.  However, if there are mailboxes also set on the aor and the client
subscribes and mwi_subscribe_replaces_unsolicited is set, the existing internal
subscription is removed and replaced with the external subscription.  This
allows an admin to configure mailboxes on both the endpoint and aor and allows
the client to select which to use.

ASTERISK-25865 #close
Reported-by: Ross Beer

Change-Id: Ic15a9415091760539c7134a5ba3dc4a6a1217cea
2016-03-30 13:23:54 -05:00
..
acl.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
adsi.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
agents.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
alarmreceiver.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
alsa.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
amd.conf.sample app_amd: Correct maximum_number_of_words functionality & documentation 2015-12-21 16:02:09 -08:00
app_mysql.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
app_skel.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
ari.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
asterisk.adsi configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
asterisk.conf.sample Astobj2: Allow reference debugging to be enabled/disabled by config. 2015-04-27 18:37:26 -04:00
calendar.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
ccss.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cdr.conf.sample cdr/cdr_csv.c: Add a new option to enable columns added in Asterisk 1.8 2015-05-03 09:50:25 -05:00
cdr_adaptive_odbc.conf.sample cdr_adaptive_odbc: Add ability to set character for quoted identifiers. 2015-05-05 04:38:33 -04:00
cdr_custom.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cdr_manager.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cdr_mysql.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cdr_odbc.conf.sample cdr/cdr_odbc.c: Added to record new columns add on CDR 1.8 Asterisk Version 2015-04-27 09:38:15 -05:00
cdr_pgsql.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cdr_sqlite3_custom.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cdr_syslog.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cdr_tds.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cel.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cel_custom.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cel_odbc.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cel_pgsql.conf.sample cel_pgsql: Add support for setting schema 2015-05-05 07:59:12 -04:00
cel_sqlite3_custom.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cel_tds.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
chan_dahdi.conf.sample chan_dahdi: Improve force_restart_unavailable_chans option description. 2015-05-06 16:12:00 -05:00
chan_mobile.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cli.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
cli_aliases.conf.sample Sample Configurations: make 'pjsip reload' reload all reloadable pjsip modules 2014-10-17 22:45:27 +00:00
cli_permissions.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
codecs.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
confbridge.conf.sample app_confbridge: Make non-admin users join a muted conference muted. 2016-01-27 16:46:20 -06:00
config_test.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
console.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
dbsep.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
dnsmgr.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
dsp.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
dundi.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
enum.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
extconfig.conf.sample app_queue: Add RealTime support for queue rules 2014-08-11 00:14:53 +00:00
extensions.ael.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
extensions.conf.sample ASTERISK-24419, fix incorrect syntax for setting language in extensions.conf.sample 2014-10-28 13:13:16 +00:00
extensions.lua.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
extensions_minivm.conf.sample Git Conversion: Switch Non-C files to ASTERISK_REGISTER_FILE. 2015-04-29 01:02:10 -04:00
features.conf.sample Update version number in features.conf.sample 2016-01-16 20:02:43 +00:00
festival.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
followme.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
func_odbc.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
hep.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
http.conf.sample AST-2016-001 http: Provide greater control of TLS and set modern defaults. 2016-02-03 15:10:16 -06:00
iax.conf.sample channels/chan_iax2: Add a configuration parameter for call token expiration 2015-04-10 12:23:42 +00:00
iaxprov.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
indications.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
logger.conf.sample main/logger: Add log formatters and JSON structured logs 2015-09-29 07:28:01 -05:00
manager.conf.sample ASTERISK-23512, correct inaccurate comment in manager.conf.sample 2014-10-28 18:09:32 +00:00
meetme.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
mgcp.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
minivm.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
misdn.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
modules.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
motif.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
musiconhold.conf.sample musiconhold: Add preferchannelclass=no option to prefer app class. 2014-09-25 20:49:04 +00:00
muted.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
ooh323.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
osp.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
oss.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
phone.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
phoneprov.conf.sample res_phoneprov: Refactor phoneprov to allow pluggable config providers 2014-10-09 17:46:23 +00:00
pjproject.conf.sample res_pjproject: Add ability to map pjproject log levels to Asterisk log levels 2016-02-18 16:30:29 -06:00
pjsip.conf.sample res_pjsip_mwi: Add voicemail extension and mwi_subscribe_replaces_unsolicited 2016-03-30 13:23:54 -05:00
pjsip_notify.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
pjsip_wizard.conf.sample res_pjsip_config_wizard: Add ability to auto-create hints. 2015-02-10 23:17:17 +00:00
queuerules.conf.sample app_queue: Add RealTime support for queue rules 2014-08-11 00:14:53 +00:00
queues.conf.sample app_queue: Update sample conf documenation 2014-12-24 21:28:14 +00:00
res_config_mysql.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_config_sqlite.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_config_sqlite3.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_corosync.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_curl.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_fax.conf.sample res_fax: Add T.38 negotiation timeout option 2015-01-09 14:53:09 +00:00
res_ldap.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_odbc.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_parking.conf.sample res_parking: Update parking documentation for dynamic parking lots. 2016-03-25 18:25:47 -05:00
res_pgsql.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_pktccops.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_snmp.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
res_stun_monitor.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
resolver_unbound.conf.sample dns: Add core DNS API + unit tests and res_resolver_unbound module + unit tests. 2015-03-25 12:32:26 +00:00
rtp.conf.sample res_rtp_asterisk: Allow ICE host candidates to be overriden 2016-02-03 17:06:20 -06:00
say.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
sip.conf.sample chan_sip: Optionally supply fromuser/fromdomain in SIP dial string. 2016-02-19 11:30:15 +01:00
sip_notify.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
skinny.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
sla.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
smdi.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
sorcery.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
ss7.timers.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
stasis.conf.sample main/stasis: Allow subscriptions to use a threadpool for message delivery 2014-12-01 17:59:21 +00:00
statsd.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
telcordia-1.adsi configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
test_sorcery.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
udptl.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
unistim.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
users.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
voicemail.conf.sample app_voicemail: Add the ability to specify multiple email addresses. 2014-08-08 19:16:29 +00:00
vpb.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00
xmpp.conf.sample configs: Move sample config files into a subdirectory of configs 2014-07-17 21:17:28 +00:00