Main.News0019 History

Hide minor edits - Show changes to output

April 25, 2013, at 04:00 PM by razvancrainea -
Added line 1:
(:redirect About/News0019 quiet=1:)
February 10, 2009, at 12:03 PM by 81.180.102.217 -
Added lines 1-24:
!!Main -> [[Main.News | 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

|| User || closeddial_code || group_id || new_uri ||
|| 135 || 00 || companyA || sip:123@proxy1.com ||
|| 357 || 01 || companyA || sip:357@proxy1.com ||
|| 579 || 02 || companyA || sip:579@proxy1.com ||
|| 024 || 00 || companyB || sip:024@proxy1.com ||
|| 246 || 01 || companyB || sip:246@proxy1.com ||
|| 468 || 02 || companyB || sip: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 April 25, 2013, at 04:00 PM