-
Ysean
Yup, it's using the global.
-
Ysean
The # used in the fax test matches the rules and verified by making a callf from a voip client.
-
Ysean
sigh... I see a couple of other offnet carriers that shouldn't be there. What's the fastest way to confirm which offnet carrier is being used globally?
-
Ysean
mc_: shouldn't dsiabling all to global offnets make any account that relies upon not longer able to make outbound or inbound calls?
-
Ysean
Something that is puzzling to me... I ensured the admin and the account under it are using the global carrier. I set enabled=false on all the offnet carriers yet, I am still making inbound and outbound calls successfully. Any suggestions on what I'm missing?
-
Ysean
couchdb is still returning 404 errors for the fax requests with "no resources available"
-
Ysean
Here's what I'm getting in the kazoo log... kazoo/kazoo.log:Aug 22 01:59:48 kz2 2600hz[1841]: |9527a219d1f32a4ad07bfa6e29683617|stepswitch_outbound:236(<0.32382.1162>) no available resources for <target number>
-
Ysean
Good morning, afternoon and goodnight. :)
-
Ysean
How's everyone?
-
barney__
Hello, well I am great thanks!
-
barney__
are faxes still a thing? i thought they'd joined the telex in the musem
-
barney__
in this day and age, it seems a very expensive and inefficient way of sending a document?
-
Ysean
haha
-
barney__
mc_ if account_billing and reseller_billing are both per_minute, I assume there's no way of having differernt rates?
-
Ysean
e-mail to fax
-
Ysean
There are still requirements in some enviornments to transmit certain types of documents via fax.
-
barney__
is this in the US?
-
Ysean
yes
-
barney__
I know of nobody in the UK that still has a fax number
-
Ysean
It's not as common as prolific as it used to be. But, in a number of environments e-mail is not permitted for transmittal of legal documents and such.
-
barney__
so email to fax is? lol
-
barney__
so I have a print driver that prints a document over fax (voip) to fax receiver that delivers is someone's email mailbox?
-
barney__
i don't get it
-
Ysean
barney_, yup... e-mail to fax is permitted. haha
-
barney__
when 2 offices had a physical facsimile machines and you had to scan a pysical document it made sense.
-
Ysean
And a received fax delivered to e-mail is permitted
-
barney__
I stopped using them about 15 years ago when all i got was junk faxes
-
Ysean
It's government and law not keeping up with technology. Part of the issue has historically been how to ensure an e-mail wasn't forged and the content of the e-mail wasn't modified, including the attachments. Even today you have large orgs that still don't sign nor encrypt e-mail and don't digitally "sign" documents in such a manner as to indicate a file has been modified after creation.
-
barney__
DKIM
-
barney__
PGP
-
Ysean
Thus, lowest common denominator, fax.
-
barney__
because that can't be forged :)
-
Ysean
barney__, I know. I understand. It's getting global implementation that's the issue.
-
barney__
let me guess, they still use thermal paper rolls that fade after a few months :)
-
Ysean
Seriously, even the US gov't doesn't really get it. They use a solution that is basically a webmail platform. The secure e-mail is created in the website, the recipient is sent a normal e-mail to notify them of the "secure e-mail". They log into the website to view the "e-mail."
-
barney__
had a customer that had a metal filing cabinet next to a radiator and all their important docuemnts went black lol
-
Ysean
thermal paper... you're funny. I don't think they even make thermal paper in the format anymore.
-
barney__
There's always carrier pigeon ;-D
-
Ysean
That is sitll being used, no lie.
-
Ysean
good morning, mc_
-
mc_
its morning, at least ;)
-
Ysean
haha. That my line.
-
Ysean
I came across rather strange behavior in my testing after we spoke. I disabled all the offnet carriers, ensured the account and reseller were both using the global carrier and calls were still being made inbound and outband and fax was still not working. I cleared various caches and reloaded configs from DB. Any ideas?
-
mc_
not without looking at logs
-
mc_
but the carrier config should have the 'fax' flag
-
mc_
you'll want to look at stepswitch logging for that call
-
Ysean
They have the fax flag. Hhow would I go about increasing logging for the stepswitch system? The logs have only the single no resources avaiable message for each attempt.
-
mc_
be in debug log level
-
mc_
sup kazoo_maintenance syslog_level debug
-
mc_
i think is the command
-
Ysean
ah ok.
-
barney__
mc_ I am getting a |0000000000|Undefined:Undefined(emulator) Error in process function_clause.. but the jobj being returned in journalctl log is truncated.. any idea how i can get it to expand?
-
barney__
it's not journal that's truncating as it it's truncated like this: ">>},...]}},...]},...},...],...},...]}
-
barney__
mc_ my question is two fold I guess.. a) i don't understand what the error means and b) hoping there's more expanation in the truncation
-
barney__
i've create a new function which it doesn't seem to like
-
mc_
barney__: the truncation is the logging lib in Erlang protecting the VM from exploding memory use while generating that log line
-
barney__
mc_ can it be increased? what's the error likely to be?
-
mc_
barney__: typically when i've needed the contents, i either add additional logging in the spot of the error
-
mc_
or if its a doc from the db, just load it directly with curl or something
-
mc_
or if there's a field or two you need from the jobj, log those instead of the whole thing
-
barney__
i'm not logging it.. it's an error that's show it
-
barney__
|0000000000|Undefined:Undefined(emulator) Error in process <0.13837.80> on node 'kazoo_apps⊙lccu' with exit value:
-
barney__
{function_clause,[{j5_request,calculate_call,[.....
-
mc_
yeah, i'm saying, go to j5_request calculate_call definition and see from whence the jobj originated
-
mc_
and maybe you can fetch it from the db
-
mc_
or log the field(s) involved around that crash site
-
mc_
to see why it crashed
-
barney__
it's the j5_request:request() obj - but i don't think it's the issue perhaps the 2nd param .. what does function_clause error typically mean?
-
barney__
Oh... I'm an idiot
-
barney__
nope.. still not working
-
mc_
function_clause means a function clause couldn't be matched, given the inputs
-
barney__
mc_ sent you a pastbin link
-
mc_
take a def like: foo(1) -> ok.
-
mc_
foo(bar) would crash with function_clause error
-
barney__
can you cast your eye over and tell me if i'm being dumb?
-
mc_
casting
-
mc_
barney__: did you change `isReseller`? it should be capital I `IsReseller`
-
barney__
is it case sensetive ?
-
barney__
works with capital I
-
barney__
ffs .. what does lowercase mean?
-
mc_
lowercase = atom()
-
mc_
first letter that is
-
mc_
first letter uppercase is VariableName
-
barney__
ok...that'll be why then :-D
-
barney__
thanks!!
-
barney__
Excellent.. successfully implemented separate rate card for reseller when they're both on per_min billing :)
-
barney__
mc_ is there any retention / cleanup for Modb built in?
-
mc_
barney__: no, but kz_datamgr has db_archive + db_delete
-
barney__
mc_ thanks will look in to it.. as it's getting quite large :/
-
barney__
mc_ sorry next question.. is there a default definition of custom_sip_headers that be inheritied to all devices?
-
mc_
no, they are specific to the device they're assigned
-
barney__
mc_ on offnet I can seet {account_id} macro.. is there one for owner_id?
-
mc_
could be, they're defined in system_config db somewhere
-
mc_
maybe 'ecallmgr' doc?
-
barney__
expandable_macros.. ta!