{"id":13814081,"url":"https://github.com/maxiberta/django-asterisk","last_synced_at":"2025-03-17T16:32:09.425Z","repository":{"id":57418963,"uuid":"1793601","full_name":"maxiberta/django-asterisk","owner":"maxiberta","description":"Phone call queuing and management for the Django web framework using an Asterisk server","archived":false,"fork":false,"pushed_at":"2011-07-25T19:25:23.000Z","size":96,"stargazers_count":34,"open_issues_count":0,"forks_count":10,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-28T01:48:48.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxiberta.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-24T13:52:35.000Z","updated_at":"2024-12-11T08:46:08.000Z","dependencies_parsed_at":"2022-09-13T15:25:57.328Z","dependency_job_id":null,"html_url":"https://github.com/maxiberta/django-asterisk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxiberta%2Fdjango-asterisk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxiberta%2Fdjango-asterisk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxiberta%2Fdjango-asterisk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxiberta%2Fdjango-asterisk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxiberta","download_url":"https://codeload.github.com/maxiberta/django-asterisk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871888,"owners_count":20361379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T04:01:42.440Z","updated_at":"2025-03-17T16:32:09.144Z","avatar_url":"https://github.com/maxiberta.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"Django Asterisk\n===============\n\ndjango-asterisk is a reusable Django app for queuing and managing phone calls, inspired and based on django-mailer. It makes calls through the Management interface of an Asterisk server.\n\n\nSetup\n-----\n\n* Add the django_asterisk app in settings.INSTALLED_APPS\n\n* Set the following variables in settings.py::\n\n    AST_HOST = 'localhost'\n    AST_USER = 'django'\n    AST_PASS = 'mysecret'\n    AST_PRIO = 1\n    AST_TIMEOUT_ORIGINATE = 30 # sec\n    AST_TIMEOUT_HANGUP = 120 # sec\n\n* Change the default passwords!!\n\n\nRequirements\n------------\n\n* pyst (http://pyst.sf.net/)\n\n* a working Asterisk server (see docs/asterisk for a sample config)\n\n\nUsage\n-----\n\nSupposing you have an object called 'user' with the 'phone_number' attribute, you can create and queue a call like this::\n\n    from django_asterisk.models import Call\n    channel = 'SIP/%s@mysipprovider' % user.phone_number\n    call = Call(channel=channel, extension=user.phone_number, context='django-out', caller_id='\"Django Asterisk Test\" \u003c0123456789\u003e', related_object=user)\n    call.save()\n\nYou can later make the call from the admin, by selecting it and executing the \"Make call\" action.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxiberta%2Fdjango-asterisk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxiberta%2Fdjango-asterisk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxiberta%2Fdjango-asterisk/lists"}