[OpenSIPS-Users] Log err when reload qrouting module

张永锋 fengz.strong at gmail.com
Tue Nov 9 08:43:42 EST 2021


> 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 16:23:54 Nov  3 2021 with gcc 8
> Describe the bug

> I want to use qrouting module, but somehow, I reload drouting when i use cmd 'mi dr_reload' (or when opensips starts), I saw this log.

> Nov  5 11:44:59 localhost opensips[68317]: WARNING:qrouting:qr_set_profile: profile '365012441' not found
> Nov  5 11:44:59 localhost opensips[68317]: ERROR:qrouting:qr_rld_create_rule: failed to set profile 365012441 for rule 1
> If I make a call, opensips will crash.
>
Sorry, it’s my fault. I did not set sort_profile in table dr_rules, if set this value, everyting looks fine!


More information about the Users mailing list