Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go-b2bua bump and logrotate fixes #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions distribution/debian/etc/logrotate.d/voiceip-b2bua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/var/log/voiceip-b2bua.log /var/log/voiceip-b2bua-sip.log {
daily
rotate 7
minsize 100M
missingok
compress
delaycompress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=VoiceIP B2BUA

[Service]
EnvironmentFile=/etc/default/voiceip-b2bua
ExecStart=/bin/sh -c '/usr/local/bin/voiceip-b2bua -p $LISTEN_PORT -n $DESTINATION -l $LISTEN_IP -L /var/log/voiceip-b2bua-sip.log 2>&1 > /var/log/voiceip-b2bua.log'
ExecStart=/usr/local/bin/voiceip-b2bua -p $LISTEN_PORT -n $DESTINATION -l $LISTEN_IP -L /var/log/voiceip-b2bua-sip.log
Type=simple
User=root
Restart=on-failure
Expand Down
2 changes: 1 addition & 1 deletion lib/go-b2bua
Submodule go-b2bua updated 66 files
+3 −3 GNUmakefile
+1 −1 b2bua_radius/GNUmakefile
+7 −5 b2bua_radius/call_controller.go
+14 −1 b2bua_radius/call_map.go
+1 −1 examples/call_transfer/GNUmakefile
+1 −1 examples/call_transfer/call_controller.go
+5 −1 examples/call_transfer/main.go
+9 −0 examples/rfc8760/GNUmakefile
+125 −0 examples/rfc8760/call_controller.go
+108 −0 examples/rfc8760/call_map.go
+153 −0 examples/rfc8760/main.go
+50 −0 examples/rfc8760/myconfig.go
+9 −0 examples/stir_shaken/GNUmakefile
+147 −0 examples/stir_shaken/call_controller.go
+110 −0 examples/stir_shaken/call_map.go
+163 −0 examples/stir_shaken/main.go
+52 −0 examples/stir_shaken/myconfig.go
+125 −0 examples/stir_shaken/sshaken.go
+5 −1 main.go
+27 −21 src/sippy/cc_events.go
+13 −4 src/sippy/client_transaction.go
+5 −0 src/sippy/headers/interfaces.go
+100 −27 src/sippy/headers/sip_authorization.go
+5 −1 src/sippy/headers/sip_contact.go
+94 −0 src/sippy/headers/sip_date.go
+7 −0 src/sippy/headers/sip_h323_conf_id.go
+1 −0 src/sippy/headers/sip_proxy_authenticate.go
+10 −2 src/sippy/headers/sip_proxy_authorization.go
+23 −11 src/sippy/headers/sip_url.go
+91 −12 src/sippy/headers/sip_www_authenticate.go
+9 −17 src/sippy/keepalive_controller.go
+8 −0 src/sippy/local4remote.go
+2 −2 src/sippy/redirect_controller.go
+62 −0 src/sippy/security/algorithm.go
+130 −0 src/sippy/security/hash_oracle.go
+54 −0 src/sippy/security/hash_oracle_test.go
+11 −5 src/sippy/server_transaction.go
+1 −0 src/sippy/sip_header.go
+30 −8 src/sippy/sip_msg.go
+16 −11 src/sippy/sip_request.go
+11 −0 src/sippy/sip_response.go
+4 −0 src/sippy/sip_transaction_manager.go
+127 −0 src/sippy/stir_shaken/authenticate.go
+37 −0 src/sippy/stir_shaken/constants.go
+119 −0 src/sippy/stir_shaken/passport.go
+106 −0 src/sippy/stir_shaken/stir_shaken_test.go
+249 −0 src/sippy/stir_shaken/verify.go
+14 −0 src/sippy/time/monotime.go
+1 −0 src/sippy/types/enums.go
+24 −11 src/sippy/types/interfaces.go
+183 −69 src/sippy/ua.go
+11 −31 src/sippy/ua_state_connected.go
+2 −2 src/sippy/ua_state_generic.go
+2 −2 src/sippy/uac_state_cancelling.go
+11 −5 src/sippy/uac_state_idle.go
+4 −4 src/sippy/uac_state_ringing.go
+14 −8 src/sippy/uac_state_trying.go
+5 −4 src/sippy/uac_state_updating.go
+13 −20 src/sippy/uas_state_idle.go
+197 −0 src/sippy/uas_state_preconnect.go
+4 −4 src/sippy/uas_state_ringing.go
+18 −3 src/sippy/uas_state_ringing_rel.go
+4 −4 src/sippy/uas_state_trying.go
+13 −12 src/sippy/uas_state_updating.go
+3 −0 src/sippy/udp_server.go
+41 −0 src/sippy/utils/base64.go
Empty file modified release.sh
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions sbc/call_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"sync"

"sippy"
"sippy/types"
sippy_types "sippy/types"
)

type CallController struct {
Expand Down Expand Up @@ -127,7 +127,7 @@ func (self *CallController) RecvEvent(event sippy_types.CCEvent, ua sippy_types.

//cId := sippy_header.GenerateSipCallId(self.cmap.config)
cld := redirectUrl.GetUrl().Username
ev_try := sippy.NewCCEventTry(self.evTry.GetSipCallId(), self.evTry.GetSipCiscoGUID(),
ev_try, _ := sippy.NewCCEventTry(self.evTry.GetSipCallId(),
self.evTry.GetCLI(), cld, nil /*body*/, nil /*auth*/, self.evTry.GetCallerName(),
ev_disc.GetRtime(), self.evTry.GetOrigin())

Expand Down