IRC log for #asterisk on 20170718

00:00.13RovingWriter=(
00:02.30wyoung.o/
00:23.11*** join/#asterisk infobot (~infobot@rikers.org)
00:23.11*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.17.0 (2017/07/12), 11.25.1 (2016/12/08), Standard: 14.6.0 (2017/07/12); 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:26.17*** join/#asterisk infernix (nix@unaffiliated/infernix)
00:27.45*** join/#asterisk al1976 (c8786c4b@gateway/web/freenode/ip.200.120.108.75)
00:28.03al1976hi guys. i'm experiencing some issues with asterisk 13.X
00:30.06al1976Asterisk 13.17.0 - centos 7 - pjsip
00:34.23al1976using Background(audio) crashes asterisk.  i've run with debug flag and the process creates a core dump
00:35.02al1976runnung asterisk with user asterisk
00:35.28al1976all directories under asterisk use has its privileges
00:35.48RovingWritershow us the core dump, in a pastebin
00:36.06SamotSo when you use Backgroun() it just crashes?
00:36.12SamotSo when you use Background() it just crashes?
00:36.47al1976it crashes and restart
00:36.56al1976i dont have to manually start the service
00:37.19al1976which version should i post
00:37.35al1976brief / core / thread1 ?
00:37.56RovingWriterthe best way to solve your problem is to give us as much info as you have
00:38.02al1976great
00:38.41RovingWriteryeah, it sucks, but the bigger picture, the better chance people have of helping you solve it
00:38.41SamotShow the log of a call that crashes
00:38.51RovingWriteralso, does it crash if you use Playback() ?
00:39.36al1976https://pastebin.com/BRe6yB0i
00:40.44al1976i've changed the dial plan to use a simple dial() , but it also crashes. theres no issue making calls between peers or from a trunk
00:41.02Samot8:38:25 PM <Samot> Show the log of a call that crashes
00:41.12al1976i haven't try yet playback
00:41.53RovingWriterbut now you are telling us that background() and dial() both cause it to crash?
00:42.21SamotShow it happening
00:43.06al1976issuing a core set debug 10
00:43.36al1976the console just kick me out
00:43.36al1976Disconnected from Asterisk server Asterisk cleanly ending (0). Executing last minute cleanups
00:43.36RovingWriteryou have bigger issues somewhere
00:43.44RovingWriteri tend to think this isn't an * issue
00:43.48al1976and if a wait for a couple of seconds, i can connect again normally
00:44.23SamotShow it all
00:44.23SamotFrom when you type in the command to when it kicks you out
00:44.23Samotpastebin it
00:45.50al1976https://pastebin.com/WNgJry0c
00:46.21SamotAnd the call dies?
00:46.30RovingWritershow us your dialplan. the whole thing
00:46.36SamotThe asterisk process (pid, etc) are dead?
00:46.37SamotGone?
00:46.50RovingWriterSamot, sounds like he has a watchdog that auto-restarts * once it crashes
00:46.52al1976no. both ends keeps ringing
00:47.31SamotAnd does the call connect?
00:47.31al1976never
00:47.31RovingWritershow me the dialplan
00:47.31SamotShow the dialplan
00:47.31SamotAll of it
00:47.31SamotLike requested
00:48.08al1976https://pastebin.com/UWe58DFD
00:48.22SamotUhm.
00:48.24SamotThat's it?
00:48.49al1976thats all
00:49.09SamotThat's awful.
00:49.14SamotFirst, you'll never get to WaitExten(5)
00:49.19SamotThe Dial() has to complete first
00:49.20al1976no
00:49.30SamotWhich means either no be answered or get answered
00:49.43RovingWriterhe's using dial() as a test, he's waiting for the background()
00:49.43SamotOK
00:49.44RovingWriterhe commented out the background() and changed it to dial() to test
00:49.47SamotSo there is no more dialplan
00:49.52RovingWriteris what it looks like to me
00:49.55SamotWhat happens after waiting 5 seconds?
00:50.09SamotThis is incomplete on  many levels
00:50.13RovingWritervery
00:50.24SamotThis is why it is failing
00:51.02SamotWell part of the reason, at least.
00:51.08SamotCall has zero places to go
00:52.16SamotMake sure all your configs are completed properly.
00:52.37SamotThen write some complete dialplan code.
00:52.37Samottry stuff..
00:52.46al1976well, i can add that the issue came to me because using background, the actual background audio didn't end. just played like 5 seconds and then, asterisk restarts
00:53.48RovingWriterhow much memory is in this machine?
00:54.17al1976in fact, this is incomplete because it never passes the background stage. just hangs
00:55.04al1976available 365
00:55.07al1976MB
00:55.52SamotWhat?
00:56.13SamotHow much RAM does this thing have?
00:56.32al1976512 RAM. 365 available
00:56.49al1976i'ts just a vm.
00:56.54SamotYeah.
00:56.55al1976can be upgraded
00:57.08SamotSo why not give it at least 1GB
00:57.21SamotThat's going to cause issues.
00:57.22al1976wait
00:57.29SamotLike what you are having.
01:06.47al1976i've done the upgrade
01:06.51*** join/#asterisk jeffspeff (~Jeff@209.141.208.197)
01:06.54al1976same issue
01:09.28al1976there is any chance that the core dump could help in this case?
01:49.19*** join/#asterisk ganbold (~ganbold@173.244.215.173)
02:06.56*** join/#asterisk lorsungcu_ (sid65806@gateway/web/irccloud.com/x-fbgngrgnvyoxpnwq)
02:07.13*** join/#asterisk dobson` (~dobson@68.ip-149-56-14.net)
02:07.20*** join/#asterisk oh4_ (sid187181@gateway/web/irccloud.com/x-phpkpjwmvlgwcxvs)
02:07.53*** join/#asterisk tm1000_ (sid6728@gateway/web/irccloud.com/x-qqqkfiwjledeexex)
02:08.25*** join/#asterisk petris_ (sid19918@gateway/web/irccloud.com/x-qkpkeljwacipjizn)
02:10.39*** join/#asterisk friedrich (~friedrich@aextron.de)
02:12.50*** join/#asterisk zopsi_ (~zopsi@dir.ac)
02:12.52*** join/#asterisk justinmrkva_ (~justinmrk@unaffiliated/justinmrkva)
02:14.22*** join/#asterisk Groenleer (~martijn@unaffiliated/groenleer)
02:14.53*** join/#asterisk Samot (sid133316@gateway/web/irccloud.com/x-fbejwjwfadjatnst)
02:15.02*** join/#asterisk smoke (~smoke@smoke.rokyta.cz)
02:15.40*** join/#asterisk roukoswarf (znc@rouk.org)
02:56.56*** join/#asterisk Bordr (~Bordr@c-24-9-55-138.hsd1.co.comcast.net)
02:59.01*** join/#asterisk compu_85 (~compu_85@2604:a880:800:10::731:c001)
03:31.25*** join/#asterisk stux16777216Away (stux@endurance.xzibition.com)
03:58.31*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
04:02.50*** join/#asterisk elcontrastador (~textual@c-67-182-43-55.hsd1.ca.comcast.net)
04:03.57elcontrastadorI have a compressed timeline to turn up a client Asterisk server to replace their Cisco CCM/Unity servers. They have hundreds of ancient Cisco 7940 and 7960 handsets that we're going to user chan-sccp-b with. Looking for someone with production experience with chan-sccp-b. I'd like to contract with someone to consult with me and provide some initial best practices and initial configurations. I will pay via paypal or venmo,
04:03.57elcontrastador<PROTECTED>
04:17.16*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
04:19.11SamotYou asked this the other day
04:20.00SamotYou should probably post this on a job board/freelancer site where people are looking for this kind of work
04:43.58*** join/#asterisk FarhaadN (~Farhad@82.99.206.194)
04:50.54*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
04:53.10FarhaadNhi all , asterisk 14.5.0 after 2 core reload crash
04:53.16FarhaadNwhy?
04:54.56Samot8:32:03 AM F<@file> FarhaadN: https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace
04:54.56Samot8:32:05 AM S<Samot> What do the logs show?
04:54.56Samot8:34:17 AM F<FarhaadN> Samot: nothing
04:54.56Samot8:34:46 AM S<Samot> Show the logs before the crash
04:55.28SamotFarhaadN: You came in this morning asking about this. You were asked for two things to help troubleshoot. Never saw or heard from you again.
04:55.45FarhaadNSamot: for now, i cant test this
04:55.55SamotThen why are you asking?
04:56.07SamotWe can't tell you why this is happening without seeing some sort of debug data
04:56.21FarhaadNhow can i debug that?
04:56.22SamotIf you cannot provide it, then asking about why things are happening is a waste.
04:56.30FarhaadNshow you full log?
04:56.34SamotShow the logs before the crash.
04:56.35SamotYes
04:56.44SamotAnd then get a backtrack per the link that was provided.
04:56.49FarhaadNok , i can simulate in another vm
04:56.55SamotNO
04:57.02SamotThat VM doesn't have a problem.
04:57.05SamotWho says it will
04:57.14FarhaadNwait please
04:57.20SamotI'm running 14.5 and I do not have crash issues.
04:57.49FarhaadNi hade this issue befor in another vm
04:58.04FarhaadNwait please , i install again in that vm
04:58.10SamotI don't have time.
04:58.12SamotIt's late.
04:58.15SamotI'm about to go to bed.
04:58.22FarhaadN7 min
04:58.26SamotDude.
04:58.35SamotI've waited all day for a response from you
04:59.01FarhaadNmy internet access gone
04:59.18lorsungcumy system am screw
04:59.47SamotWell I suggest you do whatever is  you are going to do
04:59.59SamotAnd maybe I still might be up.
05:00.48[TK]D-FenderShow your ACTUAL problem
05:00.56[TK]D-FenderSome other simulation is WORTHLESS
05:01.40[TK]D-Fender"I'm not actually sick, but listen to me force a cough!" <- think you're going to test positive for some disease while faking it?
05:05.04FarhaadNSamot: https://pastebin.com/2Sy7MfZ6
05:06.45FarhaadNno this not ok, all log not save
05:06.57[TK]D-FenderShows absolutely nothing
05:07.03[TK]D-Fenderthat isn't a backtrace
05:07.07[TK]D-Fenderdoesn't show an error
05:07.15[TK]D-Fenderdoesn't show you even being kicked back to CLI.
05:07.38FarhaadNno wait
05:08.16FarhaadNmy log is huge, how cat i send to u?
05:16.32lorsungcuFarhaadN: carrier pigeon is best
05:16.39lorsungcuwill settle for one of those mountain dogs though
05:21.19SamotSo has there been anything of value?
05:21.47*** join/#asterisk justdave (~dave@unaffiliated/justdave)
05:27.19lorsungcuSamot: yes please continue being awake
05:28.51FarhaadNi cant export log
05:28.54FarhaadNthis is huge
05:30.13FarhaadNlorsungcu: tnx
05:44.10*** join/#asterisk boris_t (~boris_t@363103629.convex.ru)
05:46.30*** part/#asterisk FarhaadN (~Farhad@82.99.206.194)
06:53.31*** join/#asterisk pchero_work (~pchero@109.70.54.56)
07:45.51*** join/#asterisk evil_gordita (~evilgordi@ip70-188-41-127.rn.hr.cox.net)
08:40.28*** join/#asterisk sekil (~sekil@nat-73.net011.net)
08:45.40*** join/#asterisk DanB_ (~DanB@clt-195.192.205.36.ip-anschluss.net)
09:20.31*** join/#asterisk Dovid (~dovid@bzq-82-81-59-132.red.bezeqint.net)
09:32.47*** join/#asterisk Eloy (~Eloy@5.149.168.66)
09:46.49*** join/#asterisk netman (~netman@185.94.249.77)
09:53.40*** join/#asterisk sekil (~sekil@pppoe-45-110-24-78.net011.net)
10:02.00*** join/#asterisk netman (~netman@185.94.249.77)
10:12.53*** join/#asterisk jploh (~textual@49.147.193.245)
10:39.52*** join/#asterisk Kaian (~kaian@212.81.221.228)
11:39.25*** join/#asterisk saint_ (~saint_@unaffiliated/saint-/x-0540772)
12:37.01*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
12:39.15*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
12:57.23*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
12:58.58*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:05.39*** join/#asterisk libardi (~libardi@179.159.11.133)
13:08.33*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
13:33.50*** join/#asterisk newtonr (newtonr@nat/digium/x-cpmjsopjnodqhwpp)
13:33.50*** mode/#asterisk [+o newtonr] by ChanServ
13:41.28*** join/#asterisk puzzola (~puzzola@unaffiliated/puzzola)
13:48.48*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
13:48.49*** mode/#asterisk [+o cresl1n] by ChanServ
13:55.04*** join/#asterisk s-mutin (~s-mutin@85.234.114.134)
13:55.23*** join/#asterisk Dovid (~dovid@bzq-82-81-59-132.red.bezeqint.net)
14:00.36*** join/#asterisk juvenal (~juvenal@189-18-34-155.dsl.telesp.net.br)
14:06.22*** join/#asterisk EnrgySmth (d8eba101@gateway/web/freenode/ip.216.235.161.1)
14:13.15*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
14:13.15*** mode/#asterisk [+o bford] by ChanServ
14:16.55*** join/#asterisk kharwell (kharwell@nat/digium/x-tsxuqgppwtartfsh)
14:16.55*** mode/#asterisk [+o kharwell] by ChanServ
14:21.45*** join/#asterisk rmudgett (rmudgett@nat/digium/x-sllfhigmjqnpqnro)
14:21.45*** mode/#asterisk [+o rmudgett] by ChanServ
14:22.28*** join/#asterisk juvenal (~juvenal@189-18-34-155.dsl.telesp.net.br)
14:34.28*** join/#asterisk Bryanstein (~Bryanstei@shellium/admin/bryanstein)
14:48.17*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
14:54.03*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
15:09.24*** join/#asterisk sekil (~sekil@nat-73.net011.net)
15:14.58*** join/#asterisk juvenal (~juvenal@189-18-34-155.dsl.telesp.net.br)
15:16.58*** join/#asterisk al1976 (c8786c4b@gateway/web/freenode/ip.200.120.108.75)
15:35.08*** join/#asterisk salviadud (~ralfalfa@189-211-190-134.static.axtel.net)
15:36.20*** join/#asterisk juvenal (~juvenal@189-18-34-155.dsl.telesp.net.br)
15:50.25*** join/#asterisk shootbird (~quassel@205.185.122.214)
15:58.45*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
16:01.05*** join/#asterisk skywayskase (~skywayska@163.182.162.226)
16:05.20*** join/#asterisk infobot (~infobot@rikers.org)
16:05.20*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.17.0 (2017/07/12), 11.25.1 (2016/12/08), Standard: 14.6.0 (2017/07/12); 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
16:11.21*** join/#asterisk infobot (~infobot@rikers.org)
16:11.21*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.17.0 (2017/07/12), 11.25.1 (2016/12/08), Standard: 14.6.0 (2017/07/12); 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
16:15.09*** join/#asterisk miralin (~Thunderbi@91.237.94.1)
16:35.01*** join/#asterisk infobot (~infobot@rikers.org)
16:35.01*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.17.0 (2017/07/12), 11.25.1 (2016/12/08), Standard: 14.6.0 (2017/07/12); 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
16:39.04*** join/#asterisk jab416171 (~jab416171@67.172.234.125)
17:04.31*** join/#asterisk juvenal (~juvenal@189-18-34-155.dsl.telesp.net.br)
17:16.44*** join/#asterisk juvenal (~juvenal@189-18-34-155.dsl.telesp.net.br)
18:26.08*** join/#asterisk infobot (~infobot@rikers.org)
18:26.08*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.17.0 (2017/07/12), 11.25.1 (2016/12/08), Standard: 14.6.0 (2017/07/12); 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
18:28.45*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
18:28.45*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
18:35.08*** join/#asterisk Dovid (~dovid@IGLD-83-130-85-176.inter.net.il)
18:53.19*** join/#asterisk juvenal (~juvenal@189-18-34-155.dsl.telesp.net.br)
18:57.42*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-170.cust.bezeqint.net)
19:20.09*** join/#asterisk Dovid (~dovid@IGLD-83-130-85-176.inter.net.il)
19:28.04*** join/#asterisk FuriousGeorge (4a6621c1@gateway/web/freenode/ip.74.102.33.193)
19:28.06FuriousGeorgehey all
19:29.45zaftrying to query astdb: I want to find the key where a value is $value. Is this possible?
19:30.46[TK]D-FenderYes, but not with normal SQL
19:30.59zafwithin the dialplan, that is
19:31.19[TK]D-FenderAstDB in recent time is stored in SQLite, but is actually encoded-BDB
19:31.53[TK]D-Fender<zaf> trying to query astdb: I want to find the key where a value is $value. Is this possible? <- Shell out and grep a "database show"
19:31.58[TK]D-Fendermessy but possible
19:32.01zafew
19:32.30zafI think I might just end up storing the inverse in astdb in the first place
19:32.40lorsungculess messy to shell out and sqlite, isnt it?
19:32.42zafnot sure which of those is nastier...
19:33.14[TK]D-Fenderdepends on your actual dataset
19:39.54*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
19:39.55*** mode/#asterisk [+o bford] by ChanServ

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.