Andrew Pogrebennyk
f336bea395
MT#13007 MT#13251 fix MoH reload
...
Change-Id: I54a2ad13142de0d283126a69289d49651fd293fa
10 years ago
Gerhard Jungwirth
c9380e61dd
MT#12985 prevent ambiguity in rwr replace pattern
...
see http://perldoc.perl.org/perlre.html#Warning-on-\1-Instead-of-$1
Change-Id: I36dfa6cda570a4aef7da6ccc19e1d296c16f00c2
10 years ago
Gerhard Jungwirth
b19079dd51
MT#12757 regard VAT in calllists
...
Change-Id: I1c9bb1c3ede8feb461bafe87f96b1618ad6f81c6
10 years ago
Gerhard Jungwirth
e837311b76
MT#14391 Fix editing aliases without primary number
...
Change-Id: I7d36d3776d11b1f869a3cada11c664aa120237c2
10 years ago
Rene Krenn
c7b3d74a21
MT#14317 passing now() to interval catchup and resize
...
formerly, the contract_balance catchup (and resize) procedures
used contracts.modified_timestamp, whose value was intended to
be set explicitly upon update operations.
it turns out that mysql ON UPDATE current_timestamp columns
effectively ignore the explicit timestamp value, unless it
exactly matches the old timestamp value.
while this is not an issue for the logic in production usage,
this seems to be the reason why the api-balance_intervals.t test
fails occassionally with its time-warp cases.
Change-Id: I504dd98548b88c99079e071598806d884c4422eb
10 years ago
Irina Peshinskaya
0512e767b9
MT#14653 Add required field billing_profile_id to billing zone api
...
And to billing fees;
And also go through uniquizer for the billing_plan cloning
Change-Id: Ia53519f28970c4c717fd011f119143a6323235e5
10 years ago
Rene Krenn
ff75e75138
MT#14317 add debug info of panel interval catchups
...
Change-Id: I1d37ec624c6642f54187ba463cf1121df4eb19a4
10 years ago
Rene Krenn
5a182d037a
MT#14631 topupcash didn't process package id
...
Change-Id: Ic425f747b220d3614ce37145c103206a5c37667b
10 years ago
Irina Peshinskaya
0e1d80c15f
MT#14559 Trigger db_reg_agent.removeRegistration on subscriber termination
...
Change-Id: I7ba4e467d9f9a96890eeb5eeb4a6de392e1f4447
10 years ago
Irina Peshinskaya
250498ebe1
MT#8457 Billing profiles duplication.
...
Used working but extremely ugly SQL::Abstract variant
For review.
Change-Id: Id0e2ec6ab5fbbe8cbd791673d1dd8f2efd9e03ba
10 years ago
Kirill Solomko
4f1163949f
MT#14445 - fix billing fees csv upload. set default encoding for csv to "utf8"
...
Change-Id: I2398eafcbc3af59ce0e7c84228cd7a67314b3cee
10 years ago
Gerhard Jungwirth
3d5a06e01b
MT#14365 only dispatch to sems-pbx when pbx is enabled
...
Change-Id: I4eef6da49da5f5b0b49619239f55ca671467e52b
10 years ago
Gerhard Jungwirth
4fecd3d2bb
MT#14391 Correctly select alias nums on subscriber edit
...
previously all primary numbers have been filtered out.
This is wrong, if the number has been the primary number
of a previous (terminated) subscriber.
Change-Id: Iebbd96898715d86bfd10ac6d2d084c46de08def6
10 years ago
Rene Krenn
bef06dce91
MT#14301 deleting prof packages instead of terminating
...
+profile package details view to overlook associations
+voucher count is properly checked before deleting a package
+package_id filters for /api/customers and /api/vouchers
+Fake::Time replaced by Time::Warp for balance_interval tests
+cleanup
Change-Id: Idc34220a9d29c115453eeee2907e70a71cf9f0cc
10 years ago
Irina Peshinskaya
4562fbf8c5
MT#12825 Export billing fees to csv file
...
Change-Id: I17bf0592c28e3e642ec83456237af14247db729a
10 years ago
Rene Krenn
ca908406a1
MT#13903 enable applying profile package
...
Change-Id: I74b57b80599575e9685e01924b234c8da6c2fe49
10 years ago
Rene Krenn
f3b711a050
MT#13903 disable applying profile package
...
This is a patcht introducing a variable to disable
setting profile_package_id's in in the contracts
table. The code should therefore behave as before,
as long rate-o-mat and libswrate are ready.
Not once set to 1 and contract balances are written
to a database once, disabling this constant will
mess up contract_balances!
Change-Id: I080460395627202f3f5a386022de643577f4f3c2
10 years ago
Rene Krenn
b9271ec5d8
MT#13903 generate melita user story transcript
...
Change-Id: I0fff8e242a00ed0dd925eaec0566205c39c94dcd
10 years ago
Rene Krenn
d54bd5d360
MT#13903 "topup_interval" start mode impl
...
The prior "topup" start mode for balance intervals
(contract_balances) creates intervals for each
top-up using a voucher, resulting in dynamic length.
This new "topup_interval" start mode will just align
the *first* balance interval upon the topup. Subsequent
intervals use the constant interval unit+count
specified in the profile package.
Melita user story is completely covered now.
Change-Id: I0a8b8d73a7fbf054d0aa8b2b1e73a54609fdeee0
10 years ago
Rene Krenn
bd9f67040d
MT#13903 topupvoucher and topupcash
...
+applying profile package and billing mappings
+testcase in api-balanceintervals.t
+caveats: to meet melita's user story, an additional 'topup_interval' interval start mode will be required. the currently implemented 'topup' start mode restarts intervals upon every topup and therefore does not provide constantinterval lengths.
Change-Id: I0a4898783c023749994e94e6909833a42debe259
10 years ago
Rene Krenn
c378681a24
MT#13903 balance interval catchup and resize WIP
...
+ synchronized contract balance catchup
+ balance interval resizing upon profile package transitions
+ dynamic interval length, interval start, carry-over propagation, ..
+ end-of-month 'preserve' mode correction for strictly aligned month intervals for start_mode=customer "create" timestamp
+ new api/balanceintervals resource to inspect contracts' balance interval histories
+ updated affected panel UI controllers
+ test case with time warps using Time::Fake
caveats:
- creating an invoice for a given 'period' (month) has to be refactored to select a disitnct balance interval. right now it takes the last interval in the month specified.
- generate_invoice.pl is broken and needs a major refactoring
Change-Id: I7bb54a83b76e510b1baa573a986d05400a7fec1e
10 years ago
Gerhard Jungwirth
84e1942098
MT#13611 use common logic for cdr display
...
Change-Id: I208ffa8df50c7daab9f94ca0c13a9acb77090a25
10 years ago
Irina Peshinskaya
35b10e078c
MT#11147 Rewrite map to foreach for models names => ids map
...
Change-Id: Ic2cf61dab8dae7f4ac21bb2537e6f4bb4e7a4f20
10 years ago
Irina Peshinskaya
3310c45e4f
MT#11147 Allow "Vendor ModelName" refer to connectable models
...
Change-Id: I7e9cec85798860592bde63b09024896c17280895
10 years ago
Andreas Granig
b0456e4c36
MT#11027 Use proper bootstrap path.
...
Change-Id: I54860359e11dbef56f76bab4a237aac6b69ae81a
10 years ago
Gerhard Jungwirth
85a37fc0a2
MT#13815 split dialogic MGM and SIP interface
...
to different subnets. 3 subnets are required now.
And improve status modal.
Change-Id: Ia33530fd1548a21b121af48cebfff0d335e7f59c
10 years ago
Gerhard Jungwirth
5590a1090f
MT#13329 adapt rewrite rules to new upstream syntax
...
Change-Id: I8ee7590814936f4a57f2066212d58369b7690d3e
10 years ago
Irina Peshinskaya
d054035005
MT#13701 Prevent resurrection of the terminated subscribers
...
(cherry picked from commit 61cb34584d
)
Change-Id: I4198ec2d9e5c46ff71e70c5ad7b0f906429f34fc
10 years ago
Rene Krenn
68d8e459c8
MT#13717 fix journal tests - reseller constraint
...
..and cosmetics in the profile schedule lists in the panel UI
Change-Id: Ieb6fe62351b0cc31be2fcaa92686bfc74e50a035
10 years ago
Rene Krenn
2537819f0d
MT#12643 billing networks and multi bill prof WIP
...
-properly validate billing mapping intervals
-api/contracts and api/customers complete
+the problem with updating the "prepaid" preference remains at the moment
+billing_mappings field contains future (editable) mappings only, the full schedule is given in a separate field
+hal-links to all occurring billing profiles and networks
-extended tests: api-customer.t and api-contract.t
-api-billingnetworks.t test
-billing networks panel controller
+search by enclosed IP address
-panel UIs for billing networks, customers, contracts
+past billing mapping intervals that cannot be edited are displayed by a seperate hfh "block" part of the billing_profiles repeatable
-profile packages api, UI
+terminating billing profiles (MT#8645) will be broken
+fixed now: profile cannot be terminated unless there are:
-zero non-terminated customers, whose mappings contain the profile with future or open end
-zero profile packages, that link to the profile in either one of their initial-, underrun- or topup profile sets
+panel edit should work, termination wip
+topup_profiles w/o amounts
+contracts/customers API profile_package_id field:
+apply the package's initial profiles
+api/customer and api/contract profile definition modes (id/profiles/package)
+api OK, api-customer.t tests
+customer and contract panel UI with selector to specify actual billing mapping, schedule or profile package (same as api)
+terminate logic harmonized: profiles, networks, packages
+api tests updated
+prepare for merging: cleanup, enable tests
Change-Id: I6c0dec72f490b5731fc673cd393d6aeb08dd8143
10 years ago
Irina Peshinskaya
d0b947ccf5
MT#13269 Make timeout for the remote server access
...
To don't stack in connection attempt and don't get "mysql has gone" error
Change-Id: Ida9434179ff75090280e300f7782c60aaf6ae2f5
10 years ago
Irina Peshinskaya
7ba2dbd0d3
MT#12939 Preserve groups order while edit subscriber
...
Change-Id: I2a2c1cf89e72c3345b3abcf3367301e4487ba083
10 years ago
Irina Peshinskaya
558bb1c2fc
MT#12939 Manage pbx groups and members order through the web-Panel
...
Change-Id: I46e921cdbbe26ec2e0cf291abbb08bbabb4ae5b1
10 years ago
Irina Peshinskaya
003e717c02
MT#12937 Replace groups managements different code parts with common methods
...
Change-Id: If598ff0b3cef7c9c8c21ad2c509bce0d9fc4edb7
10 years ago
Andreas Granig
b02c92c017
MT#13201 Cleanup debug output
...
Change-Id: Id6346e3b20f29b0630cb05dc9e5810d52edde8db
10 years ago
Andreas Granig
4227fd2522
MT#13201 Enhance voucher API.
...
- Use billing_data ACL grants to modify vouchers
- Use encryption in UI for voucher code
Change-Id: I7711a43db8596d5f733d6c52d2f6608f434b2463
10 years ago
Gerhard Jungwirth
2c12d25845
MT#12303 dialogic wip logging
...
Change-Id: I44e9d83ab47f26081d3c666be4e854b011472645
10 years ago
Irina Peshinskaya
2e2c008542
MT#7227 Upload billing_fees into 2 stages, for speed and unique records
...
Change-Id: Ie3b4711fa1d31cc900d997e1863800777e526464
10 years ago
Gerhard Jungwirth
9aad021882
MT#13007 Reload correct service for sound handles
...
see 13007#c98465
Change-Id: I44392cb1e45134650a1ad44edd6b24d057c817a6
10 years ago
Gerhard Jungwirth
53ee3a32a8
MT#12813 fix calllist subscriber retrieval
...
get it directly without accessing provisioning.voip_subscriber
and notify about terminated subscribers
Change-Id: Ife6d936c052b3dcda0f03013ee53bafa34b9f19b
10 years ago
Gerhard Jungwirth
ffa327bfbf
MT#12905 set cf cli to the primary number
...
Change-Id: I1e571fa4dc156de83c910dbfecd0280fa8b75b58
10 years ago
Gerhard Jungwirth
447a08f921
MT#12303 dialogic client use LWP::UserAgent
...
because the HTTP::Tiny and HTTP::Thin libraries on wheezy
are old and create SSL errors
also enable SIP custom headers relaying, which we'll need
to transmit metadata (preserve alphanumeric sip url)
Change-Id: I02e8ffe5881a88ff04d255ada08505c7fe33af47
10 years ago
Andreas Granig
2e95fedee8
MT#12847 Use first range number as primary number
...
If no primary number is given but a number range is provided, use
the first of the range as primary number.
Change-Id: I9b3a7bf1d4b1523f9cd0af3a3a7a70c95bb8d3ab
10 years ago
Gerhard Jungwirth
7245c3870f
MT#12303 dialogic use optical link for ss7 and isdn
...
and align channelgroup naming
Change-Id: I4a01befeb261c7d07226c74a0da63cdee0732347
10 years ago
Gerhard Jungwirth
33f57733e9
MT#12303 dialogic configure snmp and nfs
...
simplifies also the way, configs are taken from the peer preferences
Change-Id: I54f6a110227251fcf19ceaac33baec1adf5921f9
10 years ago
Rene Krenn
c411ece3a9
MT#11917 'must-have' api resources complete
...
- ApplyRewrites
+ AutoAttendants
~ BillingFees
OK + BillingProfiles
+ BillingZones
- CallControls
OK * CallForwards
- CallLists
- Calls
OK * CCMapEntries
OK * CFDestinationSets
OK * CFMappings
OK * CFTimeSets
OK ~ Contracts
+ CustomerBalances
OK * CustomerContacts
OK * CustomerPreferences
OK * Customers
- CustomerZoneCosts
+ DomainPreferences
OK + Domains
~ EmailTemplates
OK * FaxserverSettings
- Interceptions
- Invoices
~ InvoiceTemplates
+ NcosLevels
+ NcosPatterns
+ PbxDeviceConfigFiles
+ PbxDeviceConfigs
+ PbxDeviceFirmwareBinaries
~ PbxDeviceFirmwares
+ PbxDeviceModelImages
+ PbxDeviceModels
+ PbxDeviceProfiles
+ PbxDevices
OK * ProfilePreferences
OK * Reminders
OK ~ Resellers
+ RewriteRules
+ RewriteRuleSets
- SoundFileRecordings
~ SoundFiles
~ SoundHandles
OK * SoundSets
OK * SpeedDials
OK * SubscriberPreferences
OK ~ SubscriberProfiles
OK ~ SubscriberProfileSets
- SubscriberRegistrations
OK * Subscribers
OK ~ SystemContacts
OK * TrustedSources
- VoicemailRecordings
- Voicemails
* VoicemailSettings
Change-Id: Ibbaf8be32c6cda71637e16c40f345a15b8c1f530
10 years ago
Irina Peshinskaya
4970dd68fa
MT#12499 Apply default email templates to the created reseller
...
And delete on the reseller deletion
Change-Id: Iab7fdef6c1cadeb7a3b8d2d890c1ee271646558e
10 years ago
Irina Peshinskaya
78cf4f1e93
MT#11009 Form->params => form->values
...
Change-Id: I22fba4d3c5f6cdfb774d2106a867563d0d2f8c74
10 years ago
Rene Krenn
83fdc85702
MT#11917 include journal in generated API doc page
...
Change-Id: Iab13239e892823e2708f5b13b985db42be45d136
10 years ago
Andreas Granig
5cddb19eda
MT12347 Terminate module with true value.
...
Change-Id: Icb62b997cf71f7399ea36052c4c03dddbfbeaacc
10 years ago
Irina Peshinskaya
bda844c9d3
MT#10159 Add API call towards MWI on voicemail dir change
...
Change-Id: I37907d1a5351911f5b357ae1e7992c189a9730d3
10 years ago
Andreas Granig
db0cb867c4
MT#12385 Add reseller_id to EDR head.
...
Change-Id: Ied667fac5eee55fa8980f29ae5e548f203f222d9
10 years ago
Gerhard Jungwirth
9628a322c9
MT#12303 configure dialogic for ss7
...
and add some optical options
Change-Id: I0eef8840074f441f0314e54ee933f8788b8dc92d
10 years ago
Gerhard Jungwirth
aabb590b1e
MT#11777 filter cloudpbx prefs if no feature
...
Change-Id: I99c8fdb772a14063a97a9109b92a8f431a5ed3cd
10 years ago
Rene Krenn
96c731a144
MT#11917 Journaling for first set of resources
...
the journal module introduces a change history of
resources modified by api invocations. the history of
the 'customer' resource demo is accessible at
/api/customers/x/journal.
Change-Id: I4d5d11bc3e35160feed587ce4c1db565991866b2
10 years ago
Irina Peshinskaya
11979e04ad
MT#11147 Create fake data for the devicemodels and pbxdevices tests
...
Change-Id: I782bd536fe6dc18d35857519f463329fba0c9da2
10 years ago
Irina Peshinskaya
de7928e2e3
MT#11147 Remove test hardcodes
...
Change-Id: I2663e8b5174bc327a1a4591a6618a8e624c5a62f
10 years ago
Gerhard Jungwirth
63db8edc8c
MT#11501 dialogic isdn library
...
plus we're almost style-error free on the modified files
Change-Id: I6e26bc97d972a06dd1185c80c32a679007c176c9
10 years ago
Irina Peshinskaya
81bd0240e3
MT#12083 Use exists optimization for subscriber search by alias
...
Change-Id: I65a5d4bd02adba1236caba52666e49a82e45908e
10 years ago
Irina Peshinskaya
ec9c71dbe3
MT#11147 Phone extensions
...
Change-Id: Ie08f85030a26dc00fe246c71e73a81bd001a2be4
10 years ago
Gerhard Jungwirth
3bb5df875a
MT#11501 configure dialogic from webinterface
...
and change api config naming and add support for out_codecs
now with preferences approach
Change-Id: Ic62918e681fa877e8bfb92c2c70efb9edb4d0acc
10 years ago
Gerhard Jungwirth
9bc45cf3f5
MT#11501 dialogic api read and hash config
...
Change-Id: I6adffa64d5ad1fabf6e49b4ac97f22f5e40f3dae
10 years ago
Gerhard Jungwirth
cd3111d665
MT#11501 dialogic api cleanup
...
refactor to a more generic approach
dependencies
create_all
generate documentation
Change-Id: I718278e4560c3f1e2c14aa9b5585274fa32101dd
10 years ago
Gerhard Jungwirth
b926d468c9
MT#11501 dialogic api finalize sipsip
...
making the config work: InIPProfileId
Change-Id: I6fd13977292d55f0ddd14c65c805cb8d7c2c8024
10 years ago
Gerhard Jungwirth
0182781d7e
MT#11501 dialogic API profiles and start routing config
...
and fix some data handling
Change-Id: I89a8974343e3529659070f70ad37bcaa9143283c
10 years ago
Gerhard Jungwirth
711501b133
MT#11501 dialogic API formatting, more config
...
Change-Id: I29bb77410cb79f3e89664a641e03509382754f6c
10 years ago
Gerhard Jungwirth
188d5195fa
MT#11501 dialogic API network configuration
...
option to pass parameters, handle pids automatically in API
Change-Id: Ia8c327ec7377a1a787e7d758f00e682c4c1f1ca8
10 years ago
Gerhard Jungwirth
37a9021788
MT#11501 dialogic API login, locks
...
API PoC and general library design
testscript
Change-Id: I84537ba430bd455a3bac3ea28eaa82d5152bfa20
10 years ago
Irina Peshinskaya
ac9b5ff871
MT#11549 Search by alias too, but aliases aren't shown
...
Change-Id: I866c7a1bf54a2c4d7bca40d42c66fde498722eb0
10 years ago
Gerhard Jungwirth
1c7fb3a781
MT#5435 option to show table summaries
...
showing any supported aggregation method
Change-Id: If439731261cb148105f4c1fb9608839610935e75
10 years ago
Andreas Granig
65ceb1acd8
MT#10879 Fix fix of CLI handling on sub creation
...
Change-Id: I61a1bf28f40c8ef08617c9520c38d52bb661d096
10 years ago
Andreas Granig
057f34636a
MT#11279 Allow disabling vendor RPC calls.
...
Change-Id: I0ccc26bb3de270c0dee5ce7f0de9d5e0ccbbd354
10 years ago
Andreas Granig
b2c4fca10f
MT#10879 Fix setting cli preference.
...
Change-Id: I5caa24daa626b3df75de08cd9c0773d2cf58e212
10 years ago
Irina Peshinskaya
ee018bb44b
MT#10159 Mark messages as read and send MWI notification about messages amount
...
And fix sorting for literal_sql columns
Change-Id: I3c2da898bd306ef529db37566db9b01f39e0ed03
10 years ago
Andreas Granig
b2cfc9c003
MT#10879 Set uuid as mailbox user if no number.
...
Change-Id: Ibb6d083d664c4aa8e51459d7460e141581a419a3
10 years ago
Andreas Granig
e37dc3d40a
MT#10879 Handle deletion of primary number.
...
Change-Id: I837f6af3dfbaac645eaf95cb02095d4ff9d31938
10 years ago
Irina Peshinskaya
861f00019e
MT#10715 Remove exrescent debug and code
...
Change-Id: Ife5b5dd797b032717d104f68ff376560cc91dedf
11 years ago
Irina Peshinskaya
ce29d22a53
MT#10715 Add Polycom Zero Touch Provisioning (ZTP) client.
...
Change-Id: Ia3671355258dbfcf1533d7d4f87083e3beb10dc6
11 years ago
Irina Peshinskaya
d3b4f50b6a
MT#9177 Fix invisible syntax error
...
Change-Id: Iae470f98df2f91b3c70e7be9487f8f7b35b8d38e
11 years ago
Andrew Pogrebennyk
21833bf8cf
MT#9453 introduce handling for adm_cf_ncos[_id] preference
...
Change-Id: I17fdb7fa89a8e1682aafe43c02d94c8e230b8098
11 years ago
Irina Peshinskaya
4db73f7d24
MT#9177 Make {MAC} adding optional for different vendors
...
Change-Id: I7960f6d865ad3c672dfbc511dd70521c6c38f99d
11 years ago
Andreas Granig
266e8e7f3e
MT#10537 API: own/other logic for calllist item
11 years ago
Irina Peshinskaya
e45b214de4
MT#9177 Add yealink, change architecture and fix credentials store issue
...
Squashed commit of the following:
commit 79484a6e87
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Dec 3 02:11:23 2014 +0200
MT#9177 We don't need update device_id in credentials.
Rather usual thing.
commit d2161a9b3f
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Tue Nov 25 13:16:02 2014 +0200
MT#9177 Return unregister into utils area.
commit ac8115bcc2
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Sun Nov 16 13:58:35 2014 +0200
MT#9177 Yealink works
commit 51336e2b18
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Sun Nov 16 12:23:19 2014 +0200
MT#9177 Yealink add_server
commit 6dc0fde8dd
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Fri Nov 14 09:54:14 2014 +0200
MT#9177 Yealink url via serverName
commit ec00e65878
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:55:07 2014 +0200
MT#9177 Yealink requires server length < 20
commit 0c29750e74
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:45:27 2014 +0200
MT#9177 Wonderfully authorization for Panasonic started to work
Without = at the end
commit 7d3c540a82
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:36:51 2014 +0200
MT#9177 Fix yealink authorization too
commit e39da24bc9
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 10:15:26 2014 +0200
MT#9177 Small fixes for yealink
commit 9b9e2973ee
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 08:12:33 2014 +0200
MT#9177 Add yealink credentials fields
commit d63e9ab967
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Thu Nov 13 06:24:46 2014 +0200
MT#9177 Some fixes for this layout
commit bd2a026ed4
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 22:43:37 2014 +0200
MT#9177 Use custom bootstrap uri in this layout
commit bfd2f7a96c
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 17:07:50 2014 +0200
MT#9177 Further yealink changes
commit 3779466cb6
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 12 15:55:47 2014 +0200
MT#9177 Yealink added
commit 3fa77dcdb0
Author: Irina Peshinskaya <ipeshinskaya@sipwise.com>
Date: Wed Nov 5 08:23:56 2014 +0200
MT#9177 Refactor code to separate vendor specific and common logic
Change-Id: I41a912a5c8f90b3c58cf49b87a38a3b6a7b64bd6
11 years ago
Andreas Granig
a431f6bf79
MT#10309 Allow passwords with less than chars.
11 years ago
Andreas Granig
a16c98ae35
MT#10199 Add subscriber profile preferences.
11 years ago
Kirill Solomko
86f78f3b3b
MT#7705 - update last request tx_id only for a new request to work with scenarios where there are more than one reply for a request
11 years ago
Irina Peshinskaya
b62da59af4
MT#9177 Small fixes after web testing
11 years ago
Kirill Solomko
55a5b1d433
MT#8645 - do not add 'me' to virtual aggregated columns (min,max,count) where aliased as '^v_(min|max|count)'
11 years ago
Irina Peshinskaya
64dd9c01e2
MT#9177 Bootstrap_uri logic and fixes.
11 years ago
Irina Peshinskaya
bcd8c30efd
MT#9177 Add credentials as device fields logic
11 years ago
Andreas Granig
097c8ec066
MT#9177 Re-add sync param logic.
11 years ago
Andreas Granig
e1d58e9ae4
MT#9177 Cleanup bootstrap code.
...
Move vendor specific code (Panasonic for now) to separate module.
11 years ago
Andreas Granig
6b24459830
MT#9177 Fix panasonic bootstrapping.
11 years ago
Irina Peshinskaya
8efe98f4fb
MT#9177 Adapt to using of standard debian package and fix control
11 years ago
Irina Peshinskaya
492258f32c
MT#9177 Remove hardcoded values
11 years ago
Irina Peshinskaya
a6527bb4c7
MT#9177 API for autoprov. Not tested yet.
11 years ago
Irina Peshinskaya
bddadea51b
MT#9177 Untested Device forms.
11 years ago
Irina Peshinskaya
5902c07ef5
MT#9177 Add panasonic bootstrap.
11 years ago
Kirill Solomko
01fe7f5245
MT#9607 - Fix delete allowed_ip_groups
11 years ago
Kirill Solomko
5aaebcfd62
MT#9599 - Fix delete allowed_ips/man_allowed_ips
11 years ago
Irina Peshinskaya
29b988492f
MT#9431 Update usr_preference cloud_pbx_hunt_policy in Subscriber API.
11 years ago
Andreas Granig
64d65a10a5
MT#9277 Implement basic voucher management.
11 years ago
Andreas Granig
d5ee051bd5
MT#9445 Set voicemail_users tz to 'vienna'
...
This makes it backwards-compatible to ossbss. At some point, the
timezone should be taken from the customer or domain, but that would
need to affect also CDRs etc.
11 years ago
Kirill Solomko
79d39d7926
MT#7705 - Remove newline from log strings passed to the logger
11 years ago
Kirill Solomko
22225a3b8d
MT#7705 - LOG= is now persistent in the log messages.
11 years ago
Andreas Granig
17a3260153
MT#9263 Introduce simple_destination in CF API
11 years ago
Andreas Granig
be8cad19bb
MT#8035 Trigger stop_profile on subscriber term
...
... if subscriber had a profile assigned.
11 years ago
Kirill Solomko
71eadae6ea
MT#7705 - Message.pm further edited the pod doc
11 years ago
Kirill Solomko
503cdfcc7f
MT#7705 - remove =item from pod formatting
11 years ago
Kirill Solomko
c2fb0c6e32
MT#7705 - added doc for Utils/Message.pm
11 years ago
Kirill Solomko
e4ecca76e9
MT#8547 - Fix smartmatch ~~ usage
11 years ago
Andreas Granig
86fffe08e1
MT#9263 Fix CF API handling of numbers.
...
Numbers must be normalized to URIs too.
11 years ago
Kirill Solomko
c1c72dd6c7
MT#8547 - replaced experimental "smartmatch" code with the sane if/else custom SWITCH blocks
11 years ago
Andreas Granig
0204022cf5
MT#9225 Modify allowed_clis on add/remove number
...
If ossbss.provisioning.auto_allowed_cli is set, then add/remove
a number from subscriber preference allowed_clis when adding/
removing a number.
11 years ago
Kirill Solomko
0fdf9f815d
MT#7705 - Preference set/get add logging messages for different types 'customer/domain/susbcrber/peer'
11 years ago
Kirill Solomko
f05f921b0f
MT#7705 - Add logging for Subsriber preferences set/get
11 years ago
Andreas Granig
d156577873
MT#9167 Fix setting contract timestamps
11 years ago
Kirill Solomko
2bebc00548
MT#7705 - Add logging for the rest of Controller/* modules. Message.pm: add data size check and trim the value if > 500 length
11 years ago
Kirill Solomko
66e8536f55
MT#7705 - add cname parameter passed to Message for anon subs name definition
11 years ago
Andreas Granig
bd3bd98719
MT#9047 Remove allowed ips before subs termination
11 years ago
Andreas Granig
f3984d4aec
MT#8279 Fix domain normalization for subs.
11 years ago
Irka
65d38e283c
MT#8371 Fix for optimized query build
...
Remove double join for billing_mappings
11 years ago
Irka
d0a6a81d58
MT#8371 Make customer queries up to 10 times faster.
...
More possibilities in billing_mapping history separation.
11 years ago
Andreas Granig
417e89b740
MT#8279 Don't skip preference logic on empty vals.
...
This actually triggered the empty enum bug, and also influences
setting special helper vars for rwr (and probably others), so remove.
11 years ago
Andreas Granig
fbdd04a5c2
MT#8279 Properly fill enums.
11 years ago
Andreas Granig
71acba7111
MT#7705 Fix undef check in logger
11 years ago
Kirill Solomko
cc3d7c3b93
MT#7705 - Fix parametrized sprintf for logging
11 years ago
Kirill Solomko
db5c05fa8e
MT#7705 - Maxdepth for data structures is limited to 1 for the log messages. Check for undefined $desc in Message.pm when no $desc is passed for logging
11 years ago
Kirill Solomko
68a1aa349e
MT#7705 - Rework logging for Controller/Billing module. Improve Message.pm $log parsing and shown as LOG= (optional)
11 years ago
Kirill Solomko
ddc16492cf
MT#7705 - Message.pm - add str data types possibility. no $c->flash for API calls
11 years ago
Kirill Solomko
e24bea1f6a
MT#7705 - get_log_params() set default $type to "panel"
11 years ago
Kirill Solomko
8bc694dbe9
MT#7705 - Rework logging for API calls. Improve log messages in Message.pm
11 years ago
Kirill Solomko
a90de685e9
MT#7705 - add "$data" argument into log methods to manually pass data if required. remove trailing whitespaces
11 years ago
Andreas Granig
b860218f91
MT#8449 Fix clearing unused alias numbers
...
Take billing.voip_numbers as reference for clearing unused dbalias
entries.
11 years ago
Andreas Granig
4f76fdaf96
MT#8633 Properly set is_primary on sub creation
11 years ago
Irka
2a7e76bf51
Revert "MT#8491 Fix subscriber termination via API."
...
This reverts commit 1b654d559a
.
Real fix was done already as fix for the MT#8071
11 years ago
Irka
1b654d559a
MT#8491 Fix subscriber termination via API.
...
1.Provisioning_voip_subscribers may be already deleted during termination.
2.Return issue already fixed in master, seems like not integrated in 3.3.
11 years ago
Irka
78a6d8dd96
MT#5879 Remove Country processing warning.
...
(cherry picked from commit 9d80cba5fd51314bd4909505fc09ce05aa232080)
11 years ago
Irka
99918704a8
MT#5879 Fix broken packages load sequence.
...
To avoid utf8 warning on panel start.
11 years ago
Gerhard Jungwirth
12ee43f671
MT#8395 replace email plugin
11 years ago
Kirill Solomko
a100ad5ea8
MT#7705 add IP into logged messages
11 years ago
Kirill Solomko
18e07b2950
MT#7705 change Panel.pm to use ngcp-panel/logging.conf, reworked Utils/Message.pm logging
11 years ago
Andreas Granig
953142d4f0
MT#8279 Deflate numbers in call list.
11 years ago
Andreas Granig
145291a23e
MT#8279 Deflate CF destination in CSC
11 years ago
Andreas Granig
a5cd159b56
MT#8279 Deflate speed dial in CSC list
11 years ago
Andreas Granig
cf519fb44b
MT#8279 Inflate/deflate block list input in CSC
11 years ago
Andreas Granig
faecaf913c
MT#8279 inflate/deflate subscriber user input
11 years ago
Irka
c43ccd7c5d
MT#8401 Invoce data preprocessing.
11 years ago
Irka
4d1a826aa0
MT#8353 Fix broken build
11 years ago
Irka
45a99ff918
MT#8353 More freedom in money signs configuration. And fix fractional.
11 years ago
Gerhard Jungwirth
ef713a8f84
MT#8287 fix subscriber termination by subadmin
11 years ago
Gerhard Jungwirth
36e44a6439
MT#7673 update voicemail number in api
11 years ago
Gerhard Jungwirth
d57aa0e7ff
MT#7673 update voicemail number in webinterface
11 years ago
Irka
bcc0101682
MT#7867 Return scale 0.8 untill other options tested with real printing
...
(cherry picked from commit 0fbbcf663714153e702cea2d4ffbfba24e0f107c)
11 years ago
Irka
b2f21dd777
MT#7861 Use pixels as main unit to be in accordance with svg-edit.
...
(cherry picked from commit bdd8562fb0ee0a98cb1296822fa1e211fa0d8c5f)
11 years ago
Gerhard Jungwirth
135d48e84a
MT#8015 de translation, some more strings
...
and fix a bug, where empty string gets translated, this returns wrong results
11 years ago
Gerhard Jungwirth
923e2e9b82
MT#8203 subscriber termination registered devices
...
send the proper call. also fix recursive termination on contracts
11 years ago
Gerhard Jungwirth
7b3080f45b
MT#8071 fix api subscriber termination
...
response was handled wrong on patch/put
primary number was not freed in case of pbx
11 years ago
Gerhard Jungwirth
b0a7f8f2b2
MT#7717 explicitly delete related tables of voip_domains
...
to ensure trigger execution on them
11 years ago
Andreas Granig
6d4fb582e3
MT#8035 Use billing.subscriber_id for events
...
Otherwise we won't be able to bill terminated subscribers
11 years ago
Gerhard Jungwirth
93c1daed15
MT#7717 delete voip_domains on reseller termination
11 years ago
Gerhard Jungwirth
c1c1117600
MT#8035 Write start_ivr and end_ivr events
...
when updating cf_mappings or cf_destination_sets
one entry per cf_mapping
11 years ago
Andreas Granig
75def7bf94
MT#7943 Don't access undef provisioning subs.
11 years ago
Andreas Granig
0d577b3490
MT#7935 Show callid, cost and link to callmap.
...
In call history of a subscriber, link to callmap, and show the
call-id and source customer cost in case of admin/reseller.
11 years ago
Andreas Granig
3a9d043d40
MT#7899 API: clear audio cache on sound file mod.
11 years ago
Gerhard Jungwirth
41416d2d10
MT#7843 change svg template to new vat variables
...
new ones are: customer.vat_rate and customer.add_vat
11 years ago
Andreas Granig
e219531acf
MT#7803 Cleanup tmp after invoice generation.
11 years ago
Andreas Granig
22fb7531bd
MT#7793 Explicitely set all event fields on insert
...
Since exported_at is a timestamp, it might be filled automatically
by mysql.
11 years ago
Andreas Granig
9c4dc3d610
MT#7793 Insert start_huntgroup event on new group
11 years ago
Andreas Granig
915cf7749a
MT#7555 Properly terminate subscribers.
...
- Write end_huntgroup if a group
- Move numbers to pilot if it exists
11 years ago
Andreas Granig
9115b48f70
MT#7797 Filter for terminated customers.
...
- Allow status=xxx in collection
- Fix moving customercontacts
11 years ago
Andreas Granig
4f370287af
MT#7793 Only log subprofile event on prof-change.
11 years ago
Andreas Granig
213e6bb606
MT#7793 Implement event billing for subprofiles.
...
Write start/end/update_profile event on subscriber modification.
11 years ago
Andreas Granig
59c69d2c10
MT#7771 rename pbx_account_cli_list
...
Use cloud_pbx_account_cli_list instead.
11 years ago
Andreas Granig
2d9be3f212
MT#7771 Introduce @{...} for match in rewrite rule
...
It inflates to $(avp(s:xxx)[*]) and can then be used to match against
AVP lists.
11 years ago
Andreas Granig
3a420aa0b9
MT#7731 Fix sound set handling for resellers
11 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
11 years ago
Andreas Granig
adffda31ac
MT#7699 Strip colons from mac/identifier
11 years ago
Andreas Granig
462b0bf3e1
MT#7177 API: also evaluate callee_xxx rwr vars.
...
Load the AVPs from the same subscriber as for caller, as we should
not intermix them anyways.
Treat non-existent vars as empty vars like kamailio does.
11 years ago
Andreas Granig
7c8e355fbc
MT#7177 API: add /api/applyrewrites/ for rwr.
...
Normalize/denormalize a number based on the subscriber and the
direction.
11 years ago
Andreas Granig
1d26af6afe
MT#7177 Implement callee normalization. WIP.
11 years ago
Andreas Granig
2f06618362
MT#4019 Implement C2D in api via /api/callcontrols
11 years ago
Irina Peshinskaya
a72adaea52
MT#5879 Invoice generation fixes.
...
Use correct name for zone fees cost.
Fix condition for char column in script.
Add root element to xml before XPath parsing to avoid errors about
the same elements on root level.
Set timezone to local. Maybe it shouldn't be, but then should be changed
in both used methods.
Todo:
Country name for generation from web.
Clarify and implement if neccessary generation of existing invoice from web.
Now invoice for the same period created.
11 years ago
Irina Peshinskaya
636ebe26cf
MT#5879 Fix invoices amount, related to cents.
11 years ago
Irina Peshinskaya
a050e6777e
MT#5879 Fix for invoices.serial unique index
11 years ago
Irina Peshinskaya
006d6241e2
MT#5879 Generate and/or send invoices script. Seems as working.
...
Testing is in progress.
11 years ago
Irina Peshinskaya
ee8c27fa43
MT#5879 Fix rebase merge error.
11 years ago
Irina Peshinskaya
c60c9af216
MT#5879 Error in not inflated date values.
...
But other seems as working.
11 years ago
Irina Peshinskaya
17d98b9faa
MT#5879 Merge with Andreas changes.
11 years ago
Irina Peshinskaya
17f678dee2
MT#5879 Separate invoice generation from sending and some fixes.
...
Commit:
Separate invoice generation and sending, although still can be
together id options tell.
Remove dev method call, which made invoice list broken.
Some little format changes.
Todo:
Add country_name into invoice generation script.
Care about email template correct process vars.
11 years ago
Irina Peshinskaya
eff6d772a9
MT#5879 Fix for invoice generation.
...
Invoice generation script uses mock catalyst context object, so no real
looging should be called. Or logge object shpould be mocked too. (TODO).
11 years ago
Andreas Granig
6ec99075ca
MT#7471 Implement web and api for contract prefs.
11 years ago
Andreas Granig
69e20a8629
MT#7377 API: fix alias_numbers and pbx_extension
...
Properly handle alias_numbers and pbx_extension fields when
creating or updating a subscriber.
11 years ago
Andreas Granig
9679565f50
MT#5879 Fetch call list for invoices. WIP.
11 years ago
Andreas Granig
1147ad5db0
MT#5879 Remove more debug messages.
11 years ago
Andreas Granig
ddfdb0d7a5
MT#5879 Cleanup debug messages.
11 years ago
Andreas Granig
98364a891b
MT#5879 Rework VAT handling in invoices.
11 years ago
Andreas Granig
8efa32a98a
MT#7377 Use is_pbx_pilot instead of admin flag
11 years ago
Andreas Granig
12fec06a68
MT#5879 Making invoice creation work w/ real data
...
Costs etc are still wrong, but we'r getting somewhere.
11 years ago
Andreas Granig
b827f73ab4
MT#5879 PoC of generating invoice out of template
...
Rework zone fee handling.
Implement invoice creation (WIP) - still real template data missing.
11 years ago
Andreas Granig
d51779ddab
MT#5879 Align dummy data to new contacts schema.
11 years ago
Andreas Granig
5cbb82747a
MT#5879 Align invoice template to clean db schema
11 years ago
Andreas Granig
02e58b0360
MT#5879 Completely redo invoice template handling.
...
Use a more clean default template.
Properly render page numbers.
Cleanup cleanup cleanup.
11 years ago
Andreas Granig
807e77855d
MT#5879 Rework dummy variable handling for invoice
11 years ago
Andreas Granig
fa07184a46
MT#5879 Rework rendering PDF preview.
11 years ago
Andreas Granig
fdde82379b
MT#5879 Store invoice templates on save.
11 years ago
Irina Peshinskaya
fef6ea95c7
MT#5879 New template. Title pages is topic for questions.
11 years ago
Irina Peshinskaya
45b475327b
MT#5879 Save state before start geography implementation
11 years ago
Irina Peshinskaya
b01714cca4
MT#5879 Bug fixes.
...
Fixed svg preprocessing related to svg-edit layers configuration.
Fixed total records for datatables information.
11 years ago
Irina Peshinskaya
9cfd974e70
MT#5879 Preparations to merge into master
...
Part 2.
11 years ago
Irina Peshinskaya
cd07b84a1c
MT#5879 Preparations to merge into master
...
Part 1.
11 years ago
Irina Peshinskaya
63c52f3180
MT#5879 Changes according to Andreas letter.
11 years ago
Irina Peshinskaya
7465db49d4
MT#5879 Send invoice to email functionality draft.
...
Todo:
Add invoice email into db. Send email functionality.
Conditional fields in HFH.
Expand accordions on demand.
11 years ago
Irina Peshinskaya
4ed50bd105
MT#5879 Lost part of merge on master head.
11 years ago
Irina Peshinskaya
d22ade4c4e
MT#5879 Generation from web: not tested yet.
11 years ago
Irina Peshinskaya
275d6a7356
MT#5879 Fix datetime datatables search for no-epoch fields.
11 years ago
Irina Peshinskaya
7ab5ab3c85
MT#5879 Filter invoices by client. Generate form.
...
Left to do:
fix filtering by date, if field isn't a eppoch
generation
mark selected client in clients list. add big button to clear client selection
11 years ago
Irina Peshinskaya
90cf44857c
MT#5879 Fix commited error with remove pageStart.
11 years ago
Irina Peshinskaya
2fbc3dd85f
MT#5879 Save state before adding from-to search to invoices.
11 years ago
Irina Peshinskaya
fab290e99a
MT#5879 Fix creating of datetime with full parameters.
...
Zone can be moved to class variable?Later.
11 years ago
Irina Peshinskaya
bde7cc02e6
MT#5879 Put PDF to DB.
11 years ago
Irina Peshinskaya
d5c2b33a0c
MT#5879 Use total from pages
11 years ago
Irina Peshinskaya
0d39395842
MT#5879 Script to generate invoices from templates.
11 years ago
Irina Peshinskaya
96bb4cb5b8
MT#5879 Use get_contract_rs as clients list sub.
...
To be replaced by direct query.
11 years ago
Irina Peshinskaya
d87e6b297b
MT#5879 Replace invoices to separated controller.
...
CRLF windows git makes issues with on VM run. Some files were converted manually.
11 years ago
Irina Peshinskaya
5e30919042
MT#5879 Draft of calls pages in template
...
1. Add calls templates, data methods.
2. Complete new invoices look.
3. Remove php files from svg edit
11 years ago
Irina Peshinskaya
135dad02d5
MT#5879 Draft of invoice template movement to reseller.
...
1.Remove curly brackets from svg template
2.Move invoice template templates to their own folder and change pathes accordingly.
3.Move invoice_template functionality to Reseller. maybe should be separated in new Controller.
4.Move InvoiceTemplate form to its own sppace from Customer
11 years ago
Irina Peshinskaya
f6fe84df61
MT#5879 Datatables is shown now for invoice data but search doesn't work. Anyway switch now to invoices generation and will return to datatables later.
...
Done:
1.Form separated for future possible load through ajax.
2.Activity switch in invoice templates table
11 years ago
Irina Peshinskaya
3e557152bc
MT#5879 Separate actions for invoice templates. Saving and view should be separated too. Rename ttemplates: calls to invoice and "template" according to content.
11 years ago
Irina Peshinskaya
8834411f8e
MT#5879 separate row listing subs in template toolkit to have possibility generate multi-parted document
11 years ago
Irina Peshinskaya
4f19965240
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
11 years ago
Irina Peshinskaya
7c3a045ddc
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
11 years ago
Irina Peshinskaya
ae5360882a
MT#5879 separate row listing subs in template toolkit to have possibility generate multi-parted document
11 years ago
Irina Peshinskaya
468420909d
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
11 years ago
Irina Peshinskaya
a1cf4235ef
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
11 years ago
Irka
33b13847b0
MT#5879: Fix applying empty search for admin
11 years ago
Irka
b79bdb342a
MT#5879: Failed with condition unification for reseller_id of contracts. Return to double search using to construct query.
11 years ago
Irka
75f16d14b5
Failed with condition unification for reseller_id of contracts. Return to double search using to construct query.
11 years ago
Gerhard Jungwirth
1eadcf7ea7
MT#3955 API callcosts: filter by subscriber_id
11 years ago
Gerhard Jungwirth
ac74b9774d
MT#3955 API callcosts: GET
11 years ago
Andreas Granig
aaac4b6415
MT#7067 API: Implement sound set handling.
11 years ago
Andreas Granig
7df32a993b
MT#7039 API: implement SIP registration handling
11 years ago
Andreas Granig
f96f08f706
MT#4967 clean up moving alias numbers.
...
Also allow admin/reseller to move numbers.
11 years ago
Andreas Granig
b95daedc79
MT#6967 Alias range handling and first sub cleanup
11 years ago
Andreas Granig
6a568e2bc9
MT#6843 API: only autogen pass if not provided
11 years ago
Andreas Granig
4341a39cf6
MT#6871 Fix subscriber editing.
...
- Migrate from custom subscriber struct to normal resultset.
- Properly handle boolean input in form processing (convert to
int, otherwise formhandler fails while cloning when doing the
processing).
- Properly handle profile set editing in API
- Cleanup of log messages
11 years ago
Andreas Granig
9097768d58
MT#6773 Remove any Data::Printer calls
...
Printing a hash with Data::Printer causes at least the API to not
return the hash, and back-porting libclone-perl to wheezy to fix it
caused the whole panel to get stuck.
11 years ago
Andreas Granig
aed5d7ef09
MT#6843 Implement password auto-generation.
11 years ago
Andreas Granig
2bf4fe1e92
MT#6831 Implement global password policy.
11 years ago
Andreas Granig
256de924e3
MT#6789 Add password recovery components.
11 years ago