1. Brekeke Product Name and Version:3.6.8
2. Java version:1.8
3. OS type and the version:RHEL7
4. UA (phone), gateway or other hardware/software involved: NA
5. Your problem:
Would like to query the call-id for the b-leg of the call by using either sessionid or the call-id of the a-leg while the call is connected.
When a-leg comes in, we are using webget to deliver the leg-a call-ID and session-id of the call to an external application.
How do we know the leg-b call-id while the call is connected?
Is there an API/interface available to query the leg-b call-id by providing session-id or call-id of the leg-a?
I understand that we get the call-id for both the legs in CDR's but we would like to know leg-b call-id while the call is connected.
Query Leg-B Call0ID while the call is connected.
Moderator: Brekeke Support Team
If you don't use B2B-UA mode, the SIP Server doesn't replace Call-ID for b-leg.
If you need to use B2B-UA mode, let you look at Session Plug-in API.
https://www.brekeke.com/doc/sip/sip_acc ... plugin.txt
It provides b-leg's Call-ID from EventStat object. This EventStat object will be provided to your plugin just after a session starts.
If you need to use B2B-UA mode, let you look at Session Plug-in API.
https://www.brekeke.com/doc/sip/sip_acc ... plugin.txt
It provides b-leg's Call-ID from EventStat object. This EventStat object will be provided to your plugin just after a session starts.