About -> News -> PBX-like dialling
New closedial module
A new module is available in OpenSIPS 1.5.0. The closeddial module is intended to offer a functionality similar to Centrex to OpenSIPS, allowing to define groups of closed dialling, using abbreviated codes.
Closeddial uses a database table, where the relationship between users, their abbreviated dialling codes and their grouping through a particular attribute is stored.
An example which illustrates the idea behind module:
Supposing that the following is the content of closeddial table on database
Users defined within group companyA can use abbreviated codes to dial to others users, instead of using full username; their abbreviated codes will not collide with codes defined for group companyB, because group_id is determined by using from username, before looking the uri to rewrite.
group_id value can be left to be determined by querying database, or can be passed from script, in case it be determined from other mechanism (for example, an avp loaded at register time).