Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Structures | Namespaces | Functions | Variables
sip_to_pjsip.py File Reference

Go to the source code of this file.

Data Structures

class  Registration
 

Namespaces

namespace  sip_to_pjsip
 

Functions

def build_host (config, host, section='general', port_key=None)
 
def cli_options ()
 
def convert (sip, filename, non_mappings, include)
 
def create_tcp (sip, pjsip, nmapped)
 
def create_tls (sip, pjsip, nmapped)
 
def create_udp (sip, pjsip, nmapped)
 
def find_non_mapped (sections, nmapped)
 
def from_dtlsenable (key, val, section, pjsip, nmapped)
 
def from_encryption_taglen (key, val, section, pjsip, nmapped)
 
def from_host (key, val, section, pjsip, nmapped)
 
def from_mailbox (key, val, section, pjsip, nmapped)
 
def from_nat (key, val, section, pjsip, nmapped)
 
def from_progressinband (key, val, section, pjsip, nmapped)
 
def from_recordfeature (key, val, section, pjsip, nmapped)
 
def from_sendrpid (key, val, section, pjsip, nmapped)
 
def get_bind (sip, pjsip, protocol)
 
def ignore (key=None, val=None, section=None, pjsip=None, nmapped=None, type='endpoint')
 
def info (msg)
 
def map_auth (sip, pjsip, nmapped)
 
def map_peer (sip, section, pjsip, nmapped)
 
def map_registrations (sip, pjsip, nmapped)
 
def map_setvars (sip, section, pjsip, nmapped)
 
def map_system (sip, pjsip, nmapped)
 
def map_transports (sip, pjsip, nmapped)
 
def merge_codec_value (key=None, val=None, section=None, pjsip=None, nmapped=None, type='endpoint', section_to=None, key_to=None)
 
def merge_value (key=None, val=None, section=None, pjsip=None, nmapped=None, type='endpoint', section_to=None, key_to=None)
 
def non_mapped (nmapped)
 
def section_by_type (section, pjsip, type)
 some utility functions More...
 
def set_direct_media (key, val, section, pjsip, nmapped)
 
def set_dtmfmode (key, val, section, pjsip, nmapped)
 mapping functions - define f(key, val, section) where key/val are the key/value pair to write to given section in pjsip.conf More...
 
def set_media_encryption (key, val, section, pjsip, nmapped)
 
def set_record_off_feature (key, val, section, pjsip, nmapped)
 
def set_record_on_feature (key, val, section, pjsip, nmapped)
 
def set_timers (key, val, section, pjsip, nmapped)
 
def set_tls_cafile (val, pjsip, section, nmapped)
 
def set_tls_capath (val, pjsip, section, nmapped)
 
def set_tls_cert_file (val, pjsip, section, nmapped)
 
def set_tls_cipher (val, pjsip, section, nmapped)
 
def set_tls_private_key (val, pjsip, section, nmapped)
 
def set_tls_verifyclient (val, pjsip, section, nmapped)
 
def set_tls_verifyserver (val, pjsip, section, nmapped)
 
def set_transport_common (section, sip, pjsip, protocol, nmapped)
 
def set_value (key=None, val=None, section=None, pjsip=None, nmapped=None, type='endpoint')
 
def setup_auth (key, val, section, pjsip, nmapped)
 
def setup_ident (key, val, section, pjsip, nmapped)
 
def setup_udptl (section, pjsip, nmapped)
 
def split_hostport (addr)
 
def write_pjsip (filename, pjsip, non_mappings)
 

Variables

 non_mappings
 
list peer_map
 
 pjsip
 
 pjsip_filename
 
string PREFIX = 'pjsip_'
 
bool QUIET = False
 
 sip = astconfigparser.MultiOrderedConfigParser()
 
 sip_filename