02:04:32 barney_ braintree_update_req:166(<0.21083.149>) service item devices/sip_device had no plan id 13:13:31 i am getting significant amount of 'Recovery On Timer Expire' from 1 client/account 13:14:15 any ideas to resolve this? 13:28:54 btracht check if SIP_ALG is disable 13:29:13 also, could be firewall issue 13:29:32 when kazoo can't reach the phones itself 13:43:35 Serge did you get it working? 13:48:48 barney_ nope, still see the error: service item devices/sip_device had no plan id 13:49:12 but I'm definitely getting closer 13:49:14 ok so now you need to setup your braintree plans 13:50:53 do I need to add "mapping" to the default_bookkeeper or where this data come from? 13:51:51 I see someone mention that in forum 13:52:00 yes it looks like that 13:54:16 https://github.com/2600hz/kazoo/blob/master/core/kazoo_documents/src/kzd_bookkeeper.erl 13:58:10 {"mappings": {"device": { "_all": {} } } } 13:58:36 device is the the categoryName and _all is the Item 14:02:02 barney_ I wish I could read this code =((( 14:03:14 btracht: just started seeing a bunch of recovery_on_timer_expire the past 12 hours specific to softphones, more specifically acrobits, still looking into it 14:03:38 so, for mapping, I assuming I need to add all the items in default_bookkeeper? 14:04:20 where's the forum post you saw about mapping? 14:05:31 barney_ https://forums.2600hz.com/forums/topic/11281-braintree-subscriptionplan-kazoo-service-plan-issues/?do=findComment&comment=60575 14:08:12 yes, that's exactily what i thought 14:10:05 bearing in mind i know nothing about braintree, but would have thought you need to map your service plan to braintree 14:30:08 fink: the recovery_on_timer_expire i am getting are with polys and a fortigate 14:49:12 barney_ how critical is it: "found 0 references to object plans" 15:24:32 fairly.. do you have the plan in the service db for the account? 15:26:02 you need the plan in the AccountDB for the vendor, then you need to subscribe that plan to the child accounts of that vendor (servicedb/) 15:45:38 actually thinking about it, object plans are plans that are inserted into account,device documents 16:25:30 barney_ trying to dig down tons of debug logs 18:00:24 mc_ can I use an escript to call kazoo_snmp:get_oid/4 ? 18:03:12 tried using sup, but it converts all the function args to binary 18:07:16 basically I am already running net-snmp,so seems more sensible to extend/pass the enterprise to a script that can get the data 18:08:51 mc_: Do you know where I can find any info about object_plan? How to create it or make kazoo make it? 18:27:06 Serge, don't think you need an object plan from memory 18:30:39 there's 2 places you can create a service plan in the accountdb and servicedb 18:39:03 "found 0 references to object plans" is just a debug message that you can ignore 18:44:16 barney_ over here people trying to fix an issue that monthly usage charges is not showing up https://forums.2600hz.com/forums/topic/11098-monthly-usage-chargesservices-ledger-is-not-showingreturning-results/ 18:50:27 Serge, do you have working service plans? 18:51:05 i thought you were trying to get your service plans working with braintree? 18:56:19 using crossbar api what do you get doing this: 18:56:19 GET /v2/accounts/{ACCOUNT_ID}/service_plans 18:56:26 it is kinda working. I create a default_bookkeeper document and add mapping for service plan there. When I buy device, it showing up on braintree. But now I can't buy a credit to the account 18:56:58 ok 18:57:43 what do the log say when you try and buy credit? 18:57:59 Manual top-up (Timeout waiting for bookkeeper result)04/06/2023 - 12:20:52$6.00 19:02:21 if you grep your debug log for kz_transaction what does that show? 19:03:09 kz_transaction:709(<0.23090.164>) created sale transaction in 8a995eae00fc5b8d1cbe4df12b93340a 2023-4 for $5.0 19:03:16 kz_transaction:838(<0.23090.164>) sending failed notification 19:15:31 when I trying to see monthly usage - here is what I get - https://pastebin.com/raw/v6NSZjB5 19:17:18 from monsterui ? 19:18:08 doesn't look like it's passing any auth? 19:19:51 yes, from monster ui 19:21:58 the timeout will be happening because there's no listener for the ampq request sent to bookkeeper 19:22:10 hmmm - in system config/services what is right syntax for "master_account_bookkeeper"? 19:22:35 is it just "braintree" or "kz_bookkeeper_braintree"? 19:25:40 kz_bookkeeper_braintree 19:27:17 that's what I have... 19:30:31 what's the out of kazoo-applications status ? 19:30:50 output* 19:33:06 or sup kapps_controller list_apps 19:37:38 barney_ https://pastebin.com/raw/NqNrNGHd 19:39:53 [jonny5,hotornot,braintree,call_inspector,webhooks,trunkstore,teletype,tasks,stepswitch,reorder,registrar,pivot,omnipresence,milliwatt,media_mgr,hangups,fax,crossbar,conference,cdr,callflow,blackhole,sysconf] 19:43:46 has braintree even worked recently? i don't know of anyone using braintree... i think most folks are using an http bookkeeper, or billing completely outside of kazoo with rev.io or something similar 19:44:19 (this is not an endorsement for rev.io, they're a bunch of scumbags) 19:45:15 fink: I believe 2600hz use braintree 19:45:43 and I use it for last couple years with 4.2 19:47:32 ok, didn't know it was still being maintained, i thought they changed their api after getting acquired 19:48:40 yeh.. says that braintree is not production ready 19:50:05 i use my own external billing platform and don't even use bookkeeper 19:57:04 When I trying manual top up - Failed to load resource: the server responded with a status of 500 (Internal Server Error)