SAIL Defaults

From sailpbx
Revision as of 03:03, 23 February 2013 by Apmutha (talk | contribs) (SAIL Defaults)
Jump to: navigation, search

SAIL Default Value Policy

The general rule SAIL/SARK follows is that the /var/lib/asterisk/agi-bin/sarkhpe will impose a default value if the variable is empty. The said binary is bundled into the sail rpm for SME and centOS installs and for others like ARM / Debian, it is provided as a separate RPM.

The units for the variables generally follow Digium API - blame them for any inconsistency.

The values can be set in the sqlite3 database - /opt/sark/db/sark.db - preferably only if it is not settable in the SAIL GUI.

SAIL Defaults

Variable Default Value Units sark.db table GUI Settable Available Since Remarks
LOCALAREA globals No v3.1.1-22, v4.0.0-41 area code prefix to be prepended
LOCALDLEN globals No v3.1.1-22, v4.0.0-41 prepend LOCALAREA if short dial length
IVRKEYWAIT 6 seconds globals No v3.1.1-22, v4.0.0-41
IVRDIGITWAIT 6000 milliseconds globals No v3.1.1-22, v4.0.0-41

Notes

  • Further info on what the LOCALAREA and LOCALDLEN variables do: They are an aid to local short-dialling over a SIP trunk but, as yet, far from complete. All it does is prepend whatever is in LOCALAREA to the dialled number, but only if the dialled number is LOCALDLEN digits in length. In the UK, local subscriber numbers can be 5,6 or 7 digits in length. Area codes are 4 5 or 6 digits in length. It just means we can dial a short local number when dealing with a SIP trunk and SAIL will prepend the correct area code before it does the dial.