Skip to content

Commit

Permalink
updated test pipeline with voice result
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvaPatel-crest committed Nov 15, 2024
1 parent bb9b0af commit 36b3d69
Showing 1 changed file with 58 additions and 54 deletions.
112 changes: 58 additions & 54 deletions plivo/assets/logs/plivo_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -372,57 +372,61 @@ tests:
}
service: "voice"
result:
custom:
Stir_attestation: "A"
answer_time: "2024-10-12 21:57:47+05:30"
api_id: "52cd2e1d-2bfd-11ec-a7bd-0242ac110005"
bill_duration: 1
billed_duration: 1
call_direction: "outbound"
call_duration: 1
call_state: "ANSWER"
call_uuid: "5607532d-5037-4066-befc-a8b40218dd4f"
end_time: "2024-10-14 15:25:47+05:30"
from_number: "+12025551111"
hangup_cause_code: 8011
hangup_cause_name: "Invalid Answer XML"
hangup_source: "Error"
initiation_time: "2024-10-12 21:57:40+05:30"
plivo:
total_amount: "0.01667"
resource_uri: "/v1/Account/MA2025RK4E639VJFZAGV/Call/5607532d-5037-4066-befc-a8b40218dd4f/"
source_ip: "92.168.0.1"
stir_verification: "Not Applicable"
to_number: "sip:sam9461399937766203278@phone.plivo.com"
total_rate: "1.00000"
voice_network_group: ""
message: |-
{
"answer_time" : "2024-10-12 21:57:47+05:30",
"to_number" : "sip:sam9461399937766203278@phone.plivo.com",
"api_id" : "52cd2e1d-2bfd-11ec-a7bd-0242ac110005",
"hangup_cause_code" : 8011,
"hangup_cause_name" : "Invalid Answer XML",
"call_direction" : "outbound",
"resource_uri" : "/v1/Account/MA2025RK4E639VJFZAGV/Call/5607532d-5037-4066-befc-a8b40218dd4f/",
"end_time" : "2024-10-14 15:25:47+05:30",
"total_rate" : "1.00000",
"bill_duration" : 1,
"call_state" : "ANSWER",
"hangup_source" : "Error",
"billed_duration" : 1,
"call_duration" : 1,
"voice_network_group" : "",
"source_ip" : "92.168.0.1",
"initiation_time" : "2024-10-12 21:57:40+05:30",
"Stir_attestation" : "A",
"total_amount" : "0.01667",
"from_number" : "+12025551111",
"call_uuid" : "5607532d-5037-4066-befc-a8b40218dd4f",
"stir_verification" : "Not Applicable"
}
service: "voice"
status: "info"
tags:
- "source:LOGS_SOURCE"
timestamp: 1
custom:
Stir_attestation: "A"
answer_time: "2024-10-12 21:57:47+05:30"
api_id: "52cd2e1d-2bfd-11ec-a7bd-0242ac110005"
bill_duration: 1
call_direction: "outbound"
call_state: "ANSWER"
call_uuid: "5607532d-5037-4066-befc-a8b40218dd4f"
end_time: "2024-10-14 15:25:47+05:30"
from_number: "+12025551111"
hangup_source: "Error"
initiation_time: "2024-10-12 21:57:40+05:30"
network:
client:
geoip: {}
ip: "92.168.0.1"
plivo:
billed_duration: 1
call_duration: 1
error:
message: "Invalid Answer XML"
type: 8011
total_amount: "0.01667"
resource_uri: "/v1/Account/MA2025RK4E639VJFZAGV/Call/5607532d-5037-4066-befc-a8b40218dd4f/"
stir_verification: "Not Applicable"
timestamp: 1728899747000
to_number: "sip:sam9461399937766203278@phone.plivo.com"
total_rate: "1.00000"
voice_network_group: ""
message: |-
{
"answer_time" : "2024-10-12 21:57:47+05:30",
"to_number" : "sip:sam9461399937766203278@phone.plivo.com",
"api_id" : "52cd2e1d-2bfd-11ec-a7bd-0242ac110005",
"hangup_cause_code" : 8011,
"hangup_cause_name" : "Invalid Answer XML",
"call_direction" : "outbound",
"resource_uri" : "/v1/Account/MA2025RK4E639VJFZAGV/Call/5607532d-5037-4066-befc-a8b40218dd4f/",
"end_time" : "2024-10-14 15:25:47+05:30",
"total_rate" : "1.00000",
"bill_duration" : 1,
"call_state" : "ANSWER",
"hangup_source" : "Error",
"billed_duration" : 1,
"call_duration" : 1,
"voice_network_group" : "",
"source_ip" : "92.168.0.1",
"initiation_time" : "2024-10-12 21:57:40+05:30",
"Stir_attestation" : "A",
"total_amount" : "0.01667",
"from_number" : "+12025551111",
"call_uuid" : "5607532d-5037-4066-befc-a8b40218dd4f",
"stir_verification" : "Not Applicable"
}
service: "voice"
tags:
- "source:LOGS_SOURCE"
timestamp: 1728899747000

0 comments on commit 36b3d69

Please sign in to comment.