GithubHelp home page GithubHelp logo

sippulse / ipsla Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 2.0 107 KB

IP SLA is a project to control the SLA of VoIP circuits

License: GNU Lesser General Public License v2.1

Python 38.16% Shell 50.92% Perl 10.92%
python3 sip voip

ipsla's People

Contributors

flaviogoncalves avatar otoru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ipsla's Issues

Script error on SIP ALG DETECTED

Hello, I get an error when SIP ALG is detected and opensips server send a 500 ALG DETECTED return instead of 200 OK.

My prompt trace :

Traceback (most recent call last):
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37-32\Scripts\pysipctl-script.py", line 11, in
load_entry_point('PySIP==0.1.3', 'console_scripts', 'pysipctl')()
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 764, in call
return self.main(*args, **kwargs)
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37-32\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "C:\Users\Ben\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pysip-0.1.3-py3.7.egg\pysip\cli.py", line 127, in aug
_, title = result["title"].split('200')
ValueError: not enough values to unpack (expected 2, got 1)

Timeout on lost packet

Hello, I get many times a timeout but never any lost packet. I think there is problem. Have you got any idea where?

root@debiantest:/home/openip# pysipctl client rtp --host 94.143.87.170 --port 20000 --loops 30
[13/05/2019 16:43:02] - INFO - Application started in CLIENT mode.
[13/05/2019 16:43:02] - INFO - Performing RTP test.
Traceback (most recent call last):
File "/usr/local/bin/pysipctl", line 11, in
load_entry_point('PySIP==0.1.3', 'console_scripts', 'pysipctl')()
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/PySIP-0.1.3-py3.7.egg/pysip/cli.py", line 71, in rtp
status, durations = send_loop(client, size, loops)
File "/usr/local/lib/python3.7/site-packages/PySIP-0.1.3-py3.7.egg/pysip/utils.py", line 40, in send_loop
response = socket.recv(4096).decode('ASCII')
socket.timeout: timed out

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.