Development |
Development.Design-Opensips-Script-Preprocessing HistoryHide minor edits - Show changes to markup December 13, 2018, at 05:08 PM
by
- Changed line 1 from:
to:
September 17, 2018, at 02:24 PM
by
- Changed line 1 from:
Development -> Topics -> OpenSIPS Script Preprocessor Designto:
September 08, 2018, at 09:51 AM
by
- Changed line 15 from:
to:
September 06, 2018, at 06:34 PM
by
- Changed line 1 from:
Development -> OpenSIPS Script Preprocessor Designto:
Development -> Topics -> OpenSIPS Script Preprocessor DesignSeptember 05, 2018, at 06:58 PM
by
- Changed line 13 from:
There are two major inconveniences when working with added tools such as GNU m4: to:
There are two major inconveniences when working with external tools such as GNU m4: September 05, 2018, at 06:57 PM
by
- Changed line 9 from:
There is not a shade of doubt that real-life systems based on OpenSIPS require a templating language or a preprocessor to be used in order to generate the opensips.cfg file. When you have to deploy almost identical opensips.cfg files to tens of servers which only differ by a few IP addresses, having a macro to encompass these variable pieces of text goes a long way. But why isn't a solution like the GNU m4 preprocessor (which offers the above) the perfect fit for this task? to:
There is not a shade of doubt that real-life systems based on OpenSIPS require a templating language or a preprocessor to be used in order to generate the opensips.cfg file. When you have to deploy almost identical opensips.cfg files to tens of servers which only differ by a few IP addresses, ports, unique IDs, etc., having a macro to encompass these variable pieces of text goes a long way. But why isn't a solution like the GNU m4 preprocessor (which offers the above) the perfect fit for this task? September 05, 2018, at 06:55 PM
by
- Changed line 35 from:
to:
September 05, 2018, at 06:55 PM
by
- Changed line 29 from:
We require a C library or framework which would allow us to build the above features directly into the OpenSIPS scripting language. This way, OpenSIPS will be able to internally preprocess the "opensips.cfg" file without breaking the line numbering or introducing additional cumbersome files to work with! to:
We ultimately require a C library or framework which would allow us to build the above features directly into the OpenSIPS scripting language. This way, OpenSIPS will be able to internally preprocess the "opensips.cfg" file without breaking the line numbering or introducing additional cumbersome files to work with! September 05, 2018, at 06:52 PM
by
- Changed lines 45-49 from:
If you have ideas which help solve the core problems, we are here to listen! Please feel free to reply below, or on the users mailing list thread! to:
If you have ideas which help solve the core problems, we are here to listen! Please feel free to reply below, or on the users mailing list thread! (:commentboxchrono:) September 05, 2018, at 06:09 PM
by
- Changed lines 36-37 from:
to:
September 05, 2018, at 06:09 PM
by
- Changed line 27 from:
Solutions Under Scrutinyto:
Directions Under ScrutinySeptember 05, 2018, at 06:08 PM
by
- Added line 23:
Added lines 29-34:
We require a C library or framework which would allow us to build the above features directly into the OpenSIPS scripting language. This way, OpenSIPS will be able to internally preprocess the "opensips.cfg" file without breaking the line numbering or introducing additional cumbersome files to work with!
Changed line 45 from:
Any suggestions which help solve the core problems are welcome! Please feel free to reply below, or on the users mailing list thread! to:
If you have ideas which help solve the core problems, we are here to listen! Please feel free to reply below, or on the users mailing list thread! September 05, 2018, at 05:55 PM
by
- Changed line 16 from:
to:
September 05, 2018, at 05:55 PM
by
- Changed line 15 from:
to:
September 05, 2018, at 05:54 PM
by
- Changed line 9 from:
There is not a shade of doubt that real-life systems based on OpenSIPS require a templating language or a preprocessor to be used in order to generate the opensips.cfg file. When you have to deploy an almost identical opensips.cfg to tens of servers which only differs by a few IP addresses, having a macro to encompass these variable pieces of text goes a long way. But why isn't a solution like the GNU m4 preprocessor (which offers the above) the perfect fit for this task? to:
There is not a shade of doubt that real-life systems based on OpenSIPS require a templating language or a preprocessor to be used in order to generate the opensips.cfg file. When you have to deploy almost identical opensips.cfg files to tens of servers which only differ by a few IP addresses, having a macro to encompass these variable pieces of text goes a long way. But why isn't a solution like the GNU m4 preprocessor (which offers the above) the perfect fit for this task? September 05, 2018, at 05:53 PM
by
- Changed lines 5-38 from:
to:
MotivationThere is not a shade of doubt that real-life systems based on OpenSIPS require a templating language or a preprocessor to be used in order to generate the opensips.cfg file. When you have to deploy an almost identical opensips.cfg to tens of servers which only differs by a few IP addresses, having a macro to encompass these variable pieces of text goes a long way. But why isn't a solution like the GNU m4 preprocessor (which offers the above) the perfect fit for this task?
Often-Required FeaturesBelow is a community-sourced summary of commonly required templating features to be used on top of opensips.cfg:
Solutions Under Scrutiny
Confirmed SolutionsTBD Have a Better Idea?Any suggestions which help solve the core problems are welcome! Please feel free to reply below, or on the users mailing list thread! September 05, 2018, at 04:31 PM
by
- Changed line 1 from:
Development -> Design-Opensips-Script-Preprocessingto:
Development -> OpenSIPS Script Preprocessor DesignSeptember 05, 2018, at 04:31 PM
by
- Added lines 1-5:
Development -> Design-Opensips-Script-Preprocessing(:title OpenSIPS Script Preprocessor Design:) This page has been visited 3150 times. (:toc-float Table of Content:) |