Login | Register

About

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

Usercloseddial_codegroup_idnew_uri
13500companyAsip:123@proxy1.com
35701companyAsip:357@proxy1.com
57902companyAsip:579@proxy1.com
02400companyBsip:024@proxy1.com
24601companyBsip:246@proxy1.com
46802companyBsip:468@proxy1.com

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).


Page last modified on February 10, 2009, at 12:03 PM