-
Notifications
You must be signed in to change notification settings - Fork 631
Open
Description
OpenSIPS version you are running
version: opensips 3.2.3 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: f953b30a0
main.c compiled on 13:04:13 Nov 5 2021 with gcc 8
Describe the bug
If outbound gateway end call by 480(or other codes > 400), ASR and CCR will be accounted twice
To Reproduce
- Use qrouting module
- Make a call, and end call by 480
- Use cmd 'opensips-cli -x mi qr_status'
{
"Partitions": [
{
"Name": "Default",
"Rules": [
{
"Id": 1,
"Destinations": [
{
"Gateway": {
"GWID": "outbound_02",
"ASR": "-1.00/2",
"CCR": "-1.00/2",
"PDD": "-1.00/0",
"AST": "-1.00/0",
"ACD": "-1.00/0"
}
}
]
}
]
}
]
}Expected behavior
Just account once.
It may be related to the callback function here