include extra config

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

include extra config

kostenftw
is it possible to include a part of the the cinfig from another file in the opensips.cfg..

what i want is to have the cfg or another file generated by another program, but it is only a small part of the cfg that needs to be edited everytime. so i would like to generate that part from another file and include that into opensips.cfg


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: include extra config

seanchann
use  m4 file.


2014-06-04 16:40 GMT+08:00 Mike Claudi Pedersen <[hidden email]>:
is it possible to include a part of the the cinfig from another file in the opensips.cfg..

what i want is to have the cfg or another file generated by another program, but it is only a small part of the cfg that needs to be edited everytime. so i would like to generate that part from another file and include that into opensips.cfg


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: include extra config

Bogdan-Andrei Iancu-2
In reply to this post by kostenftw
Hi Mike,

Yes, you can do that - see the "include_file" directive :
        http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc57

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 04.06.2014 11:40, Mike Claudi Pedersen wrote:
is it possible to include a part of the the cinfig from another file in the opensips.cfg..

what i want is to have the cfg or another file generated by another program, but it is only a small part of the cfg that needs to be edited everytime. so i would like to generate that part from another file and include that into opensips.cfg



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users