GithubHelp home page GithubHelp logo

docker-asterisk's People

Contributors

lucasvs avatar mauri870 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

docker-asterisk's Issues

Passing configuration to Asterisk

Hi,

First of all, thank you for creating this repo.

I was wondering if you would be able to provide some instructions on how to use this image?

I tried running the image on OSX:

$ docker run --rm -it lucasvs/asterisk:latest
PBX UUID: 8fcd86f3-012d-4914-8e12-836a3c4ae1e8
Unable to load config file 'stasis.conf'
Could not load Stasis configuration; using defaults
[Mar 12 03:35:00] NOTICE[1]: loader.c:2230 load_modules: 93 modules will be loaded.
[Mar 12 03:35:00] WARNING[1]: ccss.c:4386 initialize_cc_max_requests: Could not find valid ccss.conf file. Using cc_max_requests default
[Mar 12 03:35:00] WARNING[1]: ccss.c:4443 initialize_cc_devstate_map: Could not find valid ccss.conf file. Using cc_[state]_devstate defaults
[Mar 12 03:35:00] NOTICE[1]: cdr.c:4485 cdr_toggle_runtime_options: CDR simple logging enabled.
[Mar 12 03:35:00] ERROR[1]: config_options.c:710 aco_process_config: Unable to load config file 'cel.conf'
[Mar 12 03:35:00] NOTICE[1]: cel.c:1614 load_module: Failed to process CEL configuration; using defaults
[Mar 12 03:35:00] ERROR[1]: config_options.c:710 aco_process_config: Unable to load config file 'features.conf'
[Mar 12 03:35:00] NOTICE[1]: features_config.c:1874 load_config: Could not load features config; using defaults
[Mar 12 03:35:00] ERROR[1]: config_options.c:710 aco_process_config: Unable to load config file 'acl.conf'
[Mar 12 03:35:00] NOTICE[1]: manager.c:9086 __init_manager: Unable to open AMI configuration manager.conf, or configuration is invalid.
[Mar 12 03:35:00] ERROR[1]: config_options.c:710 aco_process_config: Unable to load config file 'udptl.conf'
[Mar 12 03:35:00] NOTICE[1]: udptl.c:1320 __ast_udptl_reload: Could not load udptl config; using defaults
[Mar 12 03:35:00] ERROR[1]: res_sorcery_config.c:320 sorcery_config_internal_load: Unable to load config file 'pjproject.conf'
[Mar 12 03:35:00] ERROR[1]: res_pjsip/config_auth.c:91 auth_apply: No authentication username for auth 'dcs-trunk-auth'
[Mar 12 03:35:00] ERROR[1]: res_sorcery_config.c:407 sorcery_config_internal_load: Could not create an object of type 'auth' with id 'dcs-trunk-auth' from configuration file 'pjsip.conf'
[Mar 12 03:35:00] ERROR[1]: res_pjsip/config_auth.c:91 auth_apply: No authentication username for auth 'dcs-auth'
[Mar 12 03:35:00] ERROR[1]: res_sorcery_config.c:407 sorcery_config_internal_load: Could not create an object of type 'auth' with id 'dcs-auth' from configuration file 'pjsip.conf'
[Mar 12 03:35:00] ERROR[1]: res_pjsip_endpoint_identifier_ip.c:440 ip_identify_apply: Identify 'dcs-identify' is not configured to match anything.
[Mar 12 03:35:00] ERROR[1]: res_sorcery_config.c:407 sorcery_config_internal_load: Could not create an object of type 'identify' with id 'dcs-identify' from configuration file 'pjsip.conf'
[Mar 12 03:35:01] ERROR[1]: config_options.c:710 aco_process_config: Unable to load config file 'pjsip_notify.conf'
[Mar 12 03:35:01] ERROR[1]: res_pjsip_outbound_registration.c:1448 sip_outbound_registration_apply: No client URI specified on outbound registration 'dcs-trunk'
[Mar 12 03:35:01] ERROR[1]: res_sorcery_config.c:407 sorcery_config_internal_load: Could not create an object of type 'registration' with id 'dcs-trunk' from configuration file 'pjsip.conf'
[Mar 12 03:35:01] NOTICE[1]: confbridge/conf_config_parser.c:2273 verify_default_profiles: Adding default_bridge profile to app_confbridge
[Mar 12 03:35:01] NOTICE[1]: confbridge/conf_config_parser.c:2284 verify_default_profiles: Adding default_user profile to app_confbridge
[Mar 12 03:35:01] NOTICE[1]: confbridge/conf_config_parser.c:2295 verify_default_profiles: Adding default_menu menu to app_confbridge
[Mar 12 03:35:01] WARNING[1]: loader.c:2234 load_modules: Some non-required modules failed to load.
[Mar 12 03:35:01] ERROR[1]: loader.c:2249 load_modules: Failed to resolve dependencies for res_pjsip_transport_websocket
[Mar 12 03:35:01] ERROR[1]: loader.c:2249 load_modules: res_pjsip_transport_websocket declined to load.
[Mar 12 03:35:01] ERROR[1]: loader.c:2249 load_modules: res_pjsip_notify declined to load.
Asterisk Ready.

Two things that I'm wondering about are:

  1. How do you pass your Asterisk configuration into the container?
  2. Are the errors in the above log normal? Is it possible they are due to running on OSX? Even though it's via Docker.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.