Documentation

Documentation.Configure-File-1-9 History

Hide minor edits - Show changes to markup

August 05, 2013, at 02:54 PM by 109.99.235.212 -
Changed line 4 from:

Page for other versions: devel 1.9 1.8 old versions: 1.7 1.6 1.5 1.4

to:

(:allVersions Configure-File 1.9:)

May 29, 2013, at 06:39 PM by vlad_paiu -
Changed line 48 from:

If the configuration file is OK, OpenSIPS will return 0.

to:

When checking the configuration file for validity, If the cfg is OK, OpenSIPS will return 0.

May 29, 2013, at 06:38 PM by vlad_paiu -
Changed lines 46-52 from:

If the config file contains any errors, they will be displayed in the console

to:


If the configuration file is OK, OpenSIPS will return 0.


If the config file contains any errors, they will be displayed in the console and OpenSIPS will return -1

May 29, 2013, at 06:36 PM by vlad_paiu -
Changed lines 34-46 from:
to:


Due to the fact that you must restart OpenSIPS every time you make a change to the configuration file, it is of vital importance to ensure that all the changes you have made are correct according to the OpenSIPS language syntax.

You can check the OpenSIPS configuration file validity by running


[INSTALL_PATH]/sbin/opensips -C [PATH_TO_CFG]

If the config file contains any errors, they will be displayed in the console

May 29, 2013, at 06:00 PM by vlad_paiu -
Changed lines 15-17 from:
to:


Added line 24:

\\

May 29, 2013, at 05:59 PM by vlad_paiu -
Changed lines 25-26 from:
to:

\\

May 29, 2013, at 05:59 PM by vlad_paiu -
Added lines 24-26:
May 29, 2013, at 05:58 PM by vlad_paiu -
Changed lines 25-26 from:

f

to:

If you do any change to the configuration file, in order for them to take effect, you MUST restart OpenSIPS

May 29, 2013, at 05:55 PM by vlad_paiu -
Added line 15:
Added line 21:
May 29, 2013, at 05:55 PM by vlad_paiu -
Added line 24:

f

May 29, 2013, at 05:54 PM by vlad_paiu -
Changed lines 13-14 from:

The OpenSIPS configuration file will contain all the parameters that control the OpenSIPS core and modules, along with the actual SIP routing logic.

to:

The OpenSIPS configuration file contains all the parameters that control the OpenSIPS core and modules, along with the actual routing logic that OpenSIPS will use to route the SIP traffic.

Changed lines 19-24 from:

@]

to:

@]

The configuration file is text-based, written in an OpenSIPS custom language, very similar to the C language. You will find different variables ( each with different scopes - explained further down the manual ), you can do the classical constructs like if / while / switch, etc, and you can also call sub-routines with parameters, so the script should be fairly easily read-able by somebody with some SIP & programming skills.

May 29, 2013, at 05:45 PM by vlad_paiu -
Changed lines 13-19 from:

TO BE DONE

to:

The OpenSIPS configuration file will contain all the parameters that control the OpenSIPS core and modules, along with the actual SIP routing logic.

Upon installation, the default configuration file path is :

[INSTALL_PATH]/etc/opensips/opensips.cfg
May 29, 2013, at 12:13 PM by 109.99.235.212 -
Changed lines 11-13 from:

to:

TO BE DONE

May 29, 2013, at 12:06 PM by 109.99.235.212 -
Changed line 4 from:

Page for other versions: devel 1.9 1.8 old versions: 1.7 1.6 1.5 1.4 -]

to:

Page for other versions: devel 1.9 1.8 old versions: 1.7 1.6 1.5 1.4

May 29, 2013, at 12:05 PM by 109.99.235.212 -
Changed line 4 from:

Page for other versions: devel 1.9 1.8 old versions: 1.7 1.6 1.5 1.4-]

to:

Page for other versions: devel 1.9 1.8 old versions: 1.7 1.6 1.5 1.4 -]

May 29, 2013, at 12:05 PM by 109.99.235.212 -
Added lines 1-11:
Documentation -> Manuals -> Manual 1.9 -> Configuration File

(:title Configuration File - ver 1.9 :)


Page for other versions: devel 1.9 1.8 old versions: 1.7 1.6 1.5 1.4-]


Configuration File 1.9
PrevNext


Page last modified on August 05, 2013, at 02:54 PM