]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
refactor enterprise_originate
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 20 Nov 2009 02:17:21 +0000 (02:17 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 20 Nov 2009 02:17:21 +0000 (02:17 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@888 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/mod_openzap/mod_openzap.c

index 886d14a71a4cf557b6efb31277f300ceeaf64196..c295113351f6202cb3f2c97061fdb6fcdd94fed4 100644 (file)
@@ -125,7 +125,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
                                                                                                        switch_caller_profile_t *outbound_profile,
                                                                                                        switch_core_session_t **new_session, 
                                                                                                        switch_memory_pool_t **pool,
-                                                                                                       switch_originate_flag_t flags);
+                                                                                                       switch_originate_flag_t flags, switch_call_cause_t *cancel_cause);
 static switch_status_t channel_read_frame(switch_core_session_t *session, switch_frame_t **frame, switch_io_flag_t flags, int stream_id);
 static switch_status_t channel_write_frame(switch_core_session_t *session, switch_frame_t *frame, switch_io_flag_t flags, int stream_id);
 static switch_status_t channel_kill_channel(switch_core_session_t *session, int sig);
@@ -1028,7 +1028,7 @@ that allocate memory or you will have 1 channel with memory allocated from anoth
 static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *session, switch_event_t *var_event,
                                                                                                        switch_caller_profile_t *outbound_profile,
                                                                                                        switch_core_session_t **new_session, switch_memory_pool_t **pool,
-                                                                                                       switch_originate_flag_t flags)
+                                                                                                       switch_originate_flag_t flags, switch_call_cause_t *cancel_cause)
 {
 
        const char *dest = NULL;