This module provides on-server speed dial facilities. A user can store records consisting of pairs short numbers (2 digits) and SIP addresses into a table of Kamailio. Then it can dial the two digits whenever it wants to call the SIP address associated with them.
| Parámetro | Tipo | Descripción |
|---|---|---|
| db_url | string | 3.2. user_column (string) 3.3. domain_column (string) 3.4. sd_user_column (string) 3.5. sd_domain_column (string) 3.6. new_uri_column (string) 3.7. domain_prefix (string) 3.8. use_domain (int) |
| user_column | string | 3.3. domain_column (string) 3.4. sd_user_column (string) 3.5. sd_domain_column (string) 3.6. new_uri_column (string) 3.7. domain_prefix (string) 3.8. use_domain (int) |
| domain_column | string | 3.4. sd_user_column (string) 3.5. sd_domain_column (string) 3.6. new_uri_column (string) 3.7. domain_prefix (string) 3.8. use_domain (int) |
| sd_user_column | string | 3.5. sd_domain_column (string) 3.6. new_uri_column (string) 3.7. domain_prefix (string) 3.8. use_domain (int) |
| sd_domain_column | string | 3.6. new_uri_column (string) 3.7. domain_prefix (string) 3.8. use_domain (int) |
| new_uri_column | string | 3.7. domain_prefix (string) 3.8. use_domain (int) |
| domain_prefix | string | 3.8. use_domain (int) |
| use_domain | int | 3.1. db_url (string) |
| db_url | string | The URL of database where the table containing speed dial records. |
| user_column | string | The name of column storing the user name of the owner of the speed dial record. |
| domain_column | string | The name of column storing the domain of the owner of the speed dial record. |
| sd_user_column | string | The name of the column storing the user part of the short dial address. |
| sd_domain_column | string | The name of the column storing the domain of the short dial address. |
| new_uri_column | string | The name of the column containing the URI that will be use to replace the short dial URI. |
| domain_prefix | string | If the domain of the owner (From URI) starts with the value of this parameter, then it is stripped before performing the lookup of the short number. |
| use_domain | int | The parameter specifies whether or not to use the domain when searching a speed dial record (0 - no domain, 1 - use domain from From URI, 2 - use both domains, from From URI and from request URI). |
4.1. sd_lookup(table [, owner])
The function lookups the short dial number from R-URI in 'table' and replaces the R-URI with associated address.
Copyright © 2004 Voice Sistem SRL