00:00:08 Yup, it's using the global. 00:17:19 The # used in the fax test matches the rules and verified by making a callf from a voip client. 00:18:43 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? 00:53:31 mc_: shouldn't dsiabling all to global offnets make any account that relies upon not longer able to make outbound or inbound calls? 01:24:27 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? 01:25:01 couchdb is still returning 404 errors for the fax requests with "no resources available" 02:01:30 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 12:32:04 Good morning, afternoon and goodnight. :) 12:32:11 How's everyone? 13:12:43 Hello, well I am great thanks! 13:13:29 are faxes still a thing? i thought they'd joined the telex in the musem 13:15:39 in this day and age, it seems a very expensive and inefficient way of sending a document? 13:20:12 haha 13:20:20 mc_ if account_billing and reseller_billing are both per_minute, I assume there's no way of having differernt rates? 13:20:21 e-mail to fax 13:20:53 There are still requirements in some enviornments to transmit certain types of documents via fax. 13:21:17 is this in the US? 13:21:42 yes 13:21:43 I know of nobody in the UK that still has a fax number 13:23:44 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. 13:23:59 so email to fax is? lol 13:26:17 so I have a print driver that prints a document over fax (voip) to fax receiver that delivers is someone's email mailbox? 13:28:55 i don't get it 13:29:40 barney_, yup... e-mail to fax is permitted. haha 13:30:34 when 2 offices had a physical facsimile machines and you had to scan a pysical document it made sense. 13:30:35 And a received fax delivered to e-mail is permitted 13:32:07 I stopped using them about 15 years ago when all i got was junk faxes 13:34:13 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. 13:34:42 DKIM 13:34:53 PGP 13:34:57 Thus, lowest common denominator, fax. 13:35:12 because that can't be forged :) 13:35:37 barney__, I know. I understand. It's getting global implementation that's the issue. 13:36:59 let me guess, they still use thermal paper rolls that fade after a few months :) 13:37:59 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." 13:38:30 had a customer that had a metal filing cabinet next to a radiator and all their important docuemnts went black lol 13:38:34 thermal paper... you're funny. I don't think they even make thermal paper in the format anymore. 13:40:46 There's always carrier pigeon ;-D 13:49:25 That is sitll being used, no lie. 15:42:09 good morning, mc_ 15:52:17 its morning, at least ;) 15:58:17 haha. That my line. 16:00:43 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? 16:29:47 not without looking at logs 16:29:59 but the carrier config should have the 'fax' flag 16:30:13 you'll want to look at stepswitch logging for that call 16:35:19 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. 16:57:55 be in debug log level 16:58:01 sup kazoo_maintenance syslog_level debug 16:58:05 i think is the command 17:02:48 ah ok. 17:37:52 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? 17:39:14 it's not journal that's truncating as it it's truncated like this: ">>},...]}},...]},...},...],...},...]} 17:40:33 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 17:41:00 i've create a new function which it doesn't seem to like 17:52:10 barney__: the truncation is the logging lib in Erlang protecting the VM from exploding memory use while generating that log line 17:55:47 mc_ can it be increased? what's the error likely to be? 17:56:43 barney__: typically when i've needed the contents, i either add additional logging in the spot of the error 17:56:54 or if its a doc from the db, just load it directly with curl or something 17:57:19 or if there's a field or two you need from the jobj, log those instead of the whole thing 17:57:44 i'm not logging it.. it's an error that's show it 17:57:47 |0000000000|Undefined:Undefined(emulator) Error in process <0.13837.80> on node 'kazoo_apps⊙lccu' with exit value: 17:57:48 {function_clause,[{j5_request,calculate_call,[..... 17:58:38 yeah, i'm saying, go to j5_request calculate_call definition and see from whence the jobj originated 17:58:44 and maybe you can fetch it from the db 17:58:52 or log the field(s) involved around that crash site 17:58:59 to see why it crashed 18:01:30 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? 18:03:13 Oh... I'm an idiot 18:09:53 nope.. still not working 18:17:58 function_clause means a function clause couldn't be matched, given the inputs 18:18:07 mc_ sent you a pastbin link 18:18:16 take a def like: foo(1) -> ok. 18:18:25 foo(bar) would crash with function_clause error 18:18:27 can you cast your eye over and tell me if i'm being dumb? 18:18:42 casting 18:19:44 barney__: did you change `isReseller`? it should be capital I `IsReseller` 18:20:45 is it case sensetive ? 18:22:03 works with capital I 18:22:16 ffs .. what does lowercase mean? 18:26:20 lowercase = atom() 18:26:26 first letter that is 18:26:36 first letter uppercase is VariableName 18:28:52 ok...that'll be why then :-D 18:28:55 thanks!! 19:19:19 Excellent.. successfully implemented separate rate card for reseller when they're both on per_min billing :) 19:45:10 mc_ is there any retention / cleanup for Modb built in? 20:07:37 barney__: no, but kz_datamgr has db_archive + db_delete 20:10:42 mc_ thanks will look in to it.. as it's getting quite large :/ 20:11:36 mc_ sorry next question.. is there a default definition of custom_sip_headers that be inheritied to all devices? 20:29:39 no, they are specific to the device they're assigned 20:30:44 mc_ on offnet I can seet {account_id} macro.. is there one for owner_id? 20:32:06 could be, they're defined in system_config db somewhere 20:32:15 maybe 'ecallmgr' doc? 20:33:22 expandable_macros.. ta!