00:12.28 | *** join/#asterisk _nexxus_ (~bwg@leon.generalamalgamated.com) |
00:34.01 | *** join/#asterisk tsaf (~pastos@static.175.201.47.78.clients.your-server.de) |
01:14.35 | *** join/#asterisk stefanauss__ (~stefanaus@host135-34-dynamic.7-87-r.retail.telecomitalia.it) |
03:26.25 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
04:55.09 | *** join/#asterisk Oatmeal (~Suzeanne@gateway/vpn/privateinternetaccess/suzeanne) |
05:07.36 | *** join/#asterisk tehgooch (tehgooch@unaffiliated/tehgooch) |
05:18.46 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
05:26.54 | iheartlinux | I'm getting a: (cause 20 - Subscriber absent) on a server of mine. The problem only appears when the vps first starts up. I restart asterisk, the error goes away, and am able to make calls. Any ideas? |
05:27.42 | drmessano | Not without a whole log to go with it |
05:27.45 | drmessano | One line is one line |
05:30.01 | iheartlinux | added debug to logger, rebooted |
05:33.59 | iheartlinux | https://old.trunkmasters.com/pastebin/messages |
05:38.31 | Samot | Wow. |
05:38.53 | Samot | That is filled with garbage that actually makes it harder to see the call and/or routing issues. |
05:39.38 | Samot | iheartlinux: drmessano said log not debug. It meant "asterisk -rvvvvvvvvv" |
05:39.54 | drmessano | Looks like there's an invite before the user is even registered |
05:40.01 | drmessano | Regardless |
05:40.09 | Samot | Well it looks like a lot of things trying to register. |
05:40.10 | drmessano | There's no error here |
05:40.15 | Samot | It's there |
05:40.22 | drmessano | .... |
05:40.24 | drmessano | JFC |
05:40.31 | drmessano | The VPS is started up |
05:40.31 | Samot | Well the log is there |
05:40.40 | drmessano | There's a fucking error Subscriber Absent |
05:40.42 | Samot | If it's really an error... |
05:40.42 | drmessano | THEN the register |
05:40.46 | drmessano | Thats not an error |
05:40.46 | Samot | Right |
05:40.50 | Samot | That I get |
05:41.08 | drmessano | *Expected behavior* |
05:41.19 | iheartlinux | https://old.trunkmasters.com/pastebin/error |
05:41.23 | drmessano | Dude |
05:41.36 | drmessano | The subscriber |
05:41.38 | drmessano | IS absent |
05:42.03 | drmessano | Can't send a call to someone that isn't registered yet |
05:42.21 | *** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net) |
05:42.24 | Samot | Yup. |
05:42.31 | drmessano | There's no error here |
05:42.33 | drmessano | It's normal |
05:42.35 | drmessano | Expected |
05:42.37 | drmessano | Not a problem |
05:42.40 | drmessano | Nothing to see here |
05:42.45 | iheartlinux | right, but the scriber (my provider) never registers, until restart of asterisk |
05:42.53 | drmessano | Okay? |
05:42.53 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
05:43.04 | iheartlinux | but it does register at that point |
05:43.08 | iheartlinux | same config |
05:43.09 | Samot | Like it should. |
05:43.13 | drmessano | Like it should |
05:43.14 | Samot | What's the issue? |
05:43.28 | Samot | You restarted the VPS |
05:43.31 | Samot | Asterisk started u p |
05:43.39 | iheartlinux | it registers only after restart of asterisk |
05:43.39 | Samot | Your trunk registered to your provider... |
05:43.45 | Samot | What restart? |
05:43.53 | drmessano | .... |
05:43.54 | Samot | Versus what exactly? |
05:44.00 | Samot | Stopping it? |
05:44.04 | iheartlinux | if I boot the vps, asterisk starts up automatically with openrc |
05:44.22 | drmessano | Yep |
05:44.26 | drmessano | and you're trying to make a call |
05:44.41 | drmessano | Before the fucking engine has even gotten to the point of registering |
05:44.42 | iheartlinux | I get the scriber absent until I restart asterisk itself again |
05:44.44 | Samot | Before the trunk is able to register. |
05:44.46 | drmessano | Before the fucking engine has even gotten to the point of registering |
05:44.56 | iheartlinux | It won't register |
05:45.13 | iheartlinux | at all until restart of asterisk after the initial reboot of the vps |
05:45.20 | iheartlinux | no matter how long I wait |
05:46.05 | drmessano | Then you need to have Asterisk wait for the network |
05:46.12 | drmessano | You're not showing us that part |
05:46.25 | drmessano | I dont know WTF openrc is |
05:46.32 | Samot | It's a Gentoo thing |
05:46.35 | drmessano | But you need to wait on the network before Asterisk starts |
05:46.41 | Samot | It's an init script handler |
05:46.50 | drmessano | I fucking hate Gentoo |
05:46.54 | drmessano | So yeah |
05:47.11 | Samot | So it's not even the standard Gentoo system init |
05:47.21 | Samot | It's some project on Gentoo |
05:47.26 | drmessano | iheartlinux: Have it wait like 30 seconds after startup |
05:47.33 | drmessano | Then start Asterisk |
05:48.52 | iheartlinux | openrc has efectively two run levels, boot & default |
05:48.57 | drmessano | sigh |
05:49.02 | drmessano | I dont care |
05:49.10 | iheartlinux | my network is on boot (ie eth0) asterisk is at default |
05:49.20 | drmessano | Still not enough then |
05:49.26 | Samot | This is an initialization issue. |
05:49.37 | drmessano | 30 seconds |
05:49.46 | drmessano | or switch to like CentOS or something that actually works |
05:49.55 | Samot | Ubuntu |
05:50.03 | drmessano | Literally anything else |
05:50.05 | drmessano | Even Slackware |
05:50.09 | Samot | Mint |
05:50.23 | iheartlinux | I run this same image on other vps's. something just got lost in translation |
05:50.25 | drmessano | This is 100% an init issue |
05:50.39 | Samot | Are they all Gentoo? |
05:50.43 | drmessano | Well, this isn't ###gentoo |
05:50.45 | iheartlinux | maybe so, been running this image for 2 years |
05:50.45 | Samot | Running OpenRC? |
05:50.46 | drmessano | So idk |
05:50.53 | iheartlinux | ok |
05:51.01 | Samot | So you have this issue on multiple Gentoo servers running OpenRC |
05:51.06 | drmessano | idk.. i've been not running Gentoo for 12 and never had this problem |
05:51.06 | iheartlinux | nope |
05:51.09 | iheartlinux | not at all |
05:51.23 | iheartlinux | just this image |
05:51.29 | drmessano | But it's 100% an init issue |
05:51.34 | drmessano | So delay the startup |
05:51.35 | Samot | ^^^^ |
05:51.36 | drmessano | and try it |
05:51.37 | iheartlinux | I understand that |
05:52.06 | drmessano | Lets not argue for hours about what it's not. Delay the startup. If that fixes it, work your way back |
05:52.12 | drmessano | This isn't an Asterisk issue |
05:52.25 | iheartlinux | understood |
05:53.30 | Samot | #openrc |
05:53.52 | Samot | Yes, it's an actual channel. |
05:54.00 | drmessano | Well |
05:54.08 | drmessano | If it's some little shit thing |
05:54.12 | drmessano | and has an IRC channel |
05:54.24 | drmessano | There must be a need for people to argue for hours about it |
05:54.31 | drmessano | So that's unfortunate |
05:55.06 | Samot | Shrug, I had no idea what openrc was until it was mentioned tonight |
05:55.15 | drmessano | This is why I stick to stock tools for production |
05:56.59 | Samot | Usually those stock tools are up somewhere.. |
05:57.02 | Samot | Where they are safe. |
06:31.19 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
06:50.20 | *** join/#asterisk miralin (~Thunderbi@91.237.94.1) |
07:06.17 | *** join/#asterisk tzafrir (~tzafrir@local.xorcom.com) |
07:29.38 | *** join/#asterisk Mr_Pleb_Mgoo (~jakeb@103.46.213.148) |
07:33.03 | *** join/#asterisk Gullibaer (~Signor_Ro@ip-109-90-16-90.hsi11.unitymediagroup.de) |
07:35.10 | iheartlinux | drmessano Samot thanks for the point in the right direction, fixed the asterisk init script pretty easily |
07:35.43 | drmessano | I bet you weren't waiting for the network |
07:35.52 | iheartlinux | I'm sure |
07:35.57 | Gullibaer | @Samot many thanks for your help, with the new certificate it works, so it was really an issue with the cert. Clients can connect via TLS, but the first one of the two error lines are still there, the other one changed to a warning message. further investigation from my side need to be executed. |
07:36.57 | iheartlinux | for some reaon this time around openrc was starting asterisk too close to the network |
07:44.12 | drmessano | Hmmm |
07:44.20 | drmessano | I dont understand "close" |
07:44.21 | drmessano | I mean |
07:44.30 | drmessano | Most init systems have dependencies |
07:44.45 | drmessano | So you can't tell this one to wait until the network is up? |
07:45.04 | drmessano | Seems basic |
07:45.35 | drmessano | Maybe Gentoo needs systemd.. that part at least works |
07:45.47 | iheartlinux | my network was in "boot", asterisk was @ the front of "default" (rc3) |
07:46.06 | iheartlinux | not enough time, like you said |
07:47.45 | iheartlinux | yes the network was "started" prior to asterisk starting up, but just too soon i suppose |
07:47.59 | drmessano | Thats generally why modern init systems don't rely on weighting |
07:48.29 | drmessano | Because timing things is dumb.. Having actual dependencies is the way to go |
07:48.48 | drmessano | You get a faster, newer machine, and suddenly shit's starting too fast |
07:48.59 | iheartlinux | there are dependencies, and "net" is one within asterisk |
07:49.04 | iheartlinux | init script |
07:49.20 | iheartlinux | like I said the network was "up" |
07:49.54 | iheartlinux | I don't understand it either really. my net card is configured with a static ip |
07:50.08 | iheartlinux | so there's no waiting on dhcp or anything |
07:51.21 | iheartlinux | I just told asterisk to start last by adding an "after" statment to the depend() section |
07:53.15 | iheartlinux | s/section/function |
07:58.12 | iheartlinux | gentoo is systemd now by default |
07:58.35 | iheartlinux | I use Funtoo which is OpenRC by default |
07:59.49 | drmessano | So even worse, a fork of Gentoo? |
07:59.59 | drmessano | Do you hate life? |
08:00.09 | iheartlinux | No not really, |
08:00.33 | iheartlinux | Daniel Robbins (founder of Gentoo) started Funtoo |
08:01.00 | iheartlinux | Political disagreement with the Gentoo Jedi Council :) |
08:01.36 | drmessano | I never understood why Gentoo even needed to exist, so whatever |
08:01.49 | iheartlinux | source based |
08:02.18 | iheartlinux | configure script options |
08:03.19 | iheartlinux | no need to ask some dev to include some desired feature for some package, diy |
08:03.57 | drmessano | I understand the claims |
08:04.07 | drmessano | But I don't see the practicality of it |
08:04.42 | drmessano | I've never met a Gentoo user that didn't spend all their time making shit work |
08:05.00 | iheartlinux | gentoo yes, broken more often |
08:05.01 | drmessano | I would rather have a distro I can use |
08:05.10 | iheartlinux | funtoo, "just works" |
08:05.14 | drmessano | ROFL |
08:05.19 | drmessano | Not buying it |
08:05.29 | iheartlinux | I've used both |
08:05.34 | drmessano | Same premise |
08:06.13 | iheartlinux | Personal testimony, everyone's free to have opions |
08:06.18 | *** join/#asterisk miralin (~Thunderbi@91.237.94.1) |
08:06.51 | drmessano | http://www.funtoo.org/Funtoo_Linux_FAQ |
08:07.29 | drmessano | Basically, I prefer to be a lame asshole that spends his time on applications and not optimizing the OS |
08:07.44 | drmessano | So binaries are fine |
08:08.02 | drmessano | Some things I do build from source |
08:08.04 | drmessano | Like Asterisk |
08:08.15 | drmessano | But I don't need a custom kernel, ever |
08:08.19 | drmessano | Not worth it, ever |
08:08.42 | iheartlinux | I've never not used a custom kernel |
08:08.51 | iheartlinux | My first distro was LFS |
08:09.05 | iheartlinux | not really a distro though |
08:09.19 | iheartlinux | Found Gentoo after circa 2002 |
08:09.29 | drmessano | Makes it harder to replicate in production if you're building everything custom |
08:09.52 | iheartlinux | yeah true, but you learn so much more |
08:10.19 | drmessano | I don't need to keep learning over and over.. I would prefer to use |
08:11.18 | drmessano | But I also don't modify the ECM on my car |
08:11.29 | drmessano | I feel like the factory had the right idea |
08:11.33 | drmessano | I'd rather drive |
08:12.03 | iheartlinux | maybe so, but linux was started as a "custom" thing |
08:12.16 | iheartlinux | to run on the computer of some geek |
08:12.59 | drmessano | I understand the lineage.. my experience predates Linux |
08:14.27 | drmessano | But I don't think Linus created Linux with the intention that everyone was going to sit around all day recompiling their kernel like watching paint dry |
08:14.58 | drmessano | I suspect he wanted people to use it, not just build it over and over |
08:15.06 | iheartlinux | modern hardware brother, mine compiles in 2 mins |
08:15.39 | drmessano | and I get 2 mins more work done in that time |
08:15.43 | iheartlinux | I'd agree with you if we were stuck with 386's |
08:16.33 | drmessano | So you've graphed these massive performance improvements that justify the time you consistently spend on it? |
08:16.34 | iheartlinux | and if I didn't have a package/source manager like portage |
08:16.42 | drmessano | You have an ROI for all that tweaking? |
08:16.56 | iheartlinux | yes absolutely |
08:17.08 | drmessano | Cool, post it somewhere |
08:17.28 | iheartlinux | I have a custom ITSP image |
08:17.33 | drmessano | Time spend vs Productivity gained |
08:17.43 | drmessano | spent* |
08:18.30 | iheartlinux | I don't spend alot of time compiling |
08:18.59 | drmessano | Ok, but surely you have something to show for the performance gained from these optimizations |
08:19.14 | drmessano | Something tangible |
08:19.31 | iheartlinux | I understand that's what Daniel put in the FAQ, but that's not why I use a source based distro |
08:24.53 | iheartlinux | these days hardware is ample, so who cares about performance gains from tweaking gcc optimization and processor flags. Scripting is what I care about. and like you compile asterisk form source, portage does that for me for every package on my system once. changes can be system wide or package by package. those changes can be move/copied from system to system. so really it saves me time. I don't have to |
08:24.55 | iheartlinux | think about it too much. |
08:29.39 | iheartlinux | If my shit was breaking all the time because of stupid Gentoo Devs, I'd be on Ubuntu in a heartbeat |
09:05.39 | *** join/#asterisk karelk (~karel@31.10.154.117) |
09:09.25 | *** join/#asterisk stefanauss_ (~stefanaus@host170-92-dynamic.12-79-r.retail.telecomitalia.it) |
10:15.42 | *** join/#asterisk s-mutin (~s-mutin@85.234.114.134) |
11:00.38 | *** join/#asterisk sirsnus (~woose@c-76-105-87-143.hsd1.ga.comcast.net) |
12:01.41 | *** join/#asterisk karelk (~karel@31.10.154.117) |
12:22.06 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |
13:34.02 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |
13:46.01 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
13:50.28 | *** join/#asterisk miralin (~Thunderbi@85.115.248.97) |
13:53.54 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
14:24.07 | *** join/#asterisk sunatsea (~privateli@242.red-79-151-141.dynamicip.rima-tde.net) |
14:24.52 | sunatsea | hi room i am having an issue i need the caller to receive 180 and 183 , no matter the order.. but right now asterisk is only sending 180 without a 183 |
14:32.27 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
14:34.06 | Samot | How is that an issue? |
14:38.18 | Samot | sunatsea: ^^^ |
14:39.28 | sunatsea | Samot: i would like to send a 180 and 183 |
14:40.27 | Samot | Who are the "callers"? |
14:40.36 | sunatsea | me in this example |
14:41.13 | Samot | So you want you want make a call out to the PSTN and then have it send back a 180 and then a 183? |
14:41.35 | sunatsea | i'm making a call to an extension on asterisk |
14:41.46 | sunatsea | but i want to deliver 180 and 183 to the user who makes the call , not just 180 |
14:41.54 | Samot | But why? |
14:42.03 | Samot | Are you actually going to deliver early media? |
14:42.17 | sunatsea | because otherwise the user wouldn't hear a ring tone in some cases |
14:42.35 | Samot | By default Dial() using the r option |
14:42.47 | Samot | s/using/uses/ |
14:42.53 | Samot | Which is ringback. |
14:43.05 | sunatsea | ah i'm not using that |
14:43.34 | Samot | But if you want a 183 |
14:43.42 | Samot | You need to do Progress() before Answer() |
14:44.54 | sunatsea | I do use Progress() to send ringing |
14:45.03 | Samot | But again, r is a default Dial() option |
14:45.54 | Samot | Are you saying you're not hearing any ringing when you call another extension? |
16:05.19 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
16:21.06 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
16:27.53 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |
16:40.09 | *** join/#asterisk Jesterboxboy (~Thunderbi@178-189-175-240.adsl.highway.telekom.at) |
17:11.09 | *** join/#asterisk Jesterboxboy (~Thunderbi@178-189-175-240.adsl.highway.telekom.at) |
17:29.24 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
18:48.38 | *** join/#asterisk karelk (~karel@31.10.154.117) |
18:50.24 | *** join/#asterisk dadrc (~quassel@unaffiliated/dadrc) |
18:59.14 | *** join/#asterisk shanth__ (~shanth@2600:8800:1401:fea0:3b88:a894:8ac:df06) |
19:00.21 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |
19:02.51 | shanth__ | any good asterisk reads outside of asteriskdocs.org and the asterisk definitive guide 4th edition? |
19:03.09 | Samot | The Wiki and the sample configs. |
19:03.27 | shanth__ | any good structured books Samot? |
19:03.44 | Samot | 4th Edition. |
19:03.52 | shanth__ | right, outside of that :) |
19:03.57 | Samot | There are no recent publications that cover the advances of 12+ |
19:04.02 | shanth__ | gotcha |
19:04.12 | shanth__ | running certified 11 |
19:04.16 | Samot | OK |
19:04.28 | Samot | You really shouldn't. |
19:04.42 | shanth__ | what should i run? |
19:04.53 | Samot | Certified doesn't not get updated like the Standard/LTS versions.. |
19:05.10 | Samot | Certified requires a support agreement with Digium to get updates. |
19:05.19 | shanth__ | oh whoops |
19:05.31 | Samot | You should be running 13 LTS or 14 Standard, the regular downloads. |
19:05.36 | shanth__ | good to know |
19:05.46 | shanth__ | i will rebuild my install in the vm |
19:06.02 | shanth__ | is the syntax more or less the same Samot? in the newer version of asterisk |
19:06.26 | Samot | However, that 4th Edition book covers 90% of what is available in the current versions. |
19:06.31 | Samot | Yes. |
19:06.35 | shanth__ | that's great |
19:06.36 | Samot | Dialplan is dialplan. |
19:06.56 | shanth__ | i've been poking through extensions.conf on peoples github pages and finding ideas here and there |
19:06.57 | Samot | The only difference with that book and the current versions are changes that came in 12+ |
19:07.10 | Samot | So you should read the wiki for the Version 12 stuff |
19:07.17 | Samot | That introduces PJSIP |
19:07.27 | Samot | And a new CDR specification |
19:07.37 | Samot | Among other things. |
19:07.49 | shanth__ | is it better to use pjsip over chan sip? |
19:08.04 | Samot | That's a personal decision. |
19:08.20 | shanth__ | ah, not sure what the difference is in what they do yet |
19:08.28 | shanth__ | didn't know about it until just now heh |
19:08.36 | Samot | Chan_SIP is what has been around forever. |
19:08.47 | Samot | It's kinda hit the glass ceiling.. |
19:09.17 | Samot | PJSIP is the newer driver that expands on what Chan_SIP does.. |
19:09.27 | shanth__ | very nice |
19:11.25 | shanth__ | i just recently setup lenny pbx for telemarketers |
19:11.29 | shanth__ | it's pretty great |
19:24.18 | *** join/#asterisk dadrc (~quassel@unaffiliated/dadrc) |
19:50.16 | *** join/#asterisk justdave_ (~dave@unaffiliated/justdave) |
19:59.44 | *** join/#asterisk u0m3 (~u0m3@5-12-122-119.residential.rdsnet.ro) |
20:01.45 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
20:03.29 | *** join/#asterisk libardi (~libardi@179.159.11.133) |
20:19.39 | *** join/#asterisk shanth__ (~shanth@2600:8800:1401:fea0:3b88:a894:8ac:df06) |
20:29.03 | *** join/#asterisk justdave (~dave@unaffiliated/justdave) |
20:29.41 | shanth__ | when im compiling asterisk, does anyone know what file the make options are being saved to? im trying to copy them and save them for later. i tried to use git to track the changes but it said no file was changed. very confused |
20:30.06 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
20:38.18 | *** join/#asterisk tzafrir (~tzafrir@bzq-179-40-170.cust.bezeqint.net) |
20:47.37 | *** join/#asterisk miralin (~Thunderbi@91.237.94.10) |
20:48.49 | shanth__ | nvm think i found it in a file called menuselect.makeopts |
20:51.07 | shanth__ | looks like git ignores that by default hehe The following paths are ignored by one of your .gitignore files:menuselect.makeopt |
21:09.21 | *** join/#asterisk dadrc (~quassel@unaffiliated/dadrc) |
21:10.37 | *** join/#asterisk dadrc (~quassel@unaffiliated/dadrc) |
21:20.23 | *** join/#asterisk scgm11_ (~scgm11@r186-52-210-175.dialup.adsl.anteldata.net.uy) |
21:31.51 | *** join/#asterisk scgm11_ (~scgm11@r186-52-210-175.dialup.adsl.anteldata.net.uy) |
21:39.32 | *** join/#asterisk miralin (~Thunderbi@91.237.94.10) |
21:43.33 | *** join/#asterisk smkelly (~smkelly@mykonos.smkelly.org) |
21:51.25 | *** join/#asterisk tzafrir (~tzafrir@bzq-179-40-170.cust.bezeqint.net) |
22:52.34 | *** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com) |
23:25.32 | *** join/#asterisk robinak (~quassel@unaffilated/robink) |
23:36.20 | *** join/#asterisk phix (~threat@60-242-212-228.static.tpgi.com.au) |
23:40.07 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |