Using opensips repo (yum.opensips.org) or Fedora official repo ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 11.09.2014 01:14, Steve Stevenson wrote:
Hello Bogdan,

I just ran 'yum install opensips' on Fedora 20, didn't bother to compile it from source.
The m4s came with the opensips package I imagine.
Thank you.

Steve

On 11 Sep 2014, at 3:26, Bogdan-Andrei Iancu <[email protected] <mailto:[email protected]>> wrote:

Hello Steve,

Thanks for your email. Couple of questions :
    - is your opensips locally compiled or installed from packages ?
- is the osipsconfig and the M4 files from the same OpenSIPS installation ?

Normally, the osipsconfig should know where the M4 templates are installed.

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 09.09.2014 08:30, Steve Stevenson wrote:
Hello guys,

I have an issue with osipsconfig, pretty much the same as described in the 
following topic:

Failed to generate script
http://opensips-open-sip-server.1449251.n2.nabble.com/Failed-to-generate-script-td7589129.html

When I save the config, it creates nothing, no error message on the screen, no 
file in /etc/opensips either.
I can only see the following in the curses.out file:

Initialized main window
Failed to open m4 defs
Failed to run command for menu [Save Residential Script]
Failed to open m4 defs
Failed to run command for menu [Save Residential Script]
Failed to open m4 defs
Failed to save m4 defs
Failed to run command for menu [Generate Residential Script]
Failed to open m4 defs
Failed to run command for menu [Save Residential Script]
Failed to open m4 defs
Failed to run command for menu [Save Residential Script]
Failed to open m4 defs
Failed to save m4 defs
Failed to run command for menu [Generate Residential Script]
Failed to open m4 defs
Failed to save cfg Residential Script
Failed to open m4 defs
Failed to save cfg Trunking Script
Failed to open m4 defs
Failed to save cfg Load-Balancer Script

Those m4 files are located under directory 
/usr/share/opensips/menuconfig_templates/
Just downloaded version 1.10.1-1 from the Fedora 20 repository with MySQL DB 
and ncurses 5.9-12

Ran strace while saved the config and you can find the output attached.

Anyway, I created the following environment variable to point at the m4 
directory:

# export MENUCONFIG_CFG_PATH=/usr/share/opensips/menuconfig_templates/

And when I re-ran the osipsconfig then it created the config file in 
/etc/opensips/.
Just thought I raise it as it appears to be some issue with searching for those 
m4 files in the wrong directory.

Thank you.

Regards,

Steve



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



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

Reply via email to