Outbound Concurrency Limit

Hello!
Extensions have a parametr “Outbound Concurrency Limit” in a web-interface.
I can’t find it in configuration files or database “asterisk”?
Help me please

It’s in the astdb sqlite3 database that asterisk uses for it’s ‘state’ as it runs. Set on reload from the mysql tables that FreePBX seeds it with.

database asterisk:
mysql> select * from sip where id = 5555;
+------+-------------+------------------------------+-------+ | id | keyword | data | flags | +------+-------------+------------------------------+-------+ | 5555 | callerid | device <5555> | 28 | | 5555 | context | Infernal | 5 | | 5555 | host | dynamic | 6 | | 5555 | allow | ulaw&alaw | 21 | | 5555 | dial | SIP/5555 | 22 | | 5555 | accountcode | | 23 | | 5555 | mailbox | [email protected] | 24 | | 5555 | deny | 0.0.0.0/0.0.0.0 | 25 | | 5555 | permit | 192.168.0.253/255.255.255.255| 26 | | 5555 | trustrpid | yes | 7 | | 5555 | sendrpid | no | 8 | | 5555 | type | friend | 9 | | 5555 | nat | yes | 10 | | 5555 | port | 5555 | 11 | | 5555 | qualify | yes | 12 | | 5555 | qualifyfreq | 60 | 13 | | 5555 | dtmfmode | rfc2833 | 3 | | 5555 | canreinvite | no | 4 | | 5555 | secret | sdgf23132dz | 2 | | 5555 | pickupgroup | 9 | 19 | | 5555 | disallow | all | 20 | | 5555 | transport | udp | 14 | | 5555 | avpf | no | 15 | | 5555 | icesupport | no | 16 | | 5555 | encryption | no | 17 | | 5555 | callgroup | 9 | 18 | | 5555 | account | 5555 | 27 | +------+-------------+------------------------------+-------+
There isn’t ‘Outbound Concurrency Limit’. I found this argument in all tables. I found it configuration files - sip_additional.conf and extensions_additional.conf. Sorry for my bad English)

rasterisk -x ‘database show’|grep concurrency_limit

It’s buried in the “freepbx_settings” table in mysql,

select * from freepbx_settings where name=‘Extension Concurrency Limit’

good luck unraveling that table and the FreePBX php code that wraps it up to set the astdb database :slight_smile:

1 Like

database show

I need this to select all extensions with Outbound Concurrency Limit = “no limit”.
I did so:

asterisk -rx ‘database show’ | grep ‘concurrency_limit’ | grep -i ‘: 0’

Thanks your for help!

select * from freepbx_settings where name=‘Extension Concurrency Limit’

This is only default value)

If you look at that table in general you will be discombubulated, as I said you will need to look at the php code that deconstructs it. Some is open source, some is not to support the commercial modules that use zend.