Class a.s.SIPHandle(CallHandleBase):

Part of aculab.sip View Source View In Hierarchy

Known subclasses: aculab.sip.SIPCall

An Aculab SIP call handle, and common operations on it.

Some events are handled to maintain the internal state, but in general, event handling is delegated to the controller.

Logging: output from a SIPHandle is prefixed with sip-
Method __init__ Initialise the controller stack and common attributes.
Method openin Open for an incoming SIP Handle.
Method openout Open for an outgoing SIP Handle.
Method get_details Undocumented
Method accept Accept the call.
Method media_accept Accept the media proposal.
Method incoming_ringing Signal incoming ringing.
Method disconnect Disconnect a call. Code is 200 by default (which is probably
Method release Release a call.
Method close Alias for release.
Method ev_incoming_call_det Undocumented
Method ev_details Undocumented
Method ev_media Undocumented
Method ev_media_propose Undocumented
Method ev_ext_transfer_information Undocumented
Method ev_ext_diversion Undocumented
Method ev_idle Undocumented
Method ev_idle_post Undocumented

Inherited from CallHandleBase:

Method push_controller Push a new controller onto the controller stack.
Method pop_controller Pop a controller from the stack.
def __init__(self, controller, user_data=None, reactor=Reactor): (source)
overridden in aculab.sip.SIPCall
Initialise the controller stack and common attributes.
def openin(self, request_notification_mask=0, response_notification_mask=0, call_options=0): (source)

Open for an incoming SIP Handle.

See sip_openin.
def openout(self, destination_address, sdp, originating_address='', contact_address=None, request_notification_mask=0, response_notification_mask=0, call_options=0, custom_headers=None): (source)

Open for an outgoing SIP Handle.

See sip_openout.
def get_details(self): (source)
Undocumented
def accept(self, sdp, contact_address=None): (source)

Accept the call.

See sip_openout.
def media_accept(self, sdp, contact_address=None): (source)

Accept the media proposal.

See sip_openout.
def incoming_ringing(self): (source)

Signal incoming ringing.

See sip_incoming_ringing.
def disconnect(self, code=200): (source)
Disconnect a call. Code is 200 by default (which is probably wrong)
def release(self): (source)
Release a call.
def close(self): (source)
Alias for release.
def ev_incoming_call_det(self): (source)
Undocumented
def ev_details(self): (source)
Undocumented
def ev_media(self): (source)
Undocumented
def ev_media_propose(self): (source)
Undocumented
def ev_ext_transfer_information(self): (source)
Undocumented
def ev_ext_diversion(self): (source)
Undocumented
def ev_idle(self): (source)
Undocumented
def ev_idle_post(self): (source)
Undocumented
API Documentation for pyAculab, generated by pydoctor at 2009-01-02 15:12:29.