-
Serge
barney_ braintree_update_req:166(<0.21083.149>) service item devices/sip_device had no plan id
-
btracht
i am getting significant amount of 'Recovery On Timer Expire' from 1 client/account
-
btracht
any ideas to resolve this?
-
Serge
btracht check if SIP_ALG is disable
-
Serge
also, could be firewall issue
-
Serge
when kazoo can't reach the phones itself
-
barney_
Serge did you get it working?
-
Serge
barney_ nope, still see the error: service item devices/sip_device had no plan id
-
Serge
but I'm definitely getting closer
-
barney_
ok so now you need to setup your braintree plans
-
Serge
do I need to add "mapping" to the default_bookkeeper or where this data come from?
-
Serge
I see someone mention that in forum
-
barney_
yes it looks like that
-
barney_
-
barney_
{"mappings": {"device": { "_all": {} } } }
-
barney_
device is the the categoryName and _all is the Item
-
Serge
barney_ I wish I could read this code =(((
-
fink
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
-
Serge
so, for mapping, I assuming I need to add all the items in default_bookkeeper?
-
barney_
where's the forum post you saw about mapping?
-
Serge
-
barney_
yes, that's exactily what i thought
-
barney_
bearing in mind i know nothing about braintree, but would have thought you need to map your service plan to braintree
-
btracht
fink: the recovery_on_timer_expire i am getting are with polys and a fortigate
-
Serge
barney_ how critical is it: "found 0 references to object plans"
-
barney_
fairly.. do you have the plan in the service db for the account?
-
barney_
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/<accountid>)
-
barney_
actually thinking about it, object plans are plans that are inserted into account,device documents
-
Serge
barney_ trying to dig down tons of debug logs
-
barney_
mc_ can I use an escript to call kazoo_snmp:get_oid/4 ?
-
barney_
tried using sup, but it converts all the function args to binary
-
barney_
basically I am already running net-snmp,so seems more sensible to extend/pass the enterprise to a script that can get the data
-
Serge
mc_: Do you know where I can find any info about object_plan? How to create it or make kazoo make it?
-
barney_
Serge, don't think you need an object plan from memory
-
barney_
there's 2 places you can create a service plan in the accountdb and servicedb
-
barney_
"found 0 references to object plans" is just a debug message that you can ignore
-
Serge
barney_ over here people trying to fix an issue that monthly usage charges is not showing up
forums.2600hz.com/forums/topic/1109…ger-is-not-showingreturning-results
-
barney_
Serge, do you have working service plans?
-
barney_
i thought you were trying to get your service plans working with braintree?
-
barney_
using crossbar api what do you get doing this:
-
barney_
GET /v2/accounts/{ACCOUNT_ID}/service_plans
-
Serge
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
-
barney_
ok
-
barney_
what do the log say when you try and buy credit?
-
Serge
Manual top-up (Timeout waiting for bookkeeper result)04/06/2023 - 12:20:52$6.00
-
barney_
if you grep your debug log for kz_transaction what does that show?
-
Serge
kz_transaction:709(<0.23090.164>) created sale transaction in 8a995eae00fc5b8d1cbe4df12b93340a 2023-4 for $5.0
-
Serge
kz_transaction:838(<0.23090.164>) sending failed notification
-
Serge
when I trying to see monthly usage - here is what I get -
pastebin.com/raw/v6NSZjB5
-
barney_
from monsterui ?
-
barney_
doesn't look like it's passing any auth?
-
Serge
yes, from monster ui
-
barney_
the timeout will be happening because there's no listener for the ampq request sent to bookkeeper
-
Serge
hmmm - in system config/services what is right syntax for "master_account_bookkeeper"?
-
Serge
is it just "braintree" or "kz_bookkeeper_braintree"?
-
barney_
kz_bookkeeper_braintree
-
Serge
that's what I have...
-
barney_
what's the out of kazoo-applications status ?
-
barney_
output*
-
barney_
or sup kapps_controller list_apps
-
Serge
-
Serge
[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]
-
fink
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
-
fink
(this is not an endorsement for rev.io, they're a bunch of scumbags)
-
Serge
fink: I believe 2600hz use braintree
-
Serge
and I use it for last couple years with 4.2
-
fink
ok, didn't know it was still being maintained, i thought they changed their api after getting acquired
-
barney_
yeh.. says that braintree is not production ready
-
barney_
i use my own external billing platform and don't even use bookkeeper
-
Serge
When I trying manual top up - Failed to load resource: the server responded with a status of 500 (Internal Server Error)