News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Maximum duration of supervise call
Tags: rest api
Sep 9, 2021 at 12:19pm   •   6 replies  •  0 likes
Petre Dimov

Hi community,

I would like to ask if there is some limit of supervise duration of a call session. I have strange behavior with integration with RingCentral. I don't have calls longer than 15mins. Is this an issue with the subscription that last 15mins and needs to be renewed? For subscription i'm using RingCentral.Net.Pubnub package compatible with .net 4.7.

6 Answers
answered on Sep 23, 2021 at 4:47am  

Dear @Vyshakh Babji ,

Here are call information from today:

Call information:

User: James Selway

time_started: 1632388375000 Thursday, September 23, 2021 11:12:55 AM GMT+02:00 DST

time_connected: 1632388375000 Thursday, September 23, 2021 11:12:55 AM GMT+02:00 DST

time_ended: 1632396475000 Thursday, September 23, 2021 1:27:55 PM GMT+02:00 DST

Session-id: s-b247c60103694d19b4d51884e880154c-1

Party-id: p-b247c60103694d19b4d51884e880154c-1

Sip call-id: 2243557a-3693-47fa-9519-aca8f302967d

Usefull sip data:

p-rc-api-ids: party-id=p-b247c60103694d19b4d51884e880154c-3;session-id=s-b247c60103694d19b4d51884e880154c

p-rc-api-monitoring-ids: party-id=p-b247c60103694d19b4d51884e880154c-1;session-id=s-b247c60103694d19b4d51884e880154c


INVITE sip:441159004000*6500@172.30.132.43:63229=104.245.57.27:43730

Wireshark data: https://drive.google.com/file/d/1pG2NWHIo_oyvhvJxEPZtHgDHQ5aC5_0v/view?usp=sharing


 0
answered on Sep 22, 2021 at 11:56am  

Dear @Vyshakh Babji,
Thanks for the support. We are using softphone implementation. Here are some details from the wireshark we have. If it's not helpful i will try to record new wireshark from this week and post new results.

Call information:

User: Izabela Kucharska

time_started: 1614680319000 Tuesday, March 2, 2021 11:18:39 AM GMT+01:00

time_connected: 1614680319000 Tuesday, March 2, 2021 11:18:39 AM GMT+01:00

time_ended: 1614681220000 Tuesday, March 2, 2021 11:33:40 AM GMT+01:00


Session-id: s-796f493849be457eae0f5d7e99f90907

Party-id: p-796f493849be457eae0f5d7e99f90907-1

Sip call-id: 3e002a1a-c954-4f5f-82d4-ec02cecfe980


Usefull sip data:


p-rc-api-ids: party-id=p-796f493849be457eae0f5d7e99f90907-3;session-id=s-796f493849be457eae0f5d7e99f90907

p-rc-api-monitoring-ids: party-id=p-796f493849be457eae0f5d7e99f90907-1;session-id=s-796f493849be457eae0f5d7e99f90907

Endpoints: 104.245.57.180:54606 (Local)

Endpoints: 172.30.132.43:17186 (Remote)

Wireshark trace: https://drive.google.com/file/d/1c4h9PkMLGSBwyH2RxqOw7oTUO8QImeZG/view?usp=sharing

The details above are the first call from the wireshark.
Please let me know if we need to record new pcap. We have more than 2000 calls like this that are cut after 900 seconds.


 0
on Sep 22, 2021 at 1:59pm   •  0 likes

screen-shot-2021-09-22-at-15714-pm.pngI just test on my demo app and it works well after 15 mins.


on Sep 22, 2021 at 2:08pm   •  0 likes

Hi @Phong Vu ,

We are not using RingCentral Phone app to answer the call. We are using our own SIP Device. What's the implementation for subscription on your node js app, pubnub or webhook? Thanks for checking out on ringCentral phone app. We could not use RingCentral Phone app, because does not support multiple supervise (answer) calls at a time.

on Sep 22, 2021 at 2:10pm   •  0 likes

No, the RingCentral phone app is for making the call. The SIP phone that supervises the call is running on the Terminal in the background and you see that I dump the data.

answered on Sep 22, 2021 at 11:27am  

What device endpoint do you receive the supervise call ? Softphone / Hardphone ?


Also , I a looking at the ticket for your support case. Can you share Wireshark / Sip Logs to investigate this further ? What i need is the callID , Session ID and timestamp of the latest calls.




 0
answered on Sep 15, 2021 at 12:34am  

Call supervision session is closed after exactly 15mins or 900seconds. My doubt is that we receive a BYE (SIP) message from the PBX but I'm not sure why, cause we never initiated one. Any idea why this might happen?


 0
on Sep 15, 2021 at 7:33am   •  0 likes

This needs some deep investigation and inputs from you which should not be exposed in the public domain. Can you create a support request and provide the details.

answered on Sep 13, 2021 at 1:39pm  

Why do you keep mentioning about this "The session is keep-alive every 15mins from the SDK"? There is nothing to do with the PubNub notification in your call supervision. So what you try to tell me is your SIP call supervision session is closed after 15 mins?


 0
on Sep 13, 2021 at 1:57pm   •  0 likes

I agree with Phong that when you are already supervising the call, it has nothing to do with PubNub any more. You can do an experiment: as soon as the supervision starts, delete your PubNub subscription. I doubt that it will have any effect on the supervision call.

on Sep 13, 2021 at 1:45pm   •  0 likes

Correct, the call supervision session is closed after exactly 15mins or 900seconds. My doubt is that we receive a BYE (SIP) message from the PBX but I'm not sure why, cause we never initiated one. Any idea why this might happen?

answered on Sep 13, 2021 at 7:23am  

Your question title and the details are so confused. Duration of a supervised call has nothing to do with PubNub notification expiration.

PubNub notification is for you to receive push notification event, which you used to receive telephony session event notification and use the info to subscribe for call supervision.

Once you subscribed for a call supervision successfully, the voice data stream will come via a WebSocket channel, NOT via the PubNub notification channel!


 0
on Sep 13, 2021 at 7:47am   •  0 likes

Hi @Phong Vu,
Thanks for your answer, but we are not using a websocket to receive the data stream. Because we are limited to use .net framework 4.7 we are using RingCentral.Net and RingCentral.Net.PubNub nuget packages to establish subscription. My question is because we are maintaining the subscription on every 15mins, does this can cause a call supervise to break (stop)?

And another question, do we have limitation for call supervise regarding the duration of a subscription session?

on Sep 13, 2021 at 8:31am   •  0 likes

So what do you mean by saying "supervise a call"? Is that just a call event notification?

Telephony session event notification is different from call supervision. I still don't understand what is your problem.

Talking about call supervision, no, there is no limit on call duration.

Talking about push notification, yes, the PubNub notification expires after 15 mins, but since you use the RingCentral .Net SDK, the SDK will take care of renewal.

on Sep 13, 2021 at 11:34am   •  0 likes

Hi @Phong Vu,

Thanks for the support. The session is keep-alive every 15mins from the SDK. In this 6 months we have supervised over 200k calls from which 2.000 calls longer than 15mins. After exactly 900seconds we got BYE (SIP) from the RingCentral PBX.

1631557992520.png


How can we check why we receive BYE from 104.245.57.174 (RingCentral PBX)?



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us