Commit Graph

763 Commits (26bf6ec55296716848093230c01c2fce4e89391f)

Author SHA1 Message Date
Andreas Granig df521832b8 Add more prosody grants on provisioning tables.
12 years ago
Andreas Granig ceb643359f Add xmpp entries to xml hosts.
12 years ago
Andreas Granig 52bd178a01 Make db creation more graceful.
12 years ago
Jon Bonilla c74f676084 Increase location.contact length to 1024
12 years ago
Andreas Granig 9771ab541a Add index to billing fees.
12 years ago
Andreas Granig 11603d4189 Fix grants.
12 years ago
Andreas Granig 27164fe332 Add prosody DB.
12 years ago
Andreas Granig f241d4e8b3 Use correct db for scripts.
12 years ago
Andreas Granig cc9fbe19fd Add missing reseller_id to sounds and rw-rules.
12 years ago
Andreas Granig b9586047e7 Make ringtimeout internal and flag preferences.
12 years ago
Andreas Granig a2332429ce Move reseller_id to contact.
12 years ago
Andreas Granig e61699d8a5 Changed cc_delivery_port to unsigned.
12 years ago
Andreas Granig ce582dee07 Fix wrong avpf/avp value in rtcp_feedback pref.
12 years ago
Andreas Granig 7dfbe63498 Add prefs for srtp and rtcp feedback handling.
12 years ago
Andreas Granig 55fbcb3469 Add uuid to carrier.subscribers table.
12 years ago
Andreas Granig faa82cd9a4 Add captagent fields to voip_intercept table.
12 years ago
Andreas Granig 9eb70cf81c Add dummy contact to all contracts not having one.
12 years ago
Andrew Pogrebennyk 9cb49d0fc0 fix syntax error "Table 'provisioning.voip_preference_groups' doesn\'t exist"
12 years ago
Andrew Pogrebennyk 0c93677a6c add missing semicolon
12 years ago
Andrew Pogrebennyk 7d00b50970 rephrase option description
12 years ago
Andrew Pogrebennyk 29e0b80d27 add mobile_push_expiry usr/dom preference
12 years ago
Andrew Pogrebennyk a0cc764658 add forgotten db up files for cloud_pbx preference
12 years ago
Andrew Pogrebennyk bb31f590e3 add db update script for sound group "mobile_push" and connecting voice prompt
12 years ago
Victor Seva 5e0bf74f2f Merge changes from branch 3.0. Remove branch
12 years ago
Andrew Pogrebennyk 1dd06d505f add dispatcher entry for pbx.
12 years ago
Andreas Granig 4793966417 Disable fk-checks during truncate.
12 years ago
Richard Fuchs 504e8d2bb4 use a pseudo "add index if not exists" statement
12 years ago
Andrew Pogrebennyk 2a413cddf2 add sound handles for auto-attendant
12 years ago
Andreas Granig 8db12175be Assign any unknown preferences to Internals.
12 years ago
Andreas Granig fcc5b98cf5 Add group table for voip preferences.
12 years ago
Richard Fuchs 530faa5bd9 db scripts for billing.billing_fees_history.bfhsems_idx - thx Kirill
12 years ago
Andreas Granig 3c9b136af9 Fix handling patterns which already start with "^sip:".
12 years ago
Andrew Pogrebennyk f49c6715da also cleanup the obsolete (peer|dom|usr)_preferences
12 years ago
Andreas Granig 254ad09776 Migrate existing peering rules to full URI.
12 years ago
Andrew Pogrebennyk 83a4d49846 move 13447.up to the proper place
12 years ago
Andreas Granig 329a188395 Add allow_out_foreign_domain preference.
12 years ago
Andreas Granig 84292f34e7 Explicitely USE billing db.
12 years ago
Andreas Granig 2605ee1533 Fix replication issue.
12 years ago
Andreas Granig 3bcec0a6d8 Alter permissions for exporter user.
12 years ago
Andreas Granig 82ce223f15 Use export fields for marker.
12 years ago
Andreas Granig 22645965ca Stupid mysql doesn't allow empty string as pattern.
12 years ago
Andrew Pogrebennyk 704b7bd768 change column name billing_zone_history_id to correct billing_zones_history_id
12 years ago
Andreas Granig 5673c386ce Add source column for billing fees.
12 years ago
Andreas Granig f1d12651fc Fix diff scripts.
12 years ago
Andreas Granig cbf99b3c41 Correctly populate billing_fee_history table.
12 years ago
Andreas Granig b585cdf12f Split fee-related columns into source and destination.
12 years ago
Andreas Granig c069ddab93 Add language strings for fee direction and fix key.
12 years ago
Andreas Granig 1dbe5466a8 Add keys for proper access.
12 years ago
Andreas Granig 13b58789c4 Another fix for inbound billing.
12 years ago
Andreas Granig 7c3e157fb9 Add inbound billing profile to contract-billing mapping.
12 years ago
Andreas Granig 57ee94f939 Revert r13198 as this was stupid.
12 years ago
Andreas Granig 29e8b8de10 Add inbound peering contract id to peer groups.
12 years ago
Andreas Granig 2de7b6a301 Also delete kamailio.trusted if voip_subscriber is deleted.
12 years ago
Andrew Pogrebennyk bcf8e0f13a make outbound_socket a peer-only preference; cleanup preference values
12 years ago
Andrew Pogrebennyk 9af45e6098 rename script to avoid naming conflict
12 years ago
Andreas Granig fd55dd3273 Add schema for account-specific fraud preferences.
12 years ago
Andrew Pogrebennyk 0b3cae1a97 write useful comments
12 years ago
Andrew Pogrebennyk 7c8ca3ae1d add db-up script for migration and cleanup of legacy rtpproxy settings
12 years ago
Andreas Granig 27e98c883d Add trigger to accounting.cdr.start_time.
12 years ago
Andrew Pogrebennyk d741f90df9 add ICE preferences and wrap it all into an enum; make ipv4/ipv6 prefs an enum
12 years ago
Andreas Granig 750d2d3763 Add webfax language strings.
12 years ago
Roman Dieser bc06ec5c08 remove Server.System.RRDFoldersSearch, Server.System.RRDSubfoldersSearch and Server.System.RRDFilesSearch
12 years ago
Andreas Granig f568c34128 Add sound groups.
12 years ago
Roman Dieser f839c81c2f update in order to handle Server.System.RRDFilesSearch error
12 years ago
Roman Dieser 0add9f65f1 Server.System.RRDSubfoldersSearch error down script
12 years ago
Roman Dieser e7da6680d4 Server.System.RRDSubfoldersSearch error up script
12 years ago
Roman Dieser 6748d362e9 delete error message Serever.System.RRDFoldersSearch
12 years ago
Roman Dieser 2337be6a4d create error message Serever.System.RRDFoldersSearch
12 years ago
Andreas Granig d59c056b42 Fix typo and improve phrasing.
12 years ago
Andrew Pogrebennyk 4b06c247e6 this makes mysql really replicate the table
13 years ago
Daniel Tiefnig 3d170f4e07 add daily fraud limit columns
13 years ago
Kirill Solomko e47f7b8a67 removed "IDENTIFIED BY" from grants_*.up db_scripts
13 years ago
Michael Prokop a08c3039e9 further translation fixes and add missing '”' char to Client.Syntax.InvalidSipUsernamePattern
13 years ago
Michael Prokop 605e213f1e fix broken quoting in italian translation
13 years ago
Jon Bonilla 72e21cd3b7 Add italian translation strings
13 years ago
Andrew Pogrebennyk e8d1379a09 add missed prompt for callingcard
13 years ago
Jon Bonilla 6bd40ff451 update Spanish translation
13 years ago
Richard Fuchs f0cc0a0246 use a different calculation to determine initial partition
13 years ago
Richard Fuchs fb058c4685 try this ugly hack to fix the timestamps
13 years ago
Richard Fuchs 1d99fd5f53 more fixing of timestamps
13 years ago
Richard Fuchs 23c9f8cd9b more fixing of timestamps
13 years ago
Richard Fuchs b040890661 fix typo
13 years ago
Richard Fuchs f22ddf47ee fix modify_timestamp to 1970 for voip_preferences in various places - WIP
13 years ago
Andrew Pogrebennyk 9348ffe64e make sure to update all 4 ncos preferences (mantis:2047)
13 years ago
Andrew Pogrebennyk 715120a61f mark [adm_]ncos_id preferences as dom_pref too (mantis:2041)
13 years ago
Andrew Pogrebennyk e011ca6064 make allowed_ips_grp preference hidden
13 years ago
Andrew Pogrebennyk 292ea77873 add voip_sound_handles for calling card
13 years ago
Andreas Granig 07b15452c0 Add foreign key constraint for uuid.
13 years ago
Andreas Granig 354a8b84c6 Add calling-card/call-thru tables.
13 years ago
Andreas Granig 57e5383702 Add new CDR rows in one go.
13 years ago
Andreas Granig 0d87e0aba9 Add privileges for sems_prepaid user.
13 years ago
Andreas Granig a28e873252 Add ip_header preference.
13 years ago
Andreas Granig f92e52bd43 Add source_ip field to cdr table.
13 years ago
Richard Fuchs 2cc0d141f6 change sipstats partitioning
13 years ago
Richard Fuchs 86a5176d8f repartition sipstats.statistics
13 years ago
Richard Fuchs da7d06572a convert voisniff tables to innodb
13 years ago
Andrew Pogrebennyk bd065fc56c DB rev script for no_sipping preference
13 years ago
Richard Fuchs e5f1dc4254 up/down scripts for adding mobile_push_registrations table
13 years ago
Andreas Granig f54659c2a9 Add grants for carrier-db.
13 years ago
Christian Veigl 7f4b3bb9dd change (man_)allowed_ips preferences to usr-only preferences
13 years ago
Christian Veigl 9603a6aa99 add preferences for (man_)allowed_ips to reanable this feature
13 years ago
Richard Fuchs b42cc3d26b change sipstats db charset to latin1
13 years ago
Christian Veigl f3e294bb34 add attribute faxnumber to billing.contacts
13 years ago
Andrew Pogrebennyk abee18ef3c schema changes for Diversion & forwarding CLI configuration
13 years ago
Christian Veigl eb411a38fb fix broken triggers (discovered by dtiefnig; see mantis:2123 and mantis:2121)
13 years ago
Michael Prokop dfde6222d5 Use '0' instead of now() for timestamps
13 years ago
Christian Veigl bfbd36c4e0 fix language string "Client.Syntax.InvalidSipUsernamePattern"
13 years ago
Christian Veigl 0d181be7c5 add translations for "Client.Voip.NoSuchSubscriber" (mantis:2035)
13 years ago
Richard Fuchs f57d33b1c2 add timestamp column to prepaid_costs table
13 years ago
Jon Bonilla a2bbf02c6b Set transport to 1 where NULL
13 years ago
Jon Bonilla 4dbfff5cd1 Finally remove ossbss peer_rules duplicates too
13 years ago
Jon Bonilla 23758c034f Drop duplicate rules for the same group
13 years ago
Jon Bonilla ce17942f50 fix hostname field in query
13 years ago
Jon Bonilla 1f53f7c457 Full sync provisioning and lcr tables
13 years ago
Jon Bonilla fef13ad29c Fix unsynced prov-kam databases for gws
13 years ago
Jon Bonilla 9dde866355 fix sql. thx rfuchs
13 years ago
Jon Bonilla f46c6b93b1 typo fix
13 years ago
Jon Bonilla 76798cc3ea Sync provisioning and kamailio lcr rules sync
13 years ago
Jon Bonilla a148787aa2 Set provisioning.callee_patter default ''
13 years ago
Jon Bonilla 20816f3305 Try to fix kamailio.lcr_gw.group_id
13 years ago
Jon Bonilla cd76e18027 Try to fix the lcr_rule key issue #1967
13 years ago
Andrew Pogrebennyk 0b91d7b82a make key on expires non-unique
13 years ago
Christian Veigl 93639737aa add language string "Client.Voip.DuplicatePeeringRule"
13 years ago
Christian Veigl ab1c4e7865 add error codes for invalid filetype (mantis:1935)
13 years ago
Andrew Pogrebennyk 5da8462767 install correct version of voip_phost_crepl_trig trigger
13 years ago
Christian Veigl 3ce091172d the "+" was optional for cli-preferences. update data therefore with or without it
13 years ago
Christian Veigl dd79e33fa7 add a couple of language strings
13 years ago
Christian Veigl ab1dabecfb make provisioning.voip_subscribers.webusername unique (see mantis:1913)
13 years ago
Andreas Granig 6ab376186b Add preferences for limiting calls per account.
13 years ago
Christian Veigl 8c25f9765e necessary db-updates according to r10287 (see also: mantis:473)
13 years ago
Andrew Pogrebennyk eb2ca55cf8 add "no_credit" sound handle
13 years ago
Andrew Pogrebennyk b9030da627 add missing downgrade script
13 years ago
Andrew Pogrebennyk 2b60e5d115 db rev script for extension_in_npn preference
13 years ago
Andrew Pogrebennyk 3920df4974 update revision number
13 years ago
Andrew Pogrebennyk 00c0f5c03e increase length of rewrite rule regexp fields
13 years ago
Andrew Pogrebennyk ac87d0f948 somewhat tune up the cli related preferences
13 years ago
Andrew Pogrebennyk 1c5dc3596c return column lcr_gw.group_id, update key on lcr_rule to include request_uri
13 years ago
Andrew Pogrebennyk e6a212c40f keep lcr_gw.group_id column for now..
13 years ago
Andrew Pogrebennyk 2cc51b67cc default value of address.grp in 3.1 was '0' (testing rocks)
13 years ago
Andrew Pogrebennyk bdbb74293c add missing kamailio 3.3->3.1 downgrade script
13 years ago
Andrew Pogrebennyk 954a1e38f0 fix some discrepancies with vanilla kamailio 3.3 schema
13 years ago
Christian Veigl dbdacc3541 add entries in xmlhostgroups and xmlhosts for Loadbalancer
13 years ago
Andrew Pogrebennyk 986c2cf507 fix sql error
13 years ago
Andrew Pogrebennyk 4736c8dbf4 add downgrade script for r9723, some corrections
13 years ago
Richard Fuchs ece9035188 collectd plugin uses nagios user for db access, so grant select to sipstats.*
13 years ago
Andrew Pogrebennyk 8a2d475740 add "Use domain default" option to outbound CLI settings
13 years ago
Richard Fuchs bd5a4a85ed also repartition message_packets table. partitioning format hasn't changed, but the names have
13 years ago
Richard Fuchs 3f2d4e20eb changed sipstats partitioning scheme
13 years ago
Andrew Pogrebennyk 9e5edf4f08 fix syntax
13 years ago
Andrew Pogrebennyk 0dbbcf532b add mobile_push_enable preference
13 years ago
Richard Fuchs 94dfe4fb8a rev scripts to partition message_packets table
13 years ago
Richard Fuchs 9d33796b47 sanitize sipstats.mark table
13 years ago
Richard Fuchs 5606c7fe08 those are actually not replicated
13 years ago
Richard Fuchs eaaaa5a9f2 rev scripts for new voisniff db schema
13 years ago
Michael Prokop 2e64dabdd3 Do not drop voip_vscs if it doesn't exist
13 years ago
Christian Veigl 3bad553c88 drop unused tables voip_vscs and voip_audio_files
13 years ago
Andreas Granig 7a85de36b3 Add preferences for driving outbound caller CLI.
13 years ago
Andreas Granig f9037be641 Add preferences for inbound NPN/UPN selection.
13 years ago
Andrew Pogrebennyk 2fac612f24 avoid "r" in the beginning of file names (otherwise 0 is inserted into db)
13 years ago
Andreas Granig 2d02fdcd30 Add up/down scripts for outbound_socket pref.
13 years ago
Andreas Granig d29fd9e3b1 Delete old entries from version before adding new ones.
13 years ago
Christian Veigl a5518580fa fix broken trigger
13 years ago
Andreas Granig 189a3acb60 Use latin1 for now to work-around 1000byte key limit
13 years ago
Andreas Granig 98f37ebad6 Rename attribute to make new behavior more clear.
13 years ago
Andreas Granig b82cae0150 Add emergency_cli preference.
13 years ago
Andreas Granig c2041b5409 Add preference and sound handle for rejecting em calls.
13 years ago
Andrew Pogrebennyk 06fd48f1c9 more presence table with indexes that don't fix in 1000 bytes (utf8 issue)
13 years ago
Andrew Pogrebennyk 2faa68ea69 fix engine & encoding for presence tables - WIP
13 years ago
Andrew Pogrebennyk bc491373e9 update kamailio database for version 3.3
13 years ago
Andreas Granig 75656b8a34 Add music_on_hold handle.
13 years ago
Andreas Granig bc2a7d42bc Add codec column for music-on-hold.
13 years ago
Andreas Granig f187b5b5ca Add sound handles for rest of rejection cases.
13 years ago
Andreas Granig fa548d69d9 Add announcement handles for block-in/out/ncos.
13 years ago
Christian Veigl 62659c9786 add support for loopplay flag of soundfile handle
13 years ago
Andrew Pogrebennyk 9f077e342a add transport protocol select to peers (db rev scripts)
13 years ago
Andrew Pogrebennyk a08f1aaf91 set "no" as default for sst_enable in dom/peer; add default method too
13 years ago
Christian Veigl 7be25f35e4 add attribute "description" to sound sets
13 years ago
Andreas Granig 9669713a00 Grant select privs for kamailio to new sound tables.
13 years ago
Christian Veigl cb890e59ee enable default enum-option; propagate changes in voip_preferences_enum.value (mantis:841)
13 years ago
Christian Veigl 2899f7938c revert accidental commit
13 years ago
Christian Veigl df7cc1f499 oss/bss support for sound sets
13 years ago
Christian Veigl 717e765c47 languagstrings for r8997
13 years ago
Christian Veigl b3004b8d17 simplify up/down scripts (cudos to See also
13 years ago
Christian Veigl 82ebf9307a comment out examples
13 years ago
Andrew Pogrebennyk b0a2e01b9b update sst preferences to the latest schema
13 years ago
Christian Veigl 8ed6aa4d7c add example enum-preference
13 years ago
Christian Veigl 27ff6ce525 enhanced enum type
13 years ago
Andreas Granig 031054e783 Add presence tables.
13 years ago
Daniel Tiefnig 9dff9306e1 add index for rate-o-mat on cdr.rating_status column
13 years ago
Andrew Pogrebennyk 78a0dd8039 make sst_enable preference an enum
13 years ago
Andrew Pogrebennyk 65210ff554 add missing db specification
13 years ago
Andrew Pogrebennyk 07f46c965c sst_refresh_method is not integer, so type=0
13 years ago
Andrew Pogrebennyk cd71dcce75 add db rev scripts for session timer preferences
13 years ago
Christian Veigl 0517f0015a typo. mysql demands a whitespace after starting a comment "-- "
13 years ago
Christian Veigl bab460899a up/down scripts for matnis:841
13 years ago
Andreas Granig 2a4a6d4b70 Make r-uri and empty string by default
13 years ago
Andreas Granig 3392003d50 Rename caller prefix to caller pattern and add callee pattern.
13 years ago
Andreas Granig bc470ee2c8 Align kamailio.lcr_rule.request_uri length to from_uri length.
13 years ago
Andreas Granig a29ef58e0d Add pattern column for r-uri matching.
13 years ago
Christian Veigl c11ff5bea8 allow empty sip-uri (mantis:797)
13 years ago
Daniel Tiefnig 3c99faea2f replace emerg_ac by emergency_prefix, add emergency_suffix, drop svc_ac
13 years ago
Andreas Granig 87023a41a2 Add statistics table.
13 years ago
Andrew Pogrebennyk 31c5b5bd54 fixes to latest commit
13 years ago
Andrew Pogrebennyk 6cfd0aa90a add db rev scripts for kamailio dialog db backend
13 years ago
Andrew Pogrebennyk fddef8f504 add db rev scripts for 2.6 release (moved from ossbss)
13 years ago
Andrew Pogrebennyk c6dece8f00 make fraud_interval_lock column NULL-able (sync to ossbss r8220)
13 years ago
Andrew Pogrebennyk 1a4597766c that should be all for separating replicated and not replicated rev scripts
13 years ago
Michael Prokop 905dde658f Renames for not-replicated stuff
13 years ago
Michael Prokop 3e5bb9c8c9 Drop 7931 + 7938 rev scripts
13 years ago
Michael Prokop bc5df3b0fc diff/7764.up: make sure cascade is active
13 years ago
Michael Prokop 26dba5e432 Drop db_scripts/diff/8000_adjust_billing_db.up
13 years ago
Michael Prokop 520dfca2a1 sync db_scripts/diff/7991.up with ./ossbss/trunk/db/rev/7991.up
13 years ago
Michael Prokop 30ceca8ca7 Initial db-schema package
13 years ago