diff --git a/bin/check.py b/bin/check.py index 3db33dcf..5960e1cf 100755 --- a/bin/check.py +++ b/bin/check.py @@ -1,4 +1,23 @@ #!/usr/bin/env python +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# import io, sys, re, getopt from yaml import load from pprint import pprint diff --git a/bin/check.sh b/bin/check.sh index 34564096..276a220e 100755 --- a/bin/check.sh +++ b/bin/check.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# # $1 kamailio msg parsed to yml # $2 destination png filename diff --git a/bin/config_debug.pl b/bin/config_debug.pl index fb56e1a4..871d0f93 100755 --- a/bin/config_debug.pl +++ b/bin/config_debug.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use File::Spec; use Tie::File; use strict; diff --git a/bin/create_ncos.pl b/bin/create_ncos.pl index dda8f244..378bf3b3 100755 --- a/bin/create_ncos.pl +++ b/bin/create_ncos.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings; diff --git a/bin/create_peers.pl b/bin/create_peers.pl index fca07dfa..51e59a8f 100755 --- a/bin/create_peers.pl +++ b/bin/create_peers.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings; diff --git a/bin/create_rewrite_rules.pl b/bin/create_rewrite_rules.pl index 49875cd4..7d7b3b20 100755 --- a/bin/create_rewrite_rules.pl +++ b/bin/create_rewrite_rules.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings; diff --git a/bin/create_subscribers.pl b/bin/create_subscribers.pl index c2fd52b5..952fb34e 100755 --- a/bin/create_subscribers.pl +++ b/bin/create_subscribers.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings; diff --git a/bin/generate_tests.sh b/bin/generate_tests.sh index 49f58462..516f01f3 100755 --- a/bin/generate_tests.sh +++ b/bin/generate_tests.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# BASE_DIR="${BASE_DIR:-/usr/share/kamailio-config-tests}" BIN_DIR="${BASE_DIR}/bin" LOG_DIR="${BASE_DIR}/log" diff --git a/bin/graph_flow.pl b/bin/graph_flow.pl index 2bebaec7..c89eebd3 100755 --- a/bin/graph_flow.pl +++ b/bin/graph_flow.pl @@ -1,4 +1,23 @@ #!/usr/bin/env perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use 5.014; use strict; use warnings; diff --git a/bin/restart_log.sh b/bin/restart_log.sh index 6850f645..8b5ee931 100755 --- a/bin/restart_log.sh +++ b/bin/restart_log.sh @@ -1,4 +1,23 @@ #!/bin/bash +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# ngcp-sercmd proxy dbg.reset_msgid rm -rf /var/log/ngcp/kamailio-proxy.log rm -rf /var/log/ngcp/sems.log diff --git a/bin/scenario.pl b/bin/scenario.pl index bb067249..5086cf48 100755 --- a/bin/scenario.pl +++ b/bin/scenario.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings; diff --git a/bin/set_preferences.pl b/bin/set_preferences.pl index 4f863d60..c85e3558 100755 --- a/bin/set_preferences.pl +++ b/bin/set_preferences.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings; diff --git a/bin/set_subscribers_callforward.pl b/bin/set_subscribers_callforward.pl index 94a0cacb..245480ea 100755 --- a/bin/set_subscribers_callforward.pl +++ b/bin/set_subscribers_callforward.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings; diff --git a/bin/set_subscribers_speeddial.pl b/bin/set_subscribers_speeddial.pl index f7d211f2..43749848 100755 --- a/bin/set_subscribers_speeddial.pl +++ b/bin/set_subscribers_speeddial.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings; diff --git a/bin/show_flow.pl b/bin/show_flow.pl index a12ab685..f3441256 100755 --- a/bin/show_flow.pl +++ b/bin/show_flow.pl @@ -1,4 +1,23 @@ #!/usr/bin/env perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use 5.014; use strict; use warnings; diff --git a/bin/sipp.sh b/bin/sipp.sh index 3bbbf63b..8875a536 100755 --- a/bin/sipp.sh +++ b/bin/sipp.sh @@ -1,5 +1,23 @@ #!/bin/bash - +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# function usage { echo "Usage: sipp.sh [-p PORT] [-m MPORT] [-t TIMEOUT] [-r] scenario.xml" diff --git a/bin/test_check.py b/bin/test_check.py index 8e14fed8..ab4e3efa 100644 --- a/bin/test_check.py +++ b/bin/test_check.py @@ -1,4 +1,23 @@ #!/usr/bin/env python +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# from check import XAvp, Test, check_flow, check_flow_vars, check_sip, check_sip_out import yaml import unittest diff --git a/bin/ulog_parser.pl b/bin/ulog_parser.pl index c92ae558..0ecbb5c7 100755 --- a/bin/ulog_parser.pl +++ b/bin/ulog_parser.pl @@ -1,4 +1,23 @@ #!/usr/bin/env perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use 5.014; use strict; use warnings; diff --git a/bin/update_peer_host.pl b/bin/update_peer_host.pl index cc99ffcc..61748b30 100755 --- a/bin/update_peer_host.pl +++ b/bin/update_peer_host.pl @@ -1,4 +1,23 @@ #!/usr/bin/perl +# +# Copyright: 2013 Sipwise Development Team +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This package is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# On Debian systems, the complete text of the GNU General +# Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +# use strict; use warnings;