]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add var_event down into the endpoints so chans with no parents can still pass options
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 15 May 2008 19:43:58 +0000 (19:43 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 15 May 2008 19:43:58 +0000 (19:43 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@477 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/mod_openzap/mod_openzap.c

index b786752d9c381979fac4f21f2d67be1a46b27fec..e0e4b6ac43e4dcb7cedc51f9c416396cd5d0f797 100644 (file)
@@ -118,7 +118,7 @@ static switch_status_t channel_on_hangup(switch_core_session_t *session);
 static switch_status_t channel_on_routing(switch_core_session_t *session);
 static switch_status_t channel_on_exchange_media(switch_core_session_t *session);
 static switch_status_t channel_on_soft_execute(switch_core_session_t *session);
-static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *session,
+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,
@@ -826,7 +826,7 @@ switch_io_routines_t openzap_io_routines = {
 /* Make sure when you have 2 sessions in the same scope that you pass the appropriate one to the routines
 that allocate memory or you will have 1 channel with memory allocated from another channel's pool!
 */
-static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *session,
+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)