Skip to content

Releases: emiago/sipgo

v0.10.0

13 Jun 22:11
Compare
Choose a tag to compare
  • 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

03 Jun 18:42
Compare
Choose a tag to compare

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

20 Mar 17:44
Compare
Choose a tag to compare

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 func tx.Err() . Similar like go context you can check last Error of transaction after it was terminated. This also removed blocking behavior in client handle #15
  • sip.NewHeader(name, value) is now added as better way to create generic type header and sip.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

25 Feb 00:02
Compare
Choose a tag to compare
  • #9 Checking line termination is CRLF . Thanks @yushimeng for contributing
  • #6 Adding register example with digest auth
  • Improved docs and small fixes

v0.7.1

30 Jan 23:55
Compare
Choose a tag to compare

v0.7.0

01 Jan 20:40
Compare
Choose a tag to compare

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

v0.6.0

21 Dec 20:36
Compare
Choose a tag to compare

Module path is fixed to emiago/sipgo
usage go get -u github.com/emiago/sipgo

v0.5.0

21 Dec 19:48
Compare
Choose a tag to compare

Adding websocket support.

v0.4.0

08 Oct 06:51
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  • Spliting client and server to make easier maintaining uac uas
  • Proxy is build with combination of client and server handle.
  • IN proxy case UserAgent structure must be shared with server and client handle

v0.3.0

28 Sep 20:18
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Dialog support (simple approach)
  • Improved docs