printlogo
http://www.ethz.ch/index_EN
Welcome to ETH World
 
print
  

'ethz' SER Module

ETH World 2000-2005

The ETH World program came to an end in 2005. This website is no longer updated and contains archival information about the activities.

The ethz module offers some generic methods for header parsing, database-driven user authentication and uri classification.

Exported Module Functions

ethz_relay_username
Translate uri from 'username@realm' to 'inetPhoneNo@realm' according to entries in a database table.
ethz_is_internal
Check whether a given uri denotes an internal business telephony phone number
ethz_is_external
Check whether a given uri denotes an external PSTN telephone number
ethz_is_inet
Check whether a given uri denotes an inet phone number
ethz_authorize_headers
Check whether user name (=inetPhoneNo) and authorization user (=username) match according to entries in a database table.
ethz_lookup_alt
If the "homephone" flag for a user is not set, look up alternate uri in datbase and add it to the destination set. Otherwise (or if user is not found) do nothing.
ethz_authorize_register
Check whether user trying to register is allowed to register according to database flags.
ethz_outbound_int_authorize
Check whether calling user is allowed to perform calls to internal business telephony phone numbers according to database flag.
ethz_outbound_ext_authorize
Check whether calling user is allowed to perform calls to external PSTN phone numbers according to database flag.
ethz_outbound_sip_authorize
Check whether calling user is allowed to perform calls to an external SIP uri.
ethz_is_b1
Check whether incoming call classifies as 'B1'.

Exported Module Parameters

field_inetPhoneNo
Database field name of inetPhoneNo column
field_username
Database field name of username column

Download Module for ser-0.8.14

ethz Module 1.0 for SER 0.8.14

This module is released under the GNU General Public License (GPL).
If you have questions regarding this module, please contact Marcel Baur.

Download Module for later versions (cvs)

ethz Module 1.0 for SER cvs

This module is released under the GNU General Public License (GPL).
If you have questions regarding this module, please contact Marcel Baur.

 

Wichtiger Hinweis:
Diese Website wird in älteren Versionen von Netscape ohne graphische Elemente dargestellt. Die Funktionalität der Website ist aber trotzdem gewährleistet. Wenn Sie diese Website regelmässig benutzen, empfehlen wir Ihnen, auf Ihrem Computer einen aktuellen Browser zu installieren. Weitere Informationen finden Sie auf
folgender Seite.

Important Note:
The content in this site is accessible to any browser or Internet device, however, some graphics will display correctly only in the newer versions of Netscape. To get the most out of our site we suggest you upgrade to a newer browser.
More information

© 2012 ETH Zurich | Imprint | Disclaimer | 1 July 2005
top