Releases: emiago/sipgo
Releases · emiago/sipgo
v0.10.0
- This is huge refactor on transport layer to remove client handle dependency on connection setup.
Now creating solo clients will not require running server listeners. - By default transports will be created once on transport layer setup
- UDP transport will create new connection (connected) if there is no UDP PacketConn (listener) created
- There is still problem reusing UDP connection for forwarding request out of subnet
- Bug with bad index on comma Via header parsing is fixed
- comma seperated values parsing are fixed for Route and Record-Route header
- Documentaion is updated
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
#17 Exported unhandled handler for customization. Using srv.OnNoRoute(handler RequestHandler)
all no routed SIP trafic can be handled custom, and detect some wrong behavior
#20 Headers like Via will not be anymore encoded neither parsed as csv value. All values will be formated as new headers in case SIP headers are received like this. There was no performance impact, actually it could improve further logic.
Full Changelog: v0.8.0...v0.9.0
v0.8.0
This release introduces some API changes:
sip.Message
interface is reduced to support only that is used by SIP. This interface has no use from outside but it is used internally- terminating transaction in unhandled handler made issue. Now this is refactored #12
<-tx.Error()
channel is now replaced with functx.Err()
. Similar like gocontext
you can check last Error of transaction after it was terminated. This also removed blocking behavior in client handle #15sip.NewHeader(name, value)
is now added as better way to create generic type header andsip.GenericHeader
is now hidden to avoid usage- sip Parser interface is redesigned to use more exact
ParseSIP
func. Parser is refactored and added docs #18 parser.Parser
can now be customized with custom headers parsing. Parser now accepts optional parameter. Check parser package docs for more.DefaultHeadersParser
is added as default header parsing used by SIP package. This now allows custom header parsing. #18
Full Changelog: v0.7.2...v0.8.0
v0.7.2
v0.7.1
- Fixes GenerateBranch bad performance.
- Client handle adds request headers if missing. Based on https://www.rfc-editor.org/rfc/rfc3261#section-8.1.1
v0.7.0
Adding TLS support.
There are API changes for server:
- Instead srv.Listen() + srv.Serve() this is now merged into single function srv.ListenAndServe() that needs explicit call (Similar like http package)
- For TLS srv.ListenAndServeTLS() is added.
For now simple TLS call is tested