Пример #1
0
 def __init__(self, body = None, address = None):
     if body == '*':
         SipGenericHF.__init__(self, body)
         self.asterisk = True
         return
     SipAddressHF.__init__(self, body, address)
     if body == None and address == None:
         self.address = SipAddress(name = 'Anonymous', url = SipURL(host = SipConf.my_address, port = SipConf.my_port))
Пример #2
0
 def __init__(self, body=None, address=None):
     if body == '*':
         SipGenericHF.__init__(self, body)
         self.asterisk = True
         return
     SipAddressHF.__init__(self, body, address)
     if body == None and address == None:
         self.address = SipAddress(name='Anonymous',
                                   url=SipURL(host=SipConf.my_address,
                                              port=SipConf.my_port))
Пример #3
0
 def __init__(self, body = None, address = None):
     SipAddressHF.__init__(self, body, address)
     if body == None and address == None:
         self.address = SipAddress(name = 'Anonymous', url = SipURL(host = SipConf.my_address, port = SipConf.my_port))
Пример #4
0
 def __init__(self, body = None, address = None):
     if body == '*':
         raise ESipHeaderIgnore()
     SipAddressHF.__init__(self, body, address)
     if body == None and address == None:
         self.address = SipAddress(name = 'Anonymous', url = SipURL(host = SipConf.my_address, port = SipConf.my_port))
Пример #5
0
 def __init__(self, body=None, address=None):
     SipAddressHF.__init__(self, body, address)
     if body == None and address == None:
         self.address = SipAddress(name='Anonymous',
                                   url=SipURL(host=SipConf.my_address,
                                              port=SipConf.my_port))
Пример #6
0
 def parse(self):
     if not self.asterisk:
         return SipAddressHF.parse(self)
Пример #7
0
 def parse(self):
     if not self.asterisk:
         return SipAddressHF.parse(self)
Пример #8
0
 def __init__(self, body = None, address = None):
     if body == '*':
         raise ESipHeaderIgnore()
     SipAddressHF.__init__(self, body, address)
     if body == None and address == None:
         self.address = SipAddress(name = 'Anonymous', url = SipURL(host = SipConf.my_address, port = SipConf.my_port))