Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Query Leg-B Call0ID while the call is connected.
Author Message
skb007
Brekeke Guru


Joined: 05 Oct 2015
Posts: 152
Location: USA

PostPosted: Wed May 22, 2019 2:14 pm    Post subject: Query Leg-B Call0ID while the call is connected. Reply with quote

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.
Back to top
View user's profile
Mike
Support Team


Joined: 07 Mar 2005
Posts: 731
Location: Sunny San Mateo

PostPosted: Wed May 22, 2019 4:18 pm    Post subject: Reply with quote

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_accounting_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.
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1