]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add doxygen comments and const to switch_ivr_schedule_broadcast
authorMathieu Rene <mrene@avgs.ca>
Tue, 27 Jan 2009 21:19:40 +0000 (21:19 +0000)
committerMathieu Rene <mrene@avgs.ca>
Tue, 27 Jan 2009 21:19:40 +0000 (21:19 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11514 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_ivr.h
src/switch_ivr_async.c

index 3283833e6b2fc393669f060f5bcf1ca6ef5876a5..79fb84ea75fe363631e259676c0e43e81610588c 100644 (file)
@@ -107,6 +107,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_next_event(switch_core_session_
   \brief Wait for time to pass for a specified number of milliseconds
   \param session the session to wait for.
   \param ms the number of milliseconds
+  \param sync synchronize the channel's audio before waiting
   \param args arguements to pass for callbacks etc
   \return SWITCH_STATUS_SUCCESS if the channel is still up
 */
@@ -389,6 +390,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text(switch_core_session_t *ses
   \param cid_name_override override the caller id name
   \param cid_num_override override the caller id number
   \param caller_profile_override override the entire calling caller profile
+  \param ovars variables to be set on the outgoing channel
   \param flags flags to pass
   \return SWITCH_STATUS_SUCCESS if bleg is a running session.
   \note bleg will be read locked which must be unlocked with switch_core_session_rwunlock() before losing scope
@@ -524,7 +526,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_unhold(switch_core_session_t *session
   \param flags flags to send to the request (SMF_ECHO_BRIDGED to send the broadcast to both sides of the call)
   \return the id of the task
 */
-SWITCH_DECLARE(uint32_t) switch_ivr_schedule_broadcast(time_t runtime, char *uuid, char *path, switch_media_flag_t flags);
+SWITCH_DECLARE(uint32_t) switch_ivr_schedule_broadcast(time_t runtime, const char *uuid, const char *path, switch_media_flag_t flags);
 
 /*!
   \brief Signal the session to broadcast audio
index 136713702193bf85c437a0afa87627858b46c1f7..33fda84be5e6c02ff8603c25c24af7ce436c6b99 100644 (file)
@@ -2147,7 +2147,7 @@ SWITCH_STANDARD_SCHED_FUNC(sch_broadcast_callback)
        switch_ivr_broadcast(helper->uuid_str, helper->path, helper->flags);
 }
 
-SWITCH_DECLARE(uint32_t) switch_ivr_schedule_broadcast(time_t runtime, char *uuid, char *path, switch_media_flag_t flags)
+SWITCH_DECLARE(uint32_t) switch_ivr_schedule_broadcast(time_t runtime, const char *uuid, const char *path, switch_media_flag_t flags)
 {
        struct broadcast_helper *helper;
        size_t len = sizeof(*helper) + strlen(path) + 1;