Cleanup indications on exit.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 11 Dec 2012 02:13:37 +0000 (02:13 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 11 Dec 2012 02:13:37 +0000 (02:13 +0000)
commit96a510e157e3f972a44fc5268321d9410cd141f7
tree1f2a904c75473e5aac59a897321d3198ce1fc41c
parent7990b03e4e3e94dde59bb3b10559b871bb085ef9
Cleanup indications on exit.

* Made ast_unregister_indication_country() unlink the found tone zone
before selecting a new default_tone_zone to make it impossible to select
the tone zone being unregistered again.

* Ringcadence is no longer parsed twice in store_config_tone_zone().

* Cleanup CLI commands and destroy default_tone_zone on exit.

(issue ASTERISK-20649)
Reported by: Corey Farrell
Patches:
      indications-cleanup-all.patch (license #5909) patch uploaded by Corey Farrell
      Modified
........

Merged revisions 377740 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 377741 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 377742 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/indications.c