Skip to content

AmoebaLabs/chef-opensips

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSIPS Cookbook

Requirements

operating systems

  • ubuntu (init.d script only supports ubuntu right now)

packages

(I don't think any of these are required anymore)

  • ntpproxy - opensips needs ntpproxy
  • postgres db dev package

Attributes

opensips::default

Key Type Description Default
node['opensips']['prefix'] String where to install to /
node['opensips']['source']['url'] String where to get the source from http://opensips.org/pub/opensips/latest/src/opensips-1.9.0_src.tar.gz
node['opensips']['source']['include_modules'] Array which modules to include in complitation ["signaling,", "sl,", "tm,", "rr,", "dialog,", "maxfwd,", "usrloc,", "registrar,", "textops,", "sipmsgops,", "mi_fifo,", "uri,", "auth,", "auth_db,", "nathelper,", "alias_db,", "group,", "rtpproxy,", "enum,", "avpops,", "pike,", "domain"]

opensips::federate

Key Type Description Default
node['opensips']['federate']['config']['debug_level'] Integer debug log level 3
node['opensips']['federate']['config']['log_facility'] String LOG_LOCAL6
node['opensips']['federate']['config']['listen_ip'] String the ip for opensips to listen on localhost
node['opensips']['federate']['config']['module_path'] String the path to opensips modules /usr/lib64/opensips/modules
node['opensips']['federate']['config']['user'] String user to run opensips as opensips
node['opensips']['federate']['config']['group'] String group to run opensips as opensips
node['opensips']['federate']['config']['db_uri'] String database uri for opensips mysql://root:somepass@localhost/proxy

Usage

opensips::default

Just include opensips in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[opensips]"
  ]
}

opensips::rtpproxy

Just include opensips::rtpproxy in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[opensips]",
    "recipe[opensips::rtpproxy]"
  ]
}

opensips::federate

Just include opensips::federate in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[opensips]",
    "recipe[opensips::rtpproxy]",
    "recipe[opensips::federate]"
  ]
}

About

OpenSIPS Chef Cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%