-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
18 changed files
with
162 additions
and
0 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 |
---|---|---|
@@ -1,3 +1,12 @@ | ||
-- | ||
-- callng:callfunc.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
-- All Rights Reserved. | ||
-- | ||
|
||
dofile("{{rundir}}/callng/utilities.lua") | ||
---------------------******************************-------------------------- | ||
---------------------****| CALL RELATED FUNCTION |****--------------------- | ||
|
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,12 @@ | ||
-- | ||
-- callng:configuration.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
-- All Rights Reserved. | ||
-- | ||
|
||
-- configuration | ||
SWVERSION = '{{version}}' | ||
NODEID = '{{nodeid}}' | ||
|
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,12 @@ | ||
-- | ||
-- callng:event.capacity.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
-- All Rights Reserved. | ||
-- | ||
|
||
dofile("{{rundir}}/callng/utilities.lua") | ||
--------------------------------------------------------------------------- | ||
|
||
|
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,12 @@ | ||
-- | ||
-- callng:event.cdr.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
-- All Rights Reserved. | ||
-- | ||
|
||
dofile("{{rundir}}/callng/utilities.lua") | ||
--------------------------------------------------------------------------- | ||
|
||
|
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,12 @@ | ||
-- | ||
-- callng:event.startup.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
-- All Rights Reserved. | ||
-- | ||
|
||
dofile("{{rundir}}/callng/utilities.lua") | ||
--------------------------------------------------------------------------- | ||
|
||
|
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,12 @@ | ||
-- | ||
-- callng:event.unauth.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
-- All Rights Reserved. | ||
-- | ||
|
||
dofile("{{rundir}}/callng/utilities.lua") | ||
--------------------------------------------------------------------------- | ||
|
||
|
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,12 @@ | ||
-- | ||
-- callng:main.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. All Rights Reserved. | ||
-- | ||
-- | ||
|
||
dofile("{{rundir}}/callng/callfunc.lua") | ||
---------------------******************************--------------------- | ||
---------------------****| INBOUND callng |****--------------------- | ||
|
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,2 +1,11 @@ | ||
-- | ||
-- callng:redirection.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
-- All Rights Reserved. | ||
-- | ||
|
||
dofile("{{rundir}}/callng/configuration.lua") | ||
logify('module', 'callng', 'space', 'redirection', 'action', 'report', 'notice', 'please file a feature request for manual handle sip redirection') |
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,12 @@ | ||
-- | ||
-- callng:main.lua | ||
-- | ||
-- The Initial Developer of the Original Code is | ||
-- Minh Minh <[email protected]> | ||
-- Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
-- All Rights Reserved. | ||
-- | ||
|
||
dofile("{{rundir}}/callng/configuration.lua") | ||
|
||
-- REQUIRE | ||
|
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,12 @@ | ||
# | ||
# liberator:__init__.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
from .configuration import * | ||
from .utilities import * | ||
from .basemgr 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,12 @@ | ||
# | ||
# liberator:api.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
import time | ||
import uuid | ||
import syslog | ||
|
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,12 @@ | ||
# | ||
# liberator:basemgr.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
import time | ||
import traceback | ||
import random | ||
|
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,12 @@ | ||
# | ||
# liberator:cdr.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
import time | ||
import traceback | ||
from threading import Thread | ||
|
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,12 @@ | ||
# | ||
# liberator:configuration.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
#----------------------------------------------------------------------------------------------------- | ||
# GLOBAL CONFIGURATION FILES | ||
#----------------------------------------------------------------------------------------------------- | ||
|
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,12 @@ | ||
# | ||
# liberator:fsxmlapi.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
import traceback | ||
import json | ||
import copy | ||
|
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,12 @@ | ||
# | ||
# liberator:libreapi.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
import traceback | ||
import re | ||
import json | ||
|
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,12 @@ | ||
# | ||
# liberator:main.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
import time | ||
import uuid | ||
import syslog | ||
|
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,12 @@ | ||
# | ||
# liberator:utilities.py | ||
# | ||
# The Initial Developer of the Original Code is | ||
# Minh Minh <[email protected]> | ||
# Portions created by the Initial Developer are Copyright (C) the Initial Developer. | ||
# All Rights Reserved. | ||
# | ||
|
||
import syslog | ||
import json | ||
from threading import Thread | ||
|