Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FREESWITCH sends SIP INVITE with nosdp then SIP;cause=500;text="Internal Error" after Sofia recover using IPv6 #2400

Open
Mohamed-Abujami opened this issue Mar 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Mohamed-Abujami
Copy link

Mohamed-Abujami commented Mar 5, 2024

sofia_recover_2.log

Describe the bug

I am using FreeSWITCH to bridge between two legs, one with Ipv4 and the other with IPv6. Calls are working normally. I configured two instances of FREESWITCH with the same configuration to use HA with PSQL using Sofia recover. While testing, I did fsctl crash for first instance and sofia recover on the other instance, sofia recovered 2 calls from the DB. While Ipv4 leg recovered normally, the IPv6 leg was not recovered:

First SIP INVITE was sent without SDP by the backup instance to the other leg:

send 700 bytes to udp/[fc00:0:0:2::91]:5060 at 05:16:12.734246:

INVITE sip:nobody@[fc00:0:0:2::91]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP [fc00:0:0:2::15];rport;branch=z9hG4bKN0Kmy49jKyKBF
Max-Forwards: 69
From: sip:20222@[fc00:0:0:2::15]:5060;transport=udp;tag=BU50jaUtH7UmQ
To: "sipp" sip:sipp@[fc00:0:0:2::91];tag=S4ytQX1Zv795g
Call-ID: 3adf6bf8-561b-123d-bd8d-0242ac120008
CSeq: 80297294 INVITE
Contact: sip:nobody@[fc00:0:0:2::15]:5060
User-Agent: FREESWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, PRACK, NOTIFY
Supported: 100rel, timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Length: 0
Remote-Party-ID: "20222" sip:20222@[fc00:0:0:2::91];party=calling;screen=yes;privacy=off

Second BYE message was sent with reason=500 by the backup FS to the other leg:

send 595 bytes to udp/[fc00:0:0:2::91]:5060 at 05:16:12.837158:

BYE sip:[fc00:0:0:2::91]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP [fc00:0:0:2::15];rport;branch=z9hG4bKp9cD0Ztpg79Xa
Max-Forwards: 70
From: sip:20222@[fc00:0:0:2::15]:5060;transport=udp;tag=BU50jaUtH7UmQ
To: "sipp" sip:sipp@[fc00:0:0:2::91];tag=S4ytQX1Zv795g
Call-ID: 3adf6bf8-561b-123d-bd8d-0242ac120008
CSeq: 80297295 BYE
Contact: sip:nobody@[fc00:0:0:2::15]:5060
User-Agent: FREESWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, PRACK, NOTIFY
Supported: 100rel, timer, path, replaces
Reason: SIP;cause=500;text="Internal Error"
Content-Length: 0

To Reproduce
Steps to reproduce the behavior:

Expected behavior
Both legs are recovered.

Package version or git hash

FreeSWITCH (Version 1.10.11-release git 8061d77 2024-01-16 22:35:34Z 64bit)

Trace logs
Attached

@Mohamed-Abujami Mohamed-Abujami added the bug Something isn't working label Mar 5, 2024
@Mohamed-Abujami Mohamed-Abujami closed this as not planned Won't fix, can't repro, duplicate, stale Mar 5, 2024
@hnimminh
Copy link
Contributor

Does it work with version 10.6?

@Mohamed-Abujami
Copy link
Author

Does it work with version 10.6?

No Minh, we rolled back to 10.6 and still the same behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants