voiceip / oreka

OpenSource G711, G722, G729, Opus & Other Format VoIP SIP Recorder
GNU General Public License v3.0
145 stars 76 forks source link

Call Transfers #127

Open jmrbcu opened 1 year ago

jmrbcu commented 1 year ago

Hello guys. Can you tell orkaudio to link all call segments when several transfers are made?

For instance:

Caller -> Receptionist (Ext 100) -> Sales Agent (ext 200) -> Service Agent (ext 300)

Under normal conditions, three calls are generated, and three log messages with state=ready. But there is no way to tell if all these transfers belong to the same call. There is no field to link them together; I have yet to find one.

kingster commented 1 year ago

Hi @jmrbcu

In Multiple ways can achieve this.

1) Use the nativecallId/ any header field to link the individual recordings

2) Alternatively, by mirroring the caller-side traffic. I use this configuration in my production deployment, allowing us to have single call recordings per caller.

jmrbcu commented 1 year ago

Can you provide an example of this?, because using the native call id it changes in every transfer. Also, I am referring to the use case when you tap the inside (between the handsets and the PBX)

On Sun, Jun 4, 2023 at 9:48 PM Kinshuk Bairagi @.***> wrote:

Hi @jmrbcu https://github.com/jmrbcu

In Multiple ways can achieve this.

1.

Use the nativecallId/ any header field to link the individual recordings 2.

Alternatively, by mirroring the caller-side traffic. I use this configuration in my production deployment, allowing us to have single call recordings per caller.

— Reply to this email directly, view it on GitHub https://github.com/voiceip/oreka/issues/127#issuecomment-1575958729, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2LG7SEIWOTVL5MZJPNTE3XJVCIXANCNFSM6AAAAAAYPECXRM . You are receiving this because you were mentioned.Message ID: @.***>

kingster commented 1 year ago

In such a case, did you try using header extraction to match the files? In my production setup, I tap the caller-side traffic (SBC traffic) and don't have this situation.

jmrbcu commented 1 year ago

If we tap the trunk side, you won't have extension information because it is before it touches the PBX. Also, you will have one big call from start to finish, which is nice. Now, I need to tap the inside (between the PBX and the handsets) and link all calls once the call finishes. I know I can extract any SIP header I want, but I have yet to see any header that helps, and there is the problem of knowing when the call finished, not transferred.