System information
5.71. Redirect or forward sessions to other domains
Routing to other domain can be restricted by the “fwdtootherdomains” global config setting. This means SIP calls with other domains in the request uri (not
listed in the “domainnames” values, and no IP address match)
The following values are defined:
0=don’t forward calls to other domains
1=check if our numbers first (local user)
2=don’t forward mobile numbers
3=forward all required sessions
4=forward all required with “Moved Temporarily”
5=unconditional move (will move all required traffic without checking the caller)
You can forward calls to other domains before any routing configuration will be checked. (with 302 Moved Temporarily)
The following config values will be applied:
Forwardpx: comma separated prefixes to be forwarded. ‘*’ means all traffic (can be used for failowering and load balancing). Set to emty to disable
forwarding.
Forwardto: IP address or domain name where these prefixes will be forwarded.
This feature is usually not enabled for service providers ( if you provide services for costs), and usually is enabled for home or company users.
5.72. Delete old database backup
You can automate backup cleanup by setting the following global config values:
Deldbbackup: days to keep (-1 disables cleenups)
Dbbackupdir: database backup directory
dbdelbackupdir1, dbdelbackupdir1, dbdelbackupdir3: database backup subdirectories
This feature is useful, when the database engine doesn’t have cleanup feature.
5.73. Sales commissions
The sales cost will be calculated to the CDR record “costsales” field. So you can build any statistics based on this value.
Every user can have the “Added By” field filled, wich will point to the sales person where the user belongs.
You can define the sales commission explicitly in the “Price setup” form (Type must be set to “Sales cost”)
If no such price is defined, than the sales commission will be loaded from the actual sales user setting.










