-
barney__
mc_ currently pulling my hairout.. why might ecall_fs_channel be missing the account_billing variable?
-
barney__
on an offnet-terminated call it's missing, but present on onnet-terminated call ?
-
barney__
both are authz'd as per_minute ?
-
barney__
sup -n ecallmgr ecallmgr_maintenance channel_details is what I am looking at
-
barney__
is there perhaps a delay in authz that misses getting it put in the ets channels table?
-
barney__
should it not update the ets when authz has succeced ?
-
mc_
i would expect it after j5 responds, yeah
-
mc_
but maybe channel_details doesn't include it for unknown reasons?
-
barney__
it does on an incoming call :/
-
barney__
the issue is that balance crawler is filtering ETS channels by per_minute and the outgoing call channels are missing it
-
mc_
gremlins then, only logical explanation
-
mc_
are you fetching details for the a-leg or b-leg?
-
barney__
both.. neither have them
-
barney__
offnet-termination is missing the account/reseller_billing
-
barney__
onnet has it
-
barney__
CDRs show the account_billing in the CCVs
-
Ysean2
vanguard 1049 vanguard IT etfRIGHT
-
Ysean2
er.. sorry
-
barney__
mc_ is there a reason why kazoo.log is logging debug consitently.. if make the same call several times in a row, randomly a large chuck of debug is omitted?
-
barney__
*inconsitently
-
mc_
perhaps rsyslog is dropping because volume is too high?
-
mc_
there's settings to control overload like that in rsyslog itself
-
mc_
would be where i look first, anyway
-
barney__
same with journalctl ?
-
barney__
seem to have both
-
mc_
oh, dunno, i disable journalctl for kazoo logs
-
barney__
mc_ how do I do that?
-
barney__
mc_.. it's more like lager:debug is surpressed lager:info works
-
barney__
where a lager:debug directly follows a lager:info.. i see the info and sometimes the debug
-
mc_
weird
-
barney__
-
barney__
i see the 2 info but not the debug.. when setting debug do i have to flush more stuff ?
-
barney__
is there a more full proof way other than sup kazoo_maintenance -necallmgr syslog_level debug
-
barney__
handler {lager_syslog_backend,{"2600hz",local0}} already logging at debug
-
mc_
that is the way
-
mc_
lager has overload protections that you may be hitting, though i wouldn't necessarily think so
-
barney__
when i restart... kazoo_apps stays on debug and ecallmgr resets to info - are there defaults set somewhere?
-
mc_
yeah, in /etc/kazoo/core/config.ini
-
barney__
there's a single log section.. which set to info.. does that not apply to all nodes?
-
mc_
it should
-
barney__
so something's a bit messed up :/
-
barney__
ok setting ini to debug and restarting make debug work as expected
-
barney__
mc_... ok so ecallmgr says "waiting for authz reply" but returns immediately with "received affirmative route response" before j5 does it's stuff
-
barney__
something else must be repying I guess ?
-
barney__
whereas on inbound it waits until j5 has replied
-
mc_
yes, the b-leg (on outbound) is the "resource-consuming" leg that gets authz'd
-
mc_
the a-leg is authz'd by nature of the known device placing the call
-
barney__
mc_.. when I refer to inbound/outbound here.. I'm not talking about a/b channels... I mean incoming to mean an inbound call from external to device and outbound device to external global resource
-
barney__
it's outbound i am having issue with
-
barney__
so are you saying you'd expect to see 2 authz 1 for each channel a/b ?
-
mc_
barney__: authz per-minute on the b-leg of the outbound call
-
mc_
the "resource consuming" leg
-
mc_
where "resource" = carrier
-
barney__
mc_ as far as I can tell.. ecall_fs_router starts an authz worker for the inbound leg and only puts the authz data for the inboud leg in ecallmgr_channels ETS table... Jonny authz both a and b channels and stores the authz data in jonny_channels ETS table
-
mc_
barney__: CCVs for the outbound b-leg should include the data, but ecallmgr may not have it in the channel cache
-
mc_
i don't recall offhand
-
barney__
mc_ I am thinking that as balance_crawler looks for channels that has account_billing = per_minute. in ETS ecallmgr_channels it should be calling j5_channels:get_per_min chans that peeks in jonny_channels instead?
-
barney__
i mean if J5 has it's one ETA channel cache for authz data, then that should be the authoritive not ecall's ?
-
barney__
**its own ETS Channel cache**
-
barney__
mc_ it seems that the whole ecallmgr has been reworked in github main which hasn't made it to 4.3?
-
barney__