Fix for KHOMP AGI script update
git-svn-id: svn://192.168.202.10@3479 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -5348,7 +5348,7 @@ sub process_khomp_analytics
|
||||
( $action eq 'status' )
|
||||
)
|
||||
{
|
||||
khomp_end_call( %parsed_data, $action, $status );
|
||||
khomp_end_call( %parsed_data );
|
||||
}
|
||||
if ( $action eq 'route' )
|
||||
{
|
||||
@@ -5404,7 +5404,10 @@ sub log_khomp_call_data
|
||||
|
||||
sub khomp_end_call
|
||||
{
|
||||
%khomp_call_data, $vdad_action, $vdad_result = @_;
|
||||
%khomp_call_data = @_;
|
||||
|
||||
$vdad_action = $khomp_call_data{'vici_action'};
|
||||
$vdad_result = $khomp_call_data{'vici_status'};
|
||||
|
||||
if ($AGILOG) {$agi_string = "-- VDAD KHOMP End Call |a:$vdad_action|s:$vdad_result|"; &agi_output;}
|
||||
|
||||
@@ -5674,4 +5677,4 @@ sub khomp_json_api
|
||||
$api_query_time = tv_interval ( [$query_start_sec, $query_start_usec], [$query_end_sec, $query_end_usec]);
|
||||
|
||||
return ($result, $api_query_time);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user