Documentation

Documentation.Generating-Configs-1-9 History

Hide minor edits - Show changes to output

August 05, 2013, at 03:56 PM by 109.99.235.212 -
Changed line 4 from:
[- Page for other versions: [[Generating-Configs|devel]] 1.9 [[Generating-Configs-1-8|1.8]] -]
to:
(:allVersions Generating-Configs 1.9:)
May 29, 2013, at 01:18 PM by 109.99.235.212 -
Changed line 4 from:
[- Page for other versions: [[Generating-Configs|devel]] 1.9 [[Generating-Configs|1.8]] -]
to:
[- Page for other versions: [[Generating-Configs|devel]] 1.9 [[Generating-Configs-1-8|1.8]] -]
May 29, 2013, at 12:52 PM by 109.99.235.212 -
Added lines 2-10:
(:title Generating Config Files - ver 1.9 :)
----
[- Page for other versions: [[Generating-Configs|devel]] 1.9 [[Generating-Configs|1.8]] -]

\\

|| %color=#185662%[+'''Generating Config Files 1.9'''+]%% ||

||[[Configure-File-1-9|Prev]] || [[Script-Format-1-9|Next]]||
May 21, 2013, at 02:09 PM by 109.99.235.212 -
Changed lines 62-68 from:
** DISABLE_PINGING : OpenSIPS will not ping at all the destinations (otherwise it will ping when detected as failed)
to:
** DISABLE_PINGING : OpenSIPS will not ping at all the destinations (otherwise it will ping when detected as failed)

!!! Post-Generation Script editing

After generating your OpenSIPS script with the menuconfig tool, you need to open the script with your favorite editor, and go through all the '# CUSTOMIZE ME' comments in the script. Those comments mark the places where user attention is needed, and usually refer to customizing the OpenSIPS listening address or setting the proper database URL.

Upon making the appropriate '# CUSTOMIZE ME' changes, you can save your script and take it for a test drive.
May 21, 2013, at 01:55 PM by 109.99.235.212 -
Changed lines 27-28 from:
So far, the OpenSIPS 1.9 menuconfig automated script generator supports 3 types of scripts :
to:
So far, the OpenSIPS 1.9 menuconfig automated script generator supports 3 types of scripts. Here are the types of scripts, along with the available options per script :
Changed lines 31-33 from:
** 1
** 2
to:
** ENABLE_TCP : OpenSIPS will listen on TCP for SIP requests
** ENABLE_TLS : OpenSIPS will listen on TCP for SIP requests
** USE_ALIASES : OpenSIPS will allow the use of Aliases for SIP users
** USE_AUTH : OpenSIPS will authenticate Register & Invite requests
** USE_DBACC : OpenSIPS will save ACC entries in DB for all calls
** USE_DBUSRLOC : OpenSIPS will persistently store User Location entries in the DB
** USE_DIALOG : OpenSIPS will keep track of active dialogs
** USE_MULTIDOMAIN : OpenSIPS will handle multiple domains for subscribers
** USE_NAT : OpenSIPS will try to cope with NAT by fixing SIP msgs and engaging RTPProxy
** USE_PRESENCE : OpenSIPS will act as a Presence server
** USE_DIALPLAN : OpenSIPS will use dialplan for transformation of local numbers
** VM_DIVERSION : OpenSIPS will redirect to VM calls not reaching the subscribers
** HAVE_INBOUND_PSTN : OpenSIPS will accept calls from PSTN gateways (with static IP authentication)
** HAVE_OUTBOUND_PSTN : OpenSIPS will send numerical dials to PSTN gateways (with static IP definition)
** USE_DR_PSTN : OpenSIPS will use Dynamic Routing Support ( LCR ) for PSTN interconnection
Changed lines 49-62 from:
* Load-Balancer Script
to:
** ENABLE_TCP : OpenSIPS will listen on TCP for SIP requests
** ENABLE_TLS : OpenSIPS will listen on TCP for SIP requests
** USE_DBACC : OpenSIPS will save ACC entries in DB for all calls
** USE_DIALPLAN : OpenSIPS will use dialplan for transformation of local numbers
** USE_DIALOG : OpenSIPS will keep track of active dialogs
** DO_CALL_LIMITATION : OpenSIPS will limit the number of parallel calls per trunk

* Load-Balancer Script

** ENABLE_TCP : OpenSIPS will listen on TCP for SIP requests
** ENABLE_TLS : OpenSIPS will listen on TCP for SIP requests
** USE_DBACC : OpenSIPS will save ACC entries in DB for all calls
** USE_DISPATCHER : OpenSIPS will use DISPATCHER instead of Load-Balancer for distributing the traffic
** DISABLE_PINGING : OpenSIPS will not ping at all the destinations (otherwise it will ping when detected as failed)
May 21, 2013, at 01:47 PM by 109.99.235.212 -
Changed lines 25-36 from:
!!! Types of Configs
to:
!!! Types of Configs

So far, the OpenSIPS 1.9 menuconfig automated script generator supports 3 types of scripts :

* Residential Script

** 1
** 2

* Trunking Script

* Load-Balancer Script
May 21, 2013, at 01:46 PM by 109.99.235.212 -
Changed line 23 from:
[[http://opensips.org/images/menuconfig_snapshot.png |%rfloat width=500px % http://opensips.org/images/menuconfig_snapshot.png | ''' ''' ]]
to:
%rfloat width=400px % http://opensips.org/images/menuconfig_snapshot.png | ''' '''
May 21, 2013, at 01:46 PM by 109.99.235.212 -
Changed line 23 from:
%rfloat width=500px % http://opensips.org/images/menuconfig_snapshot.png | ''' '''
to:
[[http://opensips.org/images/menuconfig_snapshot.png |%rfloat width=500px % http://opensips.org/images/menuconfig_snapshot.png | ''' ''' ]]
May 21, 2013, at 01:45 PM by 109.99.235.212 -
Changed line 23 from:
%rfloat width=400px % http://www.opensips.org/uploads/Resources/PerformanceTests/LoadGraph.jpg | ''' '''
to:
%rfloat width=500px % http://opensips.org/images/menuconfig_snapshot.png | ''' '''
May 21, 2013, at 01:44 PM by 109.99.235.212 -
Changed lines 21-23 from:
Once you have chosen you script type, you will be able to go to configure the various available options for that script ( described below ), then you can Save your changes and then finally generate the OpenSIPS script with your configurations. At the end, the graphical tool will give you the path for your newly generated config file ( eg : Config generated : /usr/local/opensips_proxy_1.9/etc/opensips/opensips_residential_2013-5-21_11:39:48.cfg )
to:
Once you have chosen you script type, you will be able to go to configure the various available options for that script ( described below ). Enabling certain options per script is done by using the spacebar key. Once you have configured your desired options, you can hit the 'q' key to go to the previous menu, and hit 'Save Changes'. Then, you can generate the OpenSIPS script with your configurations. At the end, the graphical tool will give you the path for your newly generated config file ( eg : Config generated : /usr/local/opensips_proxy_1.9/etc/opensips/opensips_residential_2013-5-21_11:39:48.cfg )

%rfloat width=400px % http://www.opensips.org/uploads/Resources/PerformanceTests/LoadGraph.jpg | ''' '''
May 21, 2013, at 01:42 PM by 109.99.235.212 -
Deleted lines 15-16:
and then navigate to 'Generate OpenSIPS Script'
Added lines 19-21:

Once in the menuconfig tool, navigate to the 'Generate OpenSIPS Script' option, and then choose your desired script type.
Once you have chosen you script type, you will be able to go to configure the various available options for that script ( described below ), then you can Save your changes and then finally generate the OpenSIPS script with your configurations. At the end, the graphical tool will give you the path for your newly generated config file ( eg : Config generated : /usr/local/opensips_proxy_1.9/etc/opensips/opensips_residential_2013-5-21_11:39:48.cfg )
May 21, 2013, at 01:35 PM by 109.99.235.212 -
Added lines 9-20:

The menuconfig can be ran either directly from the OpenSIPS sources, or post installation, from the installation path :

* From sources, you can run

make menuconfig

and then navigate to 'Generate OpenSIPS Script'

* After installation, you can run menuconfig directly from the installation path, by running

[install_path]/sbin/osipsconfig
May 21, 2013, at 01:30 PM by 109.99.235.212 -
Added line 6:
Generating OpenSIPS config files is accomplished by using the menuconfig tool. Because the graphical interface is ncurses based, please make sure to first install the ncurses development library ( typically libncurses5-dev ).
May 21, 2013, at 01:24 PM by 109.99.235.212 -
Changed lines 4-9 from:
(:toc-float Table of Content:)
to:
(:toc-float Table of Content:)


!!! Using the Menuconfig Tool

!!! Types of Configs
May 21, 2013, at 01:22 PM by 109.99.235.212 -
Added lines 1-4:
!!!!!Documentation -> [[Documentation.Manuals|Manuals]] -> [[Documentation.Manual-1-9|Manual 1.9]] -> Generating Config Files
----

(:toc-float Table of Content:)

Page last modified on August 05, 2013, at 03:56 PM