Comments (6)
Hi @ssinyagin !
Thanks for reporting :)
I was only considering 486 and 603 response codes as REJECTED, but I think all Client (4XX), Server (5XX) and Global (6XX) failures should be displayed as REJECTED too.
If a new INVITE request is sent after a failure, call status will be again in CALL SETUP, so dialog can change from REJECT to CALL SETUP after a failure response code.
For example:
INVITE -> CALL SETUP
404 Unauthorized -> REJECTED
ACK
INVITE -> CALL SETUP
100 Trying
180 Ringing
200 OK -> IN CALL
ACK
BYE -> COMPLETED
ACK
from sngrep.
yes, that one in my tests was a call without authentication. Actually 404 is a special and frequently-used case, so maybe a special display string is even better, like AUTHREQ
thanks for the great tool, by the way :)
from sngrep.
Actually this feature is inspired in wireshark VoIP Calls dialog, where only following states are considered:
CALL SETUP
RINGING
IN CALL
CANCELLED
COMPLETED
REJECTED
UNKNOWN
Creating more states will be nice for feedback, but some states will last only milliseconds.
In Authentication responses (404, 407,..), most probably a new INVITE request with authentication will be sent right away so AUTHREQ won't be shown to our human eyes.
Glad to know this tools helps!!
from sngrep.
I saw the link in freeswitch-user mailing list, and I posted it to G+ :)
actually in case of unsuccessful authentication, the corresponding status indication will be nice
from sngrep.
the fix worked fine, we can close this ticket
from sngrep.
Nice!
If while using sngrep you actually feel the need that the new state for Authentication is actually required, feel free to open a new issue :)
Thanks again!
from sngrep.
Related Issues (20)
- sngrep option -r is not documented in the man page HOT 1
- Match Expression Doesn't Work on Latest Version HOT 7
- tcpdump command corresponding to "sngrep - c" HOT 1
- Pressing the ESC key doesn't return to the Call List but exits HOT 2
- Please provide pre-compiled binaries (with embedded libraries) HOT 5
- Adding 64-bit ARM to packages HOT 4
- Steps for PgUp/PgDown 4 - Other values show no effect
- sngrep should not use SIGHUP for dump file rotation HOT 13
- ipv6 support HOT 1
- Starting sngrep with -F doesn't work HOT 2
- enhancement Identity Header HOT 1
- sngrep1.6.0 Display disorder HOT 4
- SNGREP to capture SIP packets based on file size
- Problems with Multiple SIP Packets in a TCP Stream HOT 1
- Display filter search stops working after a while (cannot type or delete multiple characters) HOT 1
- Ctrl-z (suspend) terminates sngrep HOT 1
- PgUp / PgDn steps not updating HOT 1
- HEP server not working properly HOT 6
- sngrep process still work in background in case i close ssh console. HOT 1
- Question on WSS support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sngrep.