Created
January 30, 2011 11:16
-
-
Save saghul/802788 to your computer and use it in GitHub Desktop.
SylkServer application skeleton
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
from application.python.util import Singleton | |
from sylk.applications import ISylkApplication, sylk_application | |
from zope.interface import implements | |
@sylk_application | |
class SkelApplication(object): | |
__metaclass__ = Singleton | |
implements(ISylkApplication) | |
__appname__ = 'skelapp' | |
def __init__(self): | |
pass | |
def incoming_session(self, session): | |
# Handle incoming INVITE session | |
pass | |
def incoming_subscription(self, subscribe_request, data): | |
# Handle incoming SUBSCRIBE | |
pass | |
def incoming_sip_message(self, message_request, data): | |
# Handle incoming MESSAGE | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment