00:00.10 | dimestop | why is that? |
00:01.34 | Samot | Well it's part of the reason you're at a 50% load most the time |
00:03.11 | dimestop | everything else seems to run fine |
00:03.24 | dimestop | just this 1 delay between originate request and dial |
00:04.56 | dimestop | I've been told it's not always, over 100 calls its still intermittent |
00:04.58 | *** join/#asterisk Terrell (~terr@66.18.218.43) |
00:05.02 | dimestop | so is there any way to get more information from asterisk |
00:05.05 | Samot | If manage debug shows it accepting the Origination Event but then not executing it for 30 seconds means Asterisk thinks it is too busy to handle it. |
00:05.05 | dimestop | as to why its locking up? |
00:05.23 | dimestop | I see |
00:05.38 | KNERD | and more flakey now. The SIP trunk is now reporting the resgistration server is not reachable despite me being able to ping it with reponse. Yeah, I think this is a KVM issue |
00:05.40 | Samot | dimestop: When there are zero calls on the system, does an Originate get delayed? |
00:05.54 | Samot | KNERD: Why do you keep going to this being a KVM issue? |
00:05.59 | dimestop | no delay |
00:06.07 | Samot | dimestop: When does the delay start? |
00:06.15 | KNERD | because too much is going wrong and flakey. |
00:06.22 | Samot | That means nothing. |
00:06.26 | dimestop | Samot: over 100ish calls it starts happening |
00:06.28 | KNERD | i never have this problem with hardare |
00:06.38 | Samot | KNERD: Again, that means nothing. |
00:06.41 | KNERD | and vritual Box runs fine |
00:06.50 | Samot | I give up.\ |
00:06.54 | KNERD | it is when I have had 5 boxes running on KVM all actign strange |
00:06.58 | Samot | Put it on virtual box. |
00:07.13 | KNERD | I have doen it before and runs great |
00:07.21 | Samot | KNERD: well now you've just changed the goal posts. |
00:07.36 | Samot | Before it was one KVM instance, now it's 5 on a host. |
00:07.39 | KNERD | no, as I am going to put it on an actual machine later tonioght |
00:07.59 | KNERD | I mean I have tried 5 different Sangoma OS on KVM and they all actied not right |
00:08.15 | Samot | KNERD: Then you're not doing something right. |
00:08.23 | KNERD | there was some mention on the forum about it |
00:08.30 | Samot | There are problem more KVM installs of FreePBX than hardware these days. |
00:08.37 | Samot | I highly doubt this is a KVM issue. |
00:08.58 | dimestop | Samot: it's not always though, I was just told they had 150+ calls without a delay.. so it's intermittant |
00:08.58 | Samot | KNERD: Those are "hosting companies" that are running dozens of PBXes on one VM host. |
00:09.06 | Samot | And don't understand how to run a VM host. |
00:09.12 | KNERD | Well here is one https://community.freepbx.org/t/kvm-installation-issues-filesystem-errors/45671 |
00:09.41 | KNERD | so I am not the only one complaining |
00:09.44 | Samot | The VM has 2 GB RAM, 32 GB of disk space and uses VirtIO < THAT'S NOT KVM |
00:10.50 | Samot | That type of VM has always had a problem. |
00:11.18 | KNERD | Well, is there some guide to what is the suggested setup? |
00:11.26 | KNERD | I can't find one |
00:11.36 | dimestop | Samot: I recently changed the originate to have an async flag, would this help at all? |
00:11.43 | Samot | VMWare, standard KVM hosts |
00:12.06 | Samot | dimestop: You added it or removed it? |
00:12.15 | dimestop | added it |
00:12.17 | Samot | If this issue started after you made the change, roll back. |
00:12.35 | Samot | OK, I'm heading out. |
00:12.45 | dimestop | no we made the change a short while ago to try and fix it |
00:12.57 | dimestop | thanks for the help so far |
00:15.16 | Terrell | I am thinking of setting up an asterisk server. I have lots of hardware but probably would do it on a debian box. Issue is I think I would need a card. Is there another way? Like a box that will interface the RJ side to usb or ethernet? |
00:16.58 | KNERD | heh..I just relaized I was in asterisk channel and not FreePBX |
00:17.12 | KNERD | I guess it's all the same now :-p |
00:17.35 | KNERD | Terrell: what do you mean you "think you need a card"? |
00:18.33 | Terrell | I ether need a card with a jack for the pots phones or I need a box that will interface the pots phones to usb or ethernet |
00:19.10 | KNERD | ATA gateway tends to be cheaper |
00:19.20 | KNERD | aka "box" |
00:19.30 | *** join/#asterisk rpifan (~rpifan@p578D20EA.dip0.t-ipconnect.de) |
00:19.47 | Terrell | Knerd. I didnt realize for sure you were talking to me. |
00:20.22 | Terrell | home many numbers on an ATA gateway? I can get along with 1. |
00:20.42 | Terrell | s/home/how/ |
00:21.01 | KNERD | numbers? Phne numbers, or lines? |
00:21.29 | Terrell | lines. I need to get a number on hte line but that is a differnet issue |
00:21.54 | KNERD | well the gatwayes either card or box is 1 to 1 |
00:22.18 | KNERD | meaning how many lines it supports is the number of lines which can be plugged into it |
00:22.19 | Terrell | I am sick and tired of the crappy service from my providers |
00:22.52 | KNERD | what providers? |
00:22.57 | Terrell | ok. Term is a gateway. I have one here. Let me find out the model. |
00:23.27 | Terrell | says ATA with router |
00:23.29 | KNERD | you wanto to switch from Analog or Digital SIP? You gotta explain more of what you want |
00:24.00 | Terrell | analog for now. But I may want to provide business services |
00:24.29 | Terrell | I loooked at asterisk over a decade before |
00:24.48 | KNERD | That ATA router is probably lockled and usualt only handle 1 to 2 lines |
00:25.17 | Terrell | ya it is. But I paid for it so its mine and I'll unlock the thing |
00:26.51 | Terrell | empty box. no manual in it. Where did I put it? |
00:26.56 | KNERD | Porbably better off going with something lliek this: http://www.grandstream.com/products/gateways-and-atas/voip-gateways/product/gxw4104/4108 |
00:27.12 | KNERD | They are about $100 and $50 on eBay |
00:30.19 | Terrell | its a cisco MPA122 |
00:30.31 | *** join/#asterisk rpifan (~rpifan@p578D20EA.dip0.t-ipconnect.de) |
00:30.57 | Terrell | will support 2 lines. I presume this can be 2 numbers as well |
00:31.12 | KNERD | yes |
00:31.18 | Terrell | great |
00:31.33 | Terrell | will asterisk support it or are they generic? |
00:31.52 | KNERD | if you can get into it it will |
00:32.34 | Terrell | I'll get into it even if I have to file a Court of Queens Bench Action |
00:32.47 | KNERD | you would be beter off maybe just getting a VoIP telephone |
00:33.14 | Terrell | I don't want to rewire the house |
00:33.25 | KNERD | dont have to |
00:33.30 | KNERD | plenty of wi-fi ones now days |
00:34.06 | Terrell | Hmm. I just wanted it to work so I didn't need to do it. THat was years ago. I have been paying for years with zero service |
00:34.11 | KNERD | some even come with Androids on it |
00:34.23 | Terrell | ?? |
00:34.29 | KNERD | Android OS? |
00:34.38 | KNERD | never heard it of. Made by Google? |
00:34.41 | Terrell | ya. I prefer debian |
00:34.58 | KNERD | Well, they dont made Debian telephones |
00:35.40 | KNERD | at least I never heard of it |
00:35.56 | Terrell | Since I only need to support 1 number then all I should need to do is get a VoIP phone and plug it into the existing wiring |
00:36.16 | KNERD | dont work like that |
00:36.17 | Terrell | run it over WiFi and I"m done |
00:36.59 | Terrell | I have at least 7 drops in the house and garage (shop) Just want to get them running |
00:37.19 | KNERD | howver many providrs support eh telephone connecting straight to their service so you really don;t need a PBX/Asterisk for hat |
00:37.45 | Terrell | I have not looed into a VoIP phone to WiFi interface. How do they run? |
00:38.07 | KNERD | what so you mean how they run? |
00:38.23 | Terrell | Ya. They say they do and want $$$ and I pay them for 4 years and its not hooked up yet |
00:38.43 | KNERD | not sure what you ean |
00:38.51 | KNERD | *mean |
00:38.53 | Terrell | sounds like a handset with a battery in it and I give it an IP address |
00:39.22 | KNERD | They have both desk and wireless ones |
00:40.09 | Terrell | I bought the Cisco 4 yearsa ago and said just put the old numbers in and I'll pay you and it should handle the existing wiring (pots wiring form 1960s) They said yes. Its not been done yet |
00:40.20 | KNERD | https://www.yealink.com/products_list_23.html#filter2 |
00:40.27 | KNERD | Wirless ones here |
00:40.54 | Terrell | okay. Its what I thought. And it might be a way to go since there may be a wiring problem here. |
00:41.05 | KNERD | Here are some Wi-Fi ones http://www.grandstream.com/products/ip-video-telephony/ip-video-phones-android |
00:41.28 | Terrell | how much are they? |
00:41.50 | KNERD | TYou can look on Amazon or eBay .. |
00:42.04 | Terrell | ballpark range. |
00:42.17 | KNERD | $100 USD |
00:42.27 | Terrell | $50 bux? More? Less? |
00:42.45 | Terrell | for that much I prefer to get the Cisco running |
00:43.19 | KNERD | ok |
00:43.24 | Terrell | But the provider I called and have paid for 4 years wants $30 per month. |
00:44.24 | Terrell | I got the BabyTel system 4 years ago. They charged me for the Cisco. |
00:46.24 | Terrell | I have been thinking... get asterisk running. It can provide as many numbers as I need and then use TCP/IP to talk to say the Cisco which can handle the old wires |
00:48.00 | Terrell | If I install Asterisk in one of my servers and I have at least 6 right now... then All I need is the interface to the old wiring... |
00:48.44 | Terrell | Asterisk can't be all that hard to install |
00:55.59 | Terrell | Knerd. Here is the thing. I have paid out so far over $1200 and they never got anything running. For 1 number. If I want 2 for say the old fax system then its $2400. All I really need to support the old lines is a couple phone numbers which should not be all that hard to get and I interface via TCP/IP on eithernet to the CISCO and I should have the pots lines running |
00:56.41 | Terrell | Am I right? |
01:00.13 | KNERD | you would probably bebetter off using the Asterisk add on, FreePBX which makes it all easier to set up Asterisk |
01:00.24 | KNERD | Asterisk doe s have a steep learnign curve |
01:01.41 | Terrell | The Cisco interfaces to my router. I currently run it to a WiFi box. It talks ethernet to my DSL modem. I'll be installing an OpenBSD firewall as soon as I can get it from one of my sysadmins and He is part of the OpenBSD development team which is headquarted here in Calgary and I know THeo |
01:02.10 | Terrell | is it worse than Apache? I've been running web servers since 1998 |
01:03.32 | Terrell | All that Cisco is doing is sending packets to the BabyTel servers. I'll set up my own. |
01:09.54 | Terrell | Knerd. Here is another thought. And I have been running servers for 20 years. One of my sysadmins works for the City of Calgary. really. I don't need to even admin Asterisk. All I need to do is hire someone who can. |
01:12.05 | KNERD | That si what I told you alredy |
01:12.16 | KNERD | many providers allow direct connection with yoru own equipment |
01:20.43 | korzq | https://pastebin.com/abwpxGfz after install from source and run thru systemd |
01:21.13 | Samot | That's a pretty straight forward error. |
01:21.26 | Samot | Have you confirmed that .conf file exists and has proper permissions? |
01:22.55 | korzq | the dir does not exist |
01:23.15 | Samot | There you go. |
01:23.50 | korzq | do i just make one? or do i have to install something |
01:24.26 | Samot | Do you need the radius client? |
01:24.40 | Samot | Asterisk is one of those things that you have to tell it what to do. |
01:24.58 | korzq | i dont do radius |
01:25.00 | Samot | It's looking for the radiusclient.conf because it was told to load it. |
01:26.54 | korzq | well, how do i tell it to not load it? the only thing that should change the conf is make samples ... |
01:29.33 | Samot | https://github.com/asterisk/asterisk/blob/master/configs/samples/cdr.conf.sample |
01:33.54 | korzq | thanks! i successfully got rid of the issue by removing cdr related files |
01:43.27 | *** join/#asterisk samwierema (~samwierem@195.240.143.134) |
01:48.23 | *** join/#asterisk troyt (zncsrv@2601:681:4100:8981:44dd:acff:fe85:9c8e) |
01:52.31 | dimestop | hi Samot, a different question to the problem I had before.. is there any way to get deeper informatino about why asterisk is delayed, or how it determines 'its too busy' to handle the call? |
01:53.35 | Samot | What version of Asterisk are you running? |
01:54.07 | dimestop | 13.19.1 |
01:56.03 | *** join/#asterisk terr_ (~terr@66.18.218.43) |
01:56.11 | Samot | OK so you're a few updates behind. |
01:56.20 | Samot | And you're using Chan_SIP? |
01:56.25 | dimestop | yes |
01:56.34 | Samot | What else is this box doing? |
01:56.42 | terr_ | KNERD, Still here? I just checked the GXW410x gateway. Looks good |
01:57.39 | dimestop | it runs voip monitor |
01:57.42 | dimestop | but that's it |
01:58.53 | Samot | But it records calls.. |
02:01.09 | Samot | ? |
02:02.46 | terr_ | GXW410x FXO DOes anyone have any idea how much one of these will cost? |
02:03.11 | Samot | Google? |
02:03.19 | Samot | Since prices will vary depending on source and location. |
02:03.45 | terr_ | Just a ball park is all that is required |
02:04.53 | terr_ | There we go. At Amazon its about $200 |
02:05.12 | terr_ | I think I will become an ISP |
02:05.50 | Samot | Please don't say that. |
02:06.59 | terr_ | Lets see. To do so... Install Asterix. Forget the Cisco fateway I already have. And I have been paying for about 4 years and they never hooked it up. I called Telus here in Calgary. Can you hook up my phone. Answer. They started billing me 6 months ago and did not hook it up. |
02:07.39 | terr_ | So. I take them to court. Judge. Please cancel these bills and BTW that number they have. I want it assigned to me. |
02:07.50 | terr_ | Samot. Why not say that? |
02:08.19 | Samot | Because people say that too often and then we have to support them. |
02:08.33 | terr_ | SAmot. I will offer to pay. |
02:08.44 | Samot | Pay for what? |
02:08.53 | terr_ | I have been running web servers for 20 years |
02:09.03 | terr_ | for sysadmin services. |
02:09.54 | Samot | And that qualifies you for running an ISP? |
02:09.59 | Samot | What services would you provide? |
02:10.00 | terr_ | I already have static IPs. I have enough bandwidth right now for 15 DS0s |
02:10.14 | Samot | 15 DS0's? |
02:10.17 | Samot | Wow. |
02:10.19 | terr_ | Been incorporated for 30 years. |
02:10.44 | terr_ | a Ds0 is only 65536 bits per second |
02:11.27 | Samot | I am fully aware that a DS0 is 64Kbps. |
02:11.41 | dimestop | yes it records calls too |
02:11.45 | Samot | And that you have roughly over half a DS1. |
02:11.54 | terr_ | I have 3 Mbps down and 1 Mbps up. I can boost that to 15/15 with no problem and I can instal fiber also with no problem |
02:12.04 | Samot | And how does that make you an ISP? |
02:12.43 | terr_ | Because I have everything I need to do it and have had it installed for 20 years. |
02:12.55 | Samot | No, no you don't. |
02:13.07 | terr_ | what dont't I have? |
02:13.24 | Samot | The backbone pipe |
02:13.29 | dimestop | my home connection is 100MB |
02:13.33 | Samot | ^^^ |
02:13.38 | dimestop | 100Mb* |
02:13.54 | Samot | Have a 1Gbps fiber isn't making you an ISP when that is an average offering by ISPs. |
02:14.04 | Samot | You're looking at a rather large backbone. |
02:14.05 | terr_ | Biggest backbone I need is 1 Mbps up for up to 15 DS0's |
02:14.19 | dimestop | oh |
02:14.21 | Samot | OK so you have a 1Mbps pipe to the Internet. |
02:14.21 | dimestop | for DS0s |
02:14.22 | Samot | OOOOO |
02:14.38 | terr_ | THat is all I need for now. |
02:14.45 | Samot | In a world of broadband, DS0's mean nothing. |
02:14.49 | Samot | To be an ISP? |
02:14.50 | Samot | Come on. |
02:15.07 | terr_ | I'm not offering that. I'll just offer asterisk for now. |
02:15.14 | dimestop | it cost us $1500/y just for an ASN |
02:15.23 | Samot | Oh even worse. |
02:15.26 | Samot | You want to be an ITSP. |
02:15.32 | Samot | Don't. |
02:15.42 | Samot | Telephony is not web hosting. |
02:15.49 | terr_ | I already paid a provider $1200 and they never hooked up even a single phone. |
02:16.02 | terr_ | I have been doing web hosting for 20 years |
02:16.10 | Samot | OK and? |
02:16.16 | Samot | Web hosting != Telephony |
02:16.20 | Samot | At all. |
02:16.29 | terr_ | and I'll just look at the phone service. |
02:16.34 | terr_ | ya I know that |
02:16.38 | Samot | What phone services? |
02:16.43 | Samot | So you want to be a resell |
02:16.51 | Samot | A facade. |
02:16.53 | dimestop | if you're ready just do it and see what happens |
02:17.06 | Samot | You don't want to actually be the ITSP, you just want to sell their services... |
02:17.24 | terr_ | just a POTS service. Why pay them any more money. I can run my own server and support my own 2 pots lines |
02:17.37 | Samot | I have no idea what that means. |
02:17.49 | terr_ | NOPE. If I had wanted to do it I would have in 1998 |
02:18.09 | Samot | I have no idea how you think you're going to provide phone services to people. |
02:18.20 | Samot | With two pots lines, 15 DS0s and six servers... |
02:18.42 | terr_ | I'll do it for me. Instead of paying $60 per month I'll just run my own server |
02:18.54 | Samot | OK so you still need a SIP trunk |
02:18.58 | Samot | Or a PSTN connection. |
02:19.12 | terr_ | I'll check into that. |
02:19.12 | Samot | Having a PBX doesn't absolve you of that. |
02:19.20 | Samot | There's not to check into. |
02:19.24 | Samot | You need a PSTN connection |
02:19.37 | Samot | POTS, PRI, T1, SIP |
02:19.40 | dimestop | the great voip misunderstanding |
02:19.45 | Samot | Doesn't matter. You still need one. |
02:19.54 | terr_ | Gotacha. So its pots into Asterisk and then PSIN out. |
02:20.03 | Samot | No. |
02:20.11 | Samot | PSTN = Public Switched Telephone Network |
02:20.16 | Samot | It's how calls are made. |
02:20.19 | Samot | Between all the carriers. |
02:20.29 | Samot | How you can call your cell phone from your office phone.. |
02:20.30 | dimestop | the only way to bypass the carrier |
02:20.36 | dimestop | would be to link up with every other carrier |
02:20.42 | dimestop | which you can't do |
02:20.45 | dimestop | so you have to pay one of them |
02:20.47 | Samot | Oh you can.. |
02:20.51 | Samot | If you have LOTS of money |
02:20.53 | dimestop | yeah |
02:21.00 | Samot | And the right paper work |
02:21.17 | terr_ | I know how this is done. I thought with an Asterisk server here I can interface to someone with the interface to the Public network |
02:21.29 | Samot | Yes an ITSP. |
02:21.35 | Samot | A Carrier. |
02:22.23 | Samot | Your POTS lines would do |
02:22.30 | Samot | They can support what, 1-2 calls each. |
02:22.41 | terr_ | Last time I looked into this was 1998 |
02:22.47 | Samot | Yeah. |
02:22.50 | Samot | It's been 20 years. |
02:22.50 | terr_ | all I need. |
02:22.55 | Samot | A lot has changed. |
02:22.58 | Samot | For home service? Yes. |
02:23.05 | terr_ | not much with POTS. |
02:23.05 | Samot | To be an ITSP/ISP, no. |
02:24.11 | terr_ | As I recall I saw numbers advertised ayears ago out of the states. Quite inexpensive |
02:24.42 | Samot | Well you can't get out of country DIDs with POTS |
02:24.51 | Samot | You'll need an ITSP and a SIP trunk. |
02:24.56 | terr_ | I think I know exactly who to call to get that information. |
02:25.28 | terr_ | I am pretty sure Probne Mines did it |
02:25.54 | Samot | Quite a few do it. |
02:26.41 | terr_ | I'm going to have to run for now. I wanted to know the downstream side of things - how to get my phone lines running because its been 4 years and an ISP plus a Telco who have not done it. My frriend is here. Thanks. |
02:36.57 | KNERD | terr_: about $50 USD on eBay for the GXW410x gateway. |
03:05.19 | *** join/#asterisk LoKoMurdoK (~LoKoMurdo@fedora/LoKoMurdoK) |
03:24.45 | life_of_e | Samot: Thanks, PJSIP/${EXTEN}@endpoint worked. I just have to rework some of my dialplan |
03:27.17 | life_of_e | Some more testing of PJSIP is in order but at least I can dial out through the ATA and both chan_sip and chan_pjsip will support the hook flash now. |
03:43.32 | life_of_e | Can any section of pjsip.conf use templates or is it only specific sections? |
03:45.50 | *** join/#asterisk K0HAX (~michael@gateway/tor-sasl/k0hax) |
03:56.05 | *** join/#asterisk blast_ha1dcheese (~blast_har@unaffiliated/blast-hardcheese/x-0199635) |
04:10.33 | *** join/#asterisk SuperBawlz (~SuperBawl@c-68-60-126-222.hsd1.mi.comcast.net) |
04:32.38 | *** join/#asterisk csavinovich (sid296765@gateway/web/irccloud.com/x-hirsfnjxjeyalkyu) |
04:32.38 | *** mode/#asterisk [+o csavinovich] by ChanServ |
04:33.08 | *** join/#asterisk X-Rob_ (X-Rob@gateway/web/irccloud.com/x-ftcdqgvoblncjbmv) |
04:33.08 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
04:34.26 | *** join/#asterisk mducharme (uid303982@gateway/web/irccloud.com/x-mvsocohatkzwbpsb) |
04:35.54 | *** join/#asterisk moy (sid47040@gateway/web/irccloud.com/x-vsacpkrerwafbpux) |
04:38.52 | *** join/#asterisk darkunderlord (sid242683@gateway/web/irccloud.com/x-txkphrxklsvrgsce) |
04:38.53 | *** join/#asterisk leftleg_ (sid291906@gateway/web/irccloud.com/x-aacvvqhmxwacqosz) |
04:39.42 | *** join/#asterisk gregs (sid160074@gateway/web/irccloud.com/x-meqzmggoiuimansq) |
04:40.12 | *** join/#asterisk file (sid178970@asterisk/developer-and-muffin-lover/file) |
04:40.12 | *** mode/#asterisk [+o file] by ChanServ |
04:46.27 | *** join/#asterisk samwierema (~samwierem@195.240.143.134) |
04:47.55 | *** join/#asterisk blast_hardcheese (~blast_har@unaffiliated/blast-hardcheese/x-0199635) |