Sorry for the terribly worded question. Im using Twilio and im trying to create some reporting for users. I have a few different numbers that are called and then depending on what the caller does during the call, they may be transferred to our call center.
I need to know the number of calls that are transferred for each number.
When they call, a CallSid is created. Once the caller is transferred, a second CallSid is created with a new property called ParentCallSid. The ParentCallSid of the second call matches the CallSid of the first call.
I need to take that ParentCallSid and find the original CallSid so i can see which number they called. I will be doing this for each call in the list. So it will need to be some kind of loop. Thank You.