00:08.39 | *** join/#asterisk fstd_ (~fstd@unaffiliated/fisted) |
00:35.19 | *** join/#asterisk infobot (ibot@208.53.50.138) |
00:35.19 | *** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.15.0 (2017/04/07), 11.25.1 (2016/12/08), Standard: 14.4.0 (2017/04/07); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu |
00:40.38 | *** join/#asterisk matrix1233 (~matrix123@41.230.50.71) |
01:25.08 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |
01:29.46 | *** join/#asterisk matrix1233 (~matrix123@41.230.50.71) |
02:20.18 | *** join/#asterisk genpaku (~genpaku@107.191.100.185) |
06:16.50 | *** join/#asterisk drathir (~kamiljk8@unaffiliated/drathir) |
06:51.36 | *** join/#asterisk tuxd00d (~tuxd00d@ip68-3-225-157.ph.ph.cox.net) |
07:20.40 | *** join/#asterisk tzafrir (~tzafrir@local.xorcom.com) |
07:55.33 | *** join/#asterisk jkroon (~jkroon@165.16.204.174) |
08:01.05 | *** join/#asterisk Milos (~Milos@pdpc/supporter/student/milos) |
08:31.21 | *** join/#asterisk DanB (~DanB@clt-195.192.204.113.ip-anschluss.net) |
08:40.09 | *** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net) |
08:42.52 | *** join/#asterisk Jesterboxboy (~Thunderbi@80-109-194-26.cable.dynamic.surfer.at) |
09:14.53 | *** join/#asterisk miralin (~Thunderbi@194.8.128.54) |
09:42.21 | *** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou) |
09:48.50 | *** join/#asterisk jkroon (~jkroon@165.16.204.174) |
10:05.23 | *** join/#asterisk pchero (~pchero@109.70.54.56) |
10:59.26 | *** join/#asterisk jkroon_ (~jkroon@165.16.204.174) |
11:06.34 | *** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou) |
12:48.54 | *** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net) |
12:49.54 | *** join/#asterisk jkroon (~jkroon@165.16.204.174) |
14:21.48 | *** join/#asterisk Rini (uid196547@gateway/web/irccloud.com/x-iycdpbshyttylpzs) |
14:34.01 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
14:56.27 | *** join/#asterisk miralin (~Thunderbi@194.8.128.54) |
14:57.58 | *** join/#asterisk AndChat|589056 (~AndChat58@2600:1008:b024:ada3:cd23:3c9e:a73:b42f) |
15:02.40 | *** join/#asterisk tsaf (~pastos@static.175.201.47.78.clients.your-server.de) |
15:33.06 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
17:34.08 | *** join/#asterisk tzafrir (~tzafrir@bzq-179-40-170.cust.bezeqint.net) |
18:01.46 | *** join/#asterisk tm1000_ (sid6728@gateway/web/irccloud.com/x-joegokeuumqmegre) |
18:02.25 | *** join/#asterisk petris_ (sid19918@gateway/web/irccloud.com/x-bqhozumrnooexqxb) |
18:02.38 | *** join/#asterisk file_ (uid178970@asterisk/developer-and-muffin-lover/file) |
18:02.38 | *** mode/#asterisk [+o file_] by ChanServ |
18:04.54 | *** join/#asterisk yang__ (yang@freenode/sponsor/fsf.member.yang) |
18:06.17 | *** join/#asterisk friedrich_ (~friedrich@aextron.de) |
18:11.54 | *** join/#asterisk Groenleer (~martijn@unaffiliated/groenleer) |
18:16.51 | *** join/#asterisk jjrh (~weechat12@2607:f0b0:8:8035::2) |
18:17.23 | *** join/#asterisk infernix (nix@unaffiliated/infernix) |
18:18.34 | *** join/#asterisk Mission-Critical (~MissionCr@unaffiliated/missioncritical) |
18:18.49 | *** join/#asterisk bmg505 (~leon@196-215-7-31.dynamic.isadsl.co.za) |
18:43.05 | *** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt) |
18:53.15 | *** join/#asterisk Rini (uid196547@gateway/web/irccloud.com/x-csijymasdcyczurq) |
18:56.05 | *** join/#asterisk joako (~joako@opensuse/member/joak0) |
19:09.00 | *** join/#asterisk Jesterboxboy (~Thunderbi@80-109-194-26.cable.dynamic.surfer.at) |
19:47.29 | *** join/#asterisk Milos (~Milos@pdpc/supporter/student/milos) |
19:49.18 | *** join/#asterisk drmessano (sid104353@pdpc/supporter/active/drmessano) |
19:52.04 | *** join/#asterisk miralin (~Thunderbi@194.8.128.54) |
20:10.40 | *** join/#asterisk dan_j (sid21651@gateway/web/irccloud.com/x-fnwypeqszupffqgr) |
20:30.00 | *** join/#asterisk LunaLovegood (~alice@75.98.139.193) |
20:36.54 | *** join/#asterisk Jesterboxboy (~Thunderbi@80-109-194-26.cable.dynamic.surfer.at) |
20:38.31 | LunaLovegood | I have a stupid phone that sends the digits one at a time when I'm dialing numbers. How do I handle that in the dialplan? Right now I have one extension per [0-9] digits, that goes like exten = 6,1,Goto(digit_6,s,1), and the [digit_6] contexts then do a Answer() and WaitExten() to get the rest of the digits. Is there a better way to do that? |
20:39.15 | [TK]D-Fender | What phone is this? |
20:39.21 | LunaLovegood | a MGCP ata |
20:39.28 | [TK]D-Fender | ew... |
20:39.43 | [TK]D-Fender | Doesn't matter if you got it for free ... go ask for your money back... |
20:39.50 | LunaLovegood | As it's currently setup, it works, but it's ugly. |
20:39.58 | LunaLovegood | I've got 25 of them |
20:40.33 | [TK]D-Fender | "core show application read" |
20:41.37 | LunaLovegood | Not all the destination extensions are the same length, and I'd rather connect immediately when a valid extension has been entered, rather than wait for a timeout before trying to connect the call. |
20:43.18 | LunaLovegood | So I'm better off using WaitExten() in that case. It works perfectly too, but It looks really kludgy. |
20:44.03 | [TK]D-Fender | if you gateh N-1 worth of patterns, sure |
20:44.08 | [TK]D-Fender | gather* |
20:44.36 | *** join/#asterisk tuxd00d (~tuxd00d@ip72-222-145-83.ph.ph.cox.net) |
20:45.03 | Samot | Are you stuck using MGCP? |
20:45.47 | LunaLovegood | yup. I've also got SIP phones, but the MGCP ones don't have more recent firmwares available |
20:46.35 | LunaLovegood | It works so I will probably just leave it like that, but if I can make my extensions.conf more sensible looking, I'd like that. |
20:46.49 | Samot | Don't use MGCP. |
20:46.56 | Samot | That will make it more sensible looking. |
20:47.10 | Samot | But if you're stuck, you'll have to work around it. |
20:47.19 | Samot | Which means it will look kludgy. |
20:47.29 | LunaLovegood | Oh ok then. Thanks anyway. |
20:50.35 | Samot | Downside of MGCP. |
20:50.41 | Samot | It sends the digits individually. |
20:52.24 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
21:14.16 | *** join/#asterisk TSM (5aff361d@gateway/web/freenode/ip.90.255.54.29) |
21:38.40 | *** join/#asterisk justdave_ (~dave@unaffiliated/justdave) |
21:42.27 | *** join/#asterisk troyt_ (~troyt@2601:681:4600:7e41:44dd:acff:fe85:9c8e) |
21:43.24 | *** join/#asterisk woleium (~woleium@bc.io) |
21:43.52 | *** join/#asterisk FrozenFire[alt] (~FrozenFir@pdpc/supporter/active/frozenfire) |
22:06.56 | *** join/#asterisk Maliuta_ (maliutamat@gateway/shell/matrix.org/x-ifcopwzqdopehzbs) |
22:59.19 | *** join/#asterisk infobot (ibot@rikers.org) |
22:59.20 | *** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.15.0 (2017/04/07), 11.25.1 (2016/12/08), Standard: 14.4.0 (2017/04/07); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu |
23:14.06 | *** part/#asterisk TSM (5aff361d@gateway/web/freenode/ip.90.255.54.29) |
23:28.20 | *** join/#asterisk hdon_ (~hdon@71.222.17.248) |
23:33.57 | hdon_ | hi all :) i used ./configure --prefix=/opt/asterisk and in my asterisk.conf i specified astmoddir => /opt/asterisk/lib/asterisk/modules in the first section, [directories](!) but my require = chan_sip.so in my modules.conf fails |
23:34.29 | hdon_ | *** Failed to load module chan_sip.so - Required -- no other explanation given |
23:36.12 | hdon_ | strace didn't help... i thought i would see asterisk trying to open chan_sip.so in some directory somewhere, but it did not |
23:36.32 | hdon_ | i don't even see asterisk enumerating any directory named "modules" |
23:37.07 | hdon_ | i see it opening modules.conf but that's it :C |
23:40.37 | [TK]D-Fender | [directories](!) |
23:40.51 | [TK]D-Fender | (!) = ignore the ACTUAL settings below and use the system defaults |
23:40.55 | [TK]D-Fender | remove it |
23:41.03 | hdon_ | looool |
23:41.05 | hdon_ | thanks |
23:41.28 | hdon_ | hmm... no change in behavior... |
23:41.46 | [TK]D-Fender | did you completely restart *? |
23:41.51 | [TK]D-Fender | "reload" won't cut it |
23:42.44 | hdon_ | [TK]D-Fender: i don't yet have an init script or systemd service for it. i'm just running it from shell. is this incorrect for testing? |
23:43.02 | [TK]D-Fender | pastebin your modules.conf |
23:43.19 | hdon_ | http://ix.io/tJR |
23:43.34 | [TK]D-Fender | And asterisk.conf |
23:43.50 | hdon_ | http://ix.io/tJS |
23:44.22 | [TK]D-Fender | ls -la /opt/asterisk/etc/asterisk |
23:44.45 | [TK]D-Fender | And show use your attempt to manually start it (including the command call itself) |
23:44.49 | hdon_ | http://ix.io/tJT |
23:45.21 | hdon_ | so for manually starting it, my command is ./sbin/asterisk -cvvvvv |
23:45.27 | hdon_ | from my /opt/asterisk directory |
23:45.49 | hdon_ | to pastebin i guess i should remove -c |
23:45.53 | Samot | Are you starting it as the user hdon? |
23:45.54 | [TK]D-Fender | [TK]D-Fender> And show use your attempt to manually start it (including the command call itself) |
23:45.55 | hdon_ | does -v apply to starting up the daemon? |
23:45.59 | hdon_ | Samot: yes |
23:46.30 | hdon_ | but hdon has access to, for instance, chan_sip.so, which seems to be the pain point atm. let me know please, though, if running it with my user will be insufficient for testing |
23:46.32 | [TK]D-Fender | Show the start.... |
23:46.44 | Samot | ^^^^ |
23:47.12 | hdon_ | http://ix.io/tJY |
23:47.36 | [TK]D-Fender | <[TK]D-Fender> [TK]D-Fender> And show use your attempt to manually start it (including the command call itself) |
23:47.40 | [TK]D-Fender | INCLUDING THE CALL |
23:47.46 | hdon_ | hdon@behemoth:/opt/asterisk$ ./sbin/asterisk -cvvvvv 2>&1 | ix |
23:48.07 | hdon_ | (ix is my preferred pastebin) |
23:48.15 | [TK]D-Fender | [May 14 16:47:06] WARNING[27129]: indications.c:1065 load_indications: Can't find indications config file indications.conf. <- BAD not having this |
23:49.07 | hdon_ | mmm, could it explain the problem? i'm just following the tutorial on https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk+From+Source |
23:49.21 | [TK]D-Fender | pb sip.conf |
23:49.35 | hdon_ | http://ix.io/tJZ |
23:49.41 | [TK]D-Fender | Your attempt to do this "minimal"install is a mess |
23:50.05 | hdon_ | [TK]D-Fender: it's just what the tutorial said... please tell me everything i'm doing wrong :) |
23:50.11 | [TK]D-Fender | I don't see your earlier load attempt quitting back to console |
23:50.19 | [TK]D-Fender | you don't seem to understand what "complete" means |
23:50.34 | [TK]D-Fender | I want to see the COMMAND getting issued, the full startup and you KICKED OUT at the end |
23:50.46 | [TK]D-Fender | I want proof it's not sitting in * CLI |
23:50.55 | hdon_ | it never gives me the console. i believe because i used "require = chan_sip.so" in my modules.conf |
23:51.23 | [TK]D-Fender | <[TK]D-Fender> I want to see the COMMAND getting issued, the full startup and you KICKED OUT at the end |
23:52.30 | hdon_ | :( |
23:52.32 | Samot | ls -la /opt/asterisk/lib/asterisk/modules |
23:52.36 | hdon_ | so i run ./sbin/asterisk -cvvvvv |
23:52.43 | hdon_ | then it spits out everything in the pastebin |
23:52.44 | [TK]D-Fender | ... |
23:52.46 | hdon_ | and then it exits with code 2 |
23:52.49 | [TK]D-Fender | FUCKING PASTEBIN IT |
23:52.58 | hdon_ | whoa |
23:53.08 | [TK]D-Fender | 5 times..... |
23:53.16 | hdon_ | http://ix.io/tK0 |
23:53.20 | hdon_ | that is for you Samot |
23:53.27 | Samot | Dude. |
23:53.29 | Samot | Come on. |
23:53.41 | [TK]D-Fender | Owned as root is not a good start |
23:53.44 | Samot | If you are running Asterisk as the user hdon.. |
23:53.52 | Samot | Have all of Asterisk owned by hdon. |
23:53.56 | Samot | So it can do shit. |
23:53.57 | [TK]D-Fender | * is run as a user and the files should all be owned by that user |
23:54.09 | hdon_ | Samot: ok that's fair, but i don't think it's causing this problem. these files are world-readable :( |
23:54.17 | Samot | Yes. |
23:54.22 | Samot | Chown ownership |
23:54.37 | hdon_ | Samot: i did. no change :( |
23:54.46 | Samot | Did you restart asterisk? |
23:54.49 | Samot | Completely? |
23:54.49 | hdon_ | Samot: so i mean, what would usually happen if i specified a DSO in my modules.conf file? |
23:55.11 | hdon_ | Samot: asterisk won't remain running. each time i run it with -cvvvvv it exits code 2, as described in the comments from the sample modules.conf file |
23:55.26 | [TK]D-Fender | SHOW IT |
23:55.43 | hdon_ | :| |
23:55.50 | hdon_ | it's documented behavior in the sample modules.conf |
23:56.00 | [TK]D-Fender | How hard is it to follow directions? |
23:56.02 | [TK]D-Fender | Seriously |
23:56.02 | hdon_ | it says asterisk will exit with status 2 if you use "require" and that DSO fails to load |
23:56.14 | [TK]D-Fender | We want to see the whole damn thing |
23:56.32 | [TK]D-Fender | right up toi and INCLUDING this error we don't see in series with everything else |
23:56.43 | hdon_ | i have shown you everything. the only thing not included is my shell prompt and command. is that the part you want? |
23:56.49 | Samot | Module initialization failed. <--- chan_sip.so isn't initializing. |
23:56.55 | [TK]D-Fender | Let alone your DISABLING your attempt to force chan_sip, letting it CONTINUE... and then showing what happens when you try to do it MANUALLY |
23:56.59 | hdon_ | [TK]D-Fender: what error don't you see? |
23:57.09 | [TK]D-Fender | Instead you are pasting one stupid iindividual line at a time with NO CONTEXT] |
23:57.21 | hdon_ | :\ |
23:57.25 | [TK]D-Fender | THE WHOLE FUCKING STARTUP |
23:57.59 | [TK]D-Fender | right back to where you get KICKED out of the startup back to CLI |
23:58.04 | [TK]D-Fender | I expect to see prompts on BOTH ends |
23:58.13 | Samot | hdon_: No PMs. |
23:58.17 | hdon_ | [TK]D-Fender: my shell prompt or asterisk CLI prompt? |
23:58.24 | Samot | He is asking for the same thing we ask of everyone. |
23:58.28 | [TK]D-Fender | ALL OF IT |
23:58.37 | Samot | Copy and paste everything from the initial command until the errors/kickout |
23:58.42 | Samot | So we can see what it's doing |
23:58.46 | [TK]D-Fender | if you get kicked I expect to see the SHELL prompt at the end because you got kicked |
23:58.47 | hdon_ | sighs |
23:58.47 | Samot | and WHERE it's doing it. |
23:58.49 | hdon_ | i'll see what i can do |
23:58.54 | Samot | It's not that hard. |
23:58.59 | Samot | Run the command. |
23:59.06 | [TK]D-Fender | So that means the ASTERISk call at the start right down the the end when it's 100% dead |
23:59.07 | Samot | Scroll back, copy and paste. |
23:59.10 | hdon_ | my scrollback doesn't go that far Samot |
23:59.13 | hdon_ | i have to adjust my prefs |
23:59.16 | Samot | OK |
23:59.17 | [TK]D-Fender | get a bigger scrollback |
23:59.17 | hdon_ | gimme a sec |
23:59.23 | hdon_ | [TK]D-Fender: oh great idea. thank you |
23:59.27 | [TK]D-Fender | Putty is available on windows & *NIX |
23:59.36 | [TK]D-Fender | you can set 1000000 lines if you want |
23:59.41 | hdon_ | wow cool |
23:59.49 | [TK]D-Fender | so that excuse is probably just about out the door |