forked from newfies-dialer/newfies-dialer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
72 changed files
with
966 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
# | ||
# To download and run the script on your server : | ||
# cd /usr/src/ ; rm install-all.sh ; wget --no-check-certificate https://raw.github.com/Star2Billing/newfies-dialer/master/install/install-all.sh ; chmod +x install-all.sh ; ./install-all.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
# | ||
# To download and run the script on your server : | ||
# wget --no-check-certificate https://raw.github.com/Star2Billing/newfies-dialer/master/install/freeswitch/install-freeswitch.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
# | ||
# To download and run the script on your server : | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
try: | ||
import cStringIO as StringIO | ||
except ImportError: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
from random import choice | ||
import calendar | ||
import string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
import newfies | ||
|
||
def newfies_version(request): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
"""This file was generated with the customdashboard management command, it | ||
contains the two classes for the main dashboard and app index dashboard. | ||
You can customize these classes as you want. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
"""This file was generated with the custommenu management command, it contains | ||
the classes for the admin menu, you can customize this class as you want. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from django.contrib import admin | ||
from django.contrib import messages | ||
from django.conf.urls.defaults import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from dialer_campaign.models import * | ||
from dilla import spam | ||
import string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from django.contrib.auth.models import User | ||
from django import forms | ||
from django.forms.util import ErrorList | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from django.contrib.auth.models import User | ||
from django.utils.translation import ugettext_lazy as _ | ||
from dialer_campaign.models import Phonebook, Campaign, Contact, CAMPAIGN_STATUS, CAMPAIGN_STATUS_COLOR | ||
|
14 changes: 14 additions & 0 deletions
14
newfies/dialer_campaign/management/commands/create_contact.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from optparse import make_option | ||
from django.core.management.base import BaseCommand, CommandError | ||
from django.utils.translation import ugettext as _ | ||
|
14 changes: 14 additions & 0 deletions
14
newfies/dialer_campaign/management/commands/create_subscriber.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from optparse import make_option | ||
from django.core.management.base import BaseCommand, CommandError | ||
from django.utils.translation import ugettext as _ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from django.db import models | ||
from django.utils.translation import ugettext_lazy as _ | ||
from django.core.urlresolvers import reverse | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from celery.task import Task, PeriodicTask | ||
from dialer_campaign.models import Campaign, CampaignSubscriber | ||
from dialer_campaign.function_def import user_dialer_setting | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from django.conf.urls.defaults import * | ||
from django.conf import settings | ||
from dialer_campaign.views import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
# Create your views here. | ||
from django.contrib.auth.models import User | ||
from django.contrib.auth import authenticate, login, logout | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from django.contrib import admin | ||
from django.contrib.admin.options import IncorrectLookupParameters | ||
from django.contrib.admin.views.main import ERROR_FLAG | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from django.contrib.auth.models import User | ||
from dialer_cdr.models import * | ||
from dilla import spam | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from django import forms | ||
from django.forms import * | ||
from django.contrib import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from dialer_cdr.models import * | ||
from datetime import * | ||
from random import * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
import types | ||
from django.db import models | ||
from django.utils import simplejson as json | ||
|
14 changes: 14 additions & 0 deletions
14
newfies/dialer_cdr/management/commands/create_callrequest_cdr.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# | ||
# Newfies-Dialer License | ||
# http://www.newfies-dialer.org | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Copyright (C) 2011-2012 Star2Billing S.L. | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Arezqui Belaid <[email protected]> | ||
# | ||
|
||
from optparse import make_option | ||
from django.core.management.base import BaseCommand, CommandError | ||
from django.utils.translation import ugettext_lazy as _ | ||
|
Oops, something went wrong.