sipcapture / homer

HOMER - 100% Open-Source SIP, VoIP, RTC Packet Capture & Monitoring
https://sipcapture.org
GNU Affero General Public License v3.0
1.61k stars 240 forks source link

Correlating two incoming legs in Freeswitch #541

Closed uppuluriaditya closed 2 years ago

uppuluriaditya commented 2 years ago

Hi, Is there a way to correlate two incoming legs to freeswitch via ESL? We have a setup where, Freeswitch receives INVITE from two users. I want to correlate both the legs before bridging. May i know how to do that?

Thanks in advance

github-actions[bot] commented 2 years ago

Please star this repository to motivate the developers and to get higher priority! :star:

adubovikov commented 2 years ago

You can insert the X-Cid to the second leg and after correlate it in UI using correlation script. The example is in our wiki

lmangani commented 2 years ago

And here's the link: https://github.com/sipcapture/homer/wiki/Examples%3A-FreeSwitch#b2bua-correlation Just emulate the same logic with your ESL commands and it should work fine.

uppuluriaditya commented 2 years ago

using correlation scrip

Thank you for the example. But in my setup, i have two incoming calls. So setting it like above example, will set two different correlation IDs to two incoming calls (As Call-IDs are different for both the legs). isn't it?

lmangani commented 2 years ago

@uppuluriaditya that's totally up to you, we have nothing to do with your call logic - each call should point at the other.