Ring time drops after two minutes

Status
Not open for further replies.

akashlal

New Member
Jul 13, 2022
3
0
1
43
Hi

We have two SIP clients (soft phones) which we call tacticall phones. These are SIP based soft phones.
Phones are registered to FusionPBX successfully and can establish the call. Our issue is extension 45001 rings 45002, the ringing times out after 120 seconds and call ended.
We want to increase the ringing time to 30 minutes if possible.
from the logs I can see, we are getting continuous 200 OK and then after a while 603 Decline.

I have some logs attached here, zipped.

SIP logs - calling number 45001 and called number 45002

1662008765977.png
It would be a great help if anyone have a look of the logs and let me know what I am missing in the FusionPBX settings.

Regards
Robi
 

gflow

Active Member
Aug 25, 2019
261
28
28
I just posted a similar issue last night on this forum. Are you phones ringing as part of a ring group?

 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,388
364
83
Hi Akashlal,
The 200 OKs are in response to the OPTIONS messages, so you can probably ignore those.
This is almost certainly an issue with the ring timeout on the soft phone. We had a similar thing with Yealink desk phones and solved it by setting:
phone_setting.ringing_timeout = 600

Obviously all phones are different.
 
  • Like
Reactions: gflow

akashlal

New Member
Jul 13, 2022
3
0
1
43
Thanks, Adrian.
In this case, the settings for indefinite ring, it has to be set to 0, but that didn't help.
phone.disconnect.unanswered.calls.after.seconds=0

Also I changed time from 0 to 1800
phone.disconnect.unanswered.calls.after.seconds=1800

Same result, ring drops after 180 seconds both time.

Will there be anything in Fusion or freeswitch?

@gflow, thanks for sharing your post.
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,388
364
83
I don't think it can be Fusion/Freeswitch related because the 603 Decline message comes from the phone. Maybe test it using different soft phones?
 

akashlal

New Member
Jul 13, 2022
3
0
1
43
Hi Adrian
Digging into more, I cannot see any more 603 Declined error, rather I am seeing 401 Unauthorised.
Tracing back the packet capture, this is what I am getting-
1662090592868.png


SIP client 172.16.202.155 is getting 401 Unauthorised from the FusionPBX 172.16.75.44.


1662090703973.png
Is that something in FusionPBX I need to check?

Regards
Robi
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,388
364
83
Hi Robi,
No, the 401 Unauthorized is a normal part of the authentication process. In the example you show above, if you inspect the packet headers, you will see that the first REGISTER will not contain any credentials, so the response is 401 Unauthorized, but this 401 response will contain a nonce to hash against, now the second REGISTER message contains credentials and password hashed against the nonce. Now the response to the REGISTER is 200 OK.

Understanding the SIP protocol is essential if you want to run a reliable VoIP platform.

You can find lots of SIP related resources here: https://github.com/miconda/sip-resources

Kind regards,
Adrian.
 
Status
Not open for further replies.