Separate option_types[] from the struct definition.

Updated the option_types[] doxygen comment.
........

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


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@380854 f38db490-d61c-443f-a65b-d21fe96a405b
Because the compiler can check types with a struct copy and memcpy() cannot.

git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@380856 f38db490-d61c-443f-a65b-d21fe96a405b
app_page: Fixup application XML documentation typos and inaccuracies.


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@380869 f38db490-d61c-443f-a65b-d21fe96a405b
app_confbridge: Fix error messages on exiting conference.

A marked user ending a conference with only end_marked users generates
error messages:
ERROR[0000][C-00000000]: confbridge/conf_state.c:47 conf_invalid_event_fn: Invalid event for confbridge user ''

* The MULTI_MARKED state was doing too much when it was kicking out the
end_marked users from the conference.  The kicked out users will clean up
after themselves when they exit the conference.

(closes issue ASTERISK-20991)
Reported by: Jeremy Kister
Tested by: rmudgett


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@380892 f38db490-d61c-443f-a65b-d21fe96a405b
app_page and app_confbridge: Fix custom announcement on entering conference.

The Page and ConfBridge custom announcement did not play when users
entered the conference.

* Fix the CONFBRIDGE(user,announcement) file not getting played.  The code
to do this got removed accidentally when the ConfBridge code was
restructured to be more state machine like.

* Fixed play_prompt_to_user() doxygen comments.

* Fixed the Page A(x) and n options for the caller.  The caller never
played the announcement file and totally ignored the n option.  The code
to do this was lost when the application was converted to use ConfBridge.

* Factored out setup_profile_bridge(), setup_profile_paged(), and
setup_profile_caller() routines to setup ConfBridge profiles.  Made each
profile setup routine use the default template if one has not already been
setup by dialplan.

(closes issue ASTERISK-20990)
Reported by: Jeremy Kister
Tested by: rmudgett


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@380894 f38db490-d61c-443f-a65b-d21fe96a405b