Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
I can not disconnect the active sessions
Author Message
nsliem
Brekeke Junior Member


Joined: 25 Jul 2017
Posts: 5
Location: Japan

PostPosted: Sun Nov 19, 2017 6:59 pm    Post subject: I can not disconnect the active sessions Reply with quote

1. Brekeke Product Name and Version:

2. Java version:

3. OS type and the version:

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:
I'm using push notification (FCM/APNs) to announce an incoming call.
User A make a phone call to User B.
On the B side, after received a push notification, B will do registration to SIP server and waiting for an Incoming Call, but the INVITE from Brekeke SIP server was not sent to B somehow (it happens rarely).
So that, the active session between A and B still in "Initializing" and hanging up there for a long time.
User A can not send INVITE to User B again.

I used Brekeke web admin to disconnect the active session, but it can't help.

Please teach me for this practice.
Back to top
View user's profile
Niloc
Brekeke Talented


Joined: 19 Sep 2017
Posts: 70
Location: NL

PostPosted: Wed Nov 22, 2017 11:16 am    Post subject: Reply with quote

Is it Brekeke PBX or Brekeke SIP Server?
What kind of SIP client product are you using?
Which transport protocol are you using for SIP? (UDP? TCP? or TLS?)

> B will do registration to SIP server and waiting for an Incoming Call,

Can you find the above registration record at Brekeke SIP Server's [Registered Clients] page?
Back to top
View user's profile
nsliem
Brekeke Junior Member


Joined: 25 Jul 2017
Posts: 5
Location: Japan

PostPosted: Thu Nov 23, 2017 6:10 pm    Post subject: Reply with quote

Dear Niloc,

Sorry for lack of information.
I give more information inline.

Niloc wrote:
Is it Brekeke PBX or Brekeke SIP Server?

Brekeke SIP Server

Niloc wrote:
What kind of SIP client product are you using?

I used SIP client of my company.
It's still in developing, not public yet

Niloc wrote:
Which transport protocol are you using for SIP? (UDP? TCP? or TLS?)

TLS

Niloc wrote:

> B will do registration to SIP server and waiting for an Incoming Call,
Can you find the above registration record at Brekeke SIP Server's [Registered Clients] page?

Yes, it has registration record.

Regards,
Liem
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Thu Nov 23, 2017 10:36 pm    Post subject: Reply with quote

Does the same problem persist even if you use UDP instead of TLS?
Back to top
View user's profile
nsliem
Brekeke Junior Member


Joined: 25 Jul 2017
Posts: 5
Location: Japan

PostPosted: Thu Nov 23, 2017 10:51 pm    Post subject: Reply with quote

redroof wrote:
Does the same problem persist even if you use UDP instead of TLS?

My SIP client application don't use UDP mode (this is spec), so I don't know whether it works fine in UDP mode or not.
But I think this problem is due to TLS connection keeping its session.

*Note:
nsliem wrote:
but the INVITE from Brekeke SIP server was not sent to B somehow (it happens rarely).
So that, the active session between A and B still in "Initializing" and hanging up there for a long time.

My application will wait for about 15 seconds for the INVITE.
If it's timeout, app will un-register (de-register) from SIP server.
But I don't know why TLS connection was keeping in this case.
And that, I can not make other phone call.


Last edited by nsliem on Sun Nov 26, 2017 6:08 pm; edited 1 time in total
Back to top
View user's profile
Niloc
Brekeke Talented


Joined: 19 Sep 2017
Posts: 70
Location: NL

PostPosted: Fri Nov 24, 2017 10:51 pm    Post subject: Reply with quote

Are there any NAT between the SIP Server and the client B?
Does the same issue happen even if you test at LAN without NAT/router?

Which version of Brekeke SIP Server is it?
Back to top
View user's profile
nsliem
Brekeke Junior Member


Joined: 25 Jul 2017
Posts: 5
Location: Japan

PostPosted: Sun Nov 26, 2017 6:32 pm    Post subject: Reply with quote

Niloc wrote:
Are there any NAT between the SIP Server and the client B?

Yes, I used router for testing.

Niloc wrote:
Does the same issue happen even if you test at LAN without NAT/router?

I'm not test yet. So, I'm not sure about this case.
Once again, this problem is happening rarely.

Niloc wrote:
Which version of Brekeke SIP Server is it?

Brekeke SIP Server, Version 3.6.1.8, Advanced, Push Notification


---
My question is:
1. When will the record in active sessions disappear?
(Although connection between A and B was lost, and the status of them might be "Initializing", or "Closing", but it took too much time to disappear, mybe an hour).

2. What is the purpose of this setting?
Configuration > RTP > RTP Session Timeout (ms)
Back to top
View user's profile
Niloc
Brekeke Talented


Joined: 19 Sep 2017
Posts: 70
Location: NL

PostPosted: Sun Nov 26, 2017 6:55 pm    Post subject: Reply with quote

> Brekeke SIP Server, Version 3.6.1.8, Advanced, Push Notification

Try the latest version. It is ver 3.7.7.8.
http://www.brekeke.com/downloads/sip-server.php


> 1. When will the record in active sessions disappear?

After the Inviting timeout. It is 20sec in the default.


> 2. What is the purpose of this setting?
> Configuration > RTP > RTP Session Timeout (ms)

It checks whether RTP packets are received or not.
Refer to the document for more details.
Back to top
View user's profile
nsliem
Brekeke Junior Member


Joined: 25 Jul 2017
Posts: 5
Location: Japan

PostPosted: Sun Nov 26, 2017 7:46 pm    Post subject: Reply with quote

Dear Niloc,

Thank you for your support,
I will consider doing version up later.
Back to top
View user's profile
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