You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Such dialog shouldn't happen on normal life. It's happened due to some bug in Asterisk which currently I can't reproduce. For unknown reason when calling queue agent asterisk sends INVITE which looks like reINVITE (from, to tags and did in RURI) after CANCEL and ACK.
This dialog can be reproduced with sipp. So I guess anyone can crash OpenSIPS with similar configuration.
Dialog, topology_hiding and rtp_relay modules are enabled and used.
After receiving last INVITE openSIPS crashes if we use rtp_relay module. If it's not used it doesn't crash, just sends Trying.
This is probably related to #3343 that dialogs stay in memory. It doesn't metter when you send last INVITE after cancelled call, having headers for dialog identification is enough.
It crashes while executing match_dialog function.
Any updates here? No progress has been made in the last 15 days, marking as stale. Will close this issue if no further updates are made in the next 30 days.
OpenSIPS version you are running
Crash Core Dump
gdb.txt
Describe the traffic that generated the bug
Such dialog shouldn't happen on normal life. It's happened due to some bug in Asterisk which currently I can't reproduce. For unknown reason when calling queue agent asterisk sends INVITE which looks like reINVITE (from, to tags and did in RURI) after CANCEL and ACK.
This dialog can be reproduced with sipp. So I guess anyone can crash OpenSIPS with similar configuration.
Dialog, topology_hiding and rtp_relay modules are enabled and used.
After receiving last INVITE openSIPS crashes if we use rtp_relay module. If it's not used it doesn't crash, just sends Trying.
Alice <----> OpenSIPS
INVITE ---------->
100 <----------
180 <----------
CANCEL ---------->
200 <----------
487 <----------
ACK ---------->
INVITE ---------->
Logs, opensips config and sipp scenarios are attached.
To Reproduce
Modify the attached config with your IP-address.
Start OpenSIPs
Start sipp UAS sceanrio, for example:
sipp -aa -p 5072 -i 192.168.11.204 -sf sipp_uas_canceled.xml
Start sipp UAC scenario, for example:
sipp -d 3000 -m 1 -p 5064 -sf sipp_uac_cancel_opensips_crash.xml -i 192.168.11.216 -s 34566000001 192.168.11.201 -set fromuser 345611231231
Check OpenSIPS crashed
opensips.cfg.gz
sipp_scenarios.tar.gz
Relevant System Logs
OS/environment information
Additional context
The text was updated successfully, but these errors were encountered: