# -*- coding: utf-8 -*-
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "app.settings")
application = get_wsgi_application()
tc filter add dev eth1 protocol ip parent 1:0 prio 25 u32 match \
ip sport 80 0xffff flowid 1:10
tc class add dev eth1 parent 1: classid 1:1 htb rate 100Mbit ceil 100Mbit
exten => s,n,GotoIf($[ $[ "${ARG1}" != "exten" ] | $[ "${ARG1}" != "out" ] ]?labelTrue:labelFalse)
exten => s,n,GotoIf($["${ARG1}" != "exten"]?return)
exten => s,n,GotoIf($["${ARG1}" != "out"]?return)
exten => s,n,...................
exten => s,n,...................
exten => s,n,...................
exten => s,n(return),Return()