pyVoIP
pyVoIP copied to clipboard
Pure python VoIP/SIP/RTP library. Currently supports PCMA, PCMU, and telephone-event
@tayler6000 thank you for trusting in me and giving me access to your project. I maybe my goals and your goals are same. In my fork I've done some changes...
In the class SIPClient in the init methode is self.NSD = False and self.tagLibrary = {'register': self.gen_tag()}. In the gen_tag methode is ``` def gen_tag(self) -> str: while self.NSD: rand...
The ToDo comment in the function gen_ms(self) is wrong. The function itself is okay. ``` def gen_ms(self) -> Dict[int, Dict[int, RTP.PayloadType]]: """ Generate m SDP attribute for answering originally and...
Similar to assignedports issue reported; there is no removal. For the session_id, will suggest you to use time.time() but this is a float; for the time being, could just use...
After seeing some of the programming style of @Input-BDF, I thought it would be a good idea to set a solid standard for function/method naming conventions. [The documentation](https://pyvoip.readthedocs.io/en/v1.5.1/) states the...
BYE Message should be target caller directly not server. Example but unclean implementation on [SIP.bye()](https://github.com/tayler6000/pyVoIP/blob/8c19de7e667aa7c4c34dfc1def658bbfbc09860c/pyVoIP/SIP.py#L941) to mitigate issue ``` def bye(self, request): target = None #assuming this only comes out...
While doing some debugging, I accidentally misconfigured my PBX. In this example, my PBX knew the account that was trying to be registered existed, however it did not know the...
``` pyVoIP.SIP.error.SIPParseError: Regex failed to match To/From. Please open a GitHub Issue at https://www.github.com/tayler6000/pyVoIP and include the following: data='sip:**[email protected]' type(match)= ``` I'm going to paste the full debug output as...
tested with 3cx
Hey , trying to get call state in "real time" but is not work my example code ``` def answer(call): try: print("call state is ", call.state) while True: if call.state...