This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IsValid determines if the rating plan covers a continous period of time | |
func (rp *RatingPlan) isContinous() bool { | |
weekdays := make([]int, 7) | |
for _, dr := range rp.DestinationRates { | |
var tmgs []*RITiming | |
for _, tmg := range dr { | |
tmgs = append(tmgs, rp.Timings[tmg.Timing]) | |
} | |
continuous := false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG: <core> [parser/msg_parser.c:600]: parse_msg(): SIP Request: | |
DEBUG: <core> [parser/msg_parser.c:602]: parse_msg(): method: <INVITE> | |
DEBUG: <core> [parser/msg_parser.c:604]: parse_msg(): uri: <sip:676216531@212.106.213.5:5060;user=phone;transport=udp> | |
DEBUG: <core> [parser/msg_parser.c:606]: parse_msg(): version: <SIP/2.0> | |
DEBUG: <core> [parser/parse_via.c:1254]: parse_via_param(): Found param type 232, <branch> = <z9hG4bK71b248a2>; state=16 | |
DEBUG: <core> [parser/parse_via.c:2642]: parse_via(): end of header reached, state=5 | |
DEBUG: <core> [parser/msg_parser.c:491]: parse_headers(): Via found, flags=2 | |
DEBUG: <core> [parser/msg_parser.c:493]: parse_headers(): this is the first via | |
DEBUG: <core> [parser/parse_addr_spec.c:172]: parse_to_param(): DEBUG: add_param: tag=gf2cfd0d-CC-50 | |
DEBUG: <core> [parser/parse_addr_spec.c:894]: parse_addr_spec(): end of header reached, state=29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG: <core> [receive.c:341]: receive_msg(): reply-route executed in: 741 usec | |
DEBUG: dialog [dlg_var.c:87]: cb_dlg_locals_reset(): resetting the local dialog shortcuts on script callback: 2147483652 | |
DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil) | |
DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil) | |
DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil) | |
DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil) | |
DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil) | |
DEBUG: <core> [usr_avp.c:631]: destroy_avp_list(): destroying list (nil) | |
DEBUG: <core> [xavp.c:446]: xavp_destroy_list(): destroying xavp list (nil) | |
DEBUG: <core> [receive.c:361]: receive_msg(): cleaning up |