IRC log for #asterisk on 20151115

00:08.27cyfordhi,  any ideal why this would work in linux  but not asterisk system(),  email goes out fine in shell...     echo  " Call lasted 159 seconds" | mutt -a "/var/spool/asterisk/monitor/2604374171-20151114162054.wav" -s "Chat Room Results " -c "test@ktcsg.com" --  test@cyfordtechnologies.com
00:08.55cyfordyes it does work when running in shell as asterisk user
00:10.45drmessanoShow us the actual dialplan
00:11.15[TK]D-Fenderhow about the actual CLI OUTPUT......
00:11.49cyfordno errors
00:11.54cyfordno output
00:12.02cyfordand no email
00:12.58[TK]D-Fender....
00:14.31cyfordhow do i test it in asterisk cli?
00:17.20[TK]D-FenderPLACE A CALL
00:17.35[TK]D-FenderHow else do you get dialplan apps to run?
00:17.36[TK]D-FenderUSE THEM
00:18.55cyfordum i said cli lol not dialplan
00:19.10cyfordok  u asked for cli output
00:19.21cyford<PROTECTED>
00:19.31drmessanoI want to see the dialplan
00:19.36drmessanoI dont trust your "It's fine"
00:19.42drmessanoObviously its not
00:20.20drmessanoI want to see proper syntax and something that SHOULD work
00:20.26drmessanoSO pastebin the dialplan
00:20.51cyfordok 1 sec,  an i didnt say its fine,  cause it isnt..  but it does work in linux shell without issues,   even with asterisk user exec
00:24.59drmessanoOk, 5 more minutes have gone by.. Where is the Pastebin?
00:25.24[TK]D-FenderPASTEBIN
00:25.28[TK]D-FenderNOW
00:25.47drmessanoIve asked twice for it.. You're wasting my time now
00:27.03*** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club)
00:28.53drmessanoIt doesnt take this long to pastebin something.  Another one for the /ignore list.  I'm out
00:29.14cyfordhttp://pastebin.com/ebHc7vp6
00:29.22cyfordi said getting it lol
00:29.37laptopdude90no.. you didn't
00:29.41cyfordohh i 1 sec
00:29.49cyfordok 1 sec,  an i didnt say its fine,  cause it isnt..  but it does work in linux shell without issues,   even with asterisk user exec
00:32.31[TK]D-FenderI see apps called in there and no proof there is a PATH for it to follow
00:32.57[TK]D-FenderHave you actually tried and BROKEN DOWN this process into steps to actually prove the separate bits?
00:33.34[TK]D-FenderYou didn't explicitly write out the path to mutt and since you were already messing with the user setup...
00:33.42[TK]D-FenderGo break this all down.
00:34.31*** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club)
00:34.33cyfordhmm,  didnt know i needed the complete path,   ill try that..  as for breaking down bits,  u lost me lol  please explain
00:34.47[TK]D-FenderDon't do everything in 1 dumb pip
00:34.51[TK]D-Fenderis the ECHO failing?
00:34.54[TK]D-Fenderis MUTT the failure?
00:35.01cyfordits mut
00:35.06cyfordecho works
00:35.08[TK]D-FenderIs your assumption of the PATH being usable a failure?
00:35.12[TK]D-Fenderthat;s 3 right there
00:35.37[TK]D-FenderThen you REALLY should have thought about how you were calling mutt....
00:35.52cyfordnot sure,  thought i can write it exactlly how i do in shell..  but thats why i am here to figuire this out :
00:35.55cyford:)
00:40.38*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
00:40.47*** join/#asterisk livtyler (~livtyler@unaffiliated/livtyler)
00:41.09[TK]D-Fenderheads out for the evening
00:41.28cyfordno luck with full path
00:41.53[TK]D-Fendernow think about ESCAPING THOSE QUOTES
00:46.05cyfordhow can i escape the quotes ser?
00:49.25laptopdude90" -> \"
00:57.31cyfordThanks,  but still no luck
00:58.14cyford<PROTECTED>
00:59.39*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
01:11.08laptopdude90"This operator (called the “or” operator, or “pipe”) returns the evaluation of expr1 if it is true (neither an empty string nor zero). Otherwise, it returns the evaluation of expr2."
01:11.13laptopdude90why would they write it that way
01:17.46cyfordits to torcher little ones like us
01:24.58*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
01:38.49*** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club)
02:01.09laptopdude90Okay, I've a question about my extensions.conf file
02:01.21laptopdude90I'm playing around with some examples from the book
02:01.42laptopdude90http://pastebin.com/V72AjzY9
02:01.54laptopdude90The one that should execute on 123 isn't working
02:01.58*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
02:02.05laptopdude90Everything else in that works
02:07.09laptopdude90lvlinux, are you on?
02:28.07laptopdude90603 declined it says
02:32.56laptopdude90Okay so I figured it out... kind of.
02:33.00laptopdude90It's running the script
02:33.13laptopdude90But I can't hear SayNumber() and the ringtone keeps going
02:34.03laptopdude90fixed it ::::DDDD
02:45.27*** join/#asterisk tapout (~tapout@unaffiliated/tapout)
03:32.31*** join/#asterisk tapout (~tapout@unaffiliated/tapout)
03:40.33*** join/#asterisk igcewieling1 (~ewieling@ip98-170-211-145.pn.at.cox.net)
03:51.53*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
04:20.45laptopdude90would anybody like to hear my best pickup line
04:23.39lvlinuxlaptopdude90: I'm here now
04:23.46laptopdude90helloooo
04:24.53WIMPythinks you're there, not here.
04:25.36lvlinuxlol i'm here
04:25.41lvlinux(again)
04:26.55lvlinuxhelloooo
04:27.31WIMPywaves
04:27.41WIMPyello
04:29.23lvlinuxwaves back at WIMPy
04:33.27laptopdude90waves too b/c I feel left out
04:33.41lvlinuxlol
04:34.12lvlinuxso seems as if you're doing pretty good laptopdude90. Calls to outside world and such working.
04:34.52laptopdude90Thanks. :D
04:35.04laptopdude90I've almost gotten my asterisk calc working
04:35.15lvlinuxcalc?
04:35.49WIMPy?
04:36.17laptopdude90You call it
04:36.30laptopdude90And you enter in a number, pres pound, another number, press pound
04:36.33laptopdude90It adds them
04:36.39lvlinuxlol ok cool
04:36.40laptopdude90and says what the answer is
04:36.54WIMPychecks his trashcan...
04:37.21WIMPy... and pulls out laptopdude90
04:37.30lvlinuxlolololololol
04:37.31laptopdude90u wot?
04:37.40laptopdude90It's not supposed to be practical :P
04:38.37lvlinuxwhen i first got started w Asterisk I was making it play silly music and morse code...
04:39.16lvlinuxso I don't think a calculator is too bad :-)
04:39.27laptopdude90:P
04:39.37WIMPyWith display?
04:40.01laptopdude90I'm using a softphone so no display
04:40.07lvlinuxwhat about blind people?
04:40.41igcewieling1I hacked together some agi scripts to encode binary data into DTMF to transfer it over SIP or analog or anything which transports DTMF.    Should clean it up and post it on April 1 some year.
04:41.06lvlinuxlol that's cool.
04:41.14*** join/#asterisk pchero (~pchero@109.70.54.56)
04:41.18lvlinuxutterly pointless but very cool
04:41.20WIMPyYou could do an RFC on IPoDTMF.
04:41.27lvlinuxyeah!
04:41.34igcewieling1I was getting something like 3 bytes per second thruput.
04:42.06lvlinuxstart a new kind of ISP!
04:42.33*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
04:42.35igcewieling1my idea was to use it as a way to access a shell on an Asterisk box which lost network connectivity.
04:42.48lvlinuxwow
04:42.49igcewieling1(call in via analog port)
04:43.06lvlinuxwell i guess that  could have it's uses
04:43.08laptopdude90Has anyone considered a dialup server w/ asterisks?
04:43.16lvlinuxdialup for what?
04:43.19lvlinuxinternet?
04:43.21igcewieling1laptopdude90: hundreds and yet they don't exist.
04:43.22laptopdude90yeah
04:43.31laptopdude90So I can take my laptop and stick it into a phone jack
04:43.34laptopdude90And get internet
04:43.42lvlinuxyou don't need asterisk for that
04:43.46lvlinuxI've done it
04:43.48laptopdude90Yeah but I mean
04:43.55laptopdude90I want to put in a 3 digit code
04:44.00laptopdude90And then modem mode goes on
04:44.06laptopdude90Otherwise it should behave like a normal phone
04:44.15lvlinuxwhat, so you can sell dialup internet to your buddies?
04:44.37lvlinuxpointless
04:44.47*** join/#asterisk evil_gordita (robert@ip70-188-63-173.rn.hr.cox.net)
04:44.55laptopdude90no, cause when I go to my grandparents I have no internet
04:45.06lvlinuxthen setup a dialup server
04:45.13laptopdude90Yeah but I need my phone number as well
04:45.14WIMPystill has some real NAS lying around.
04:45.21laptopdude90So I can't just have a dialups erver
04:45.27lvlinuxah i see.
04:45.32lvlinuxhmmm
04:46.31lvlinuxset asterisk to have a code that you can punch when you dial in that triggers a script that livens a pin on a parallel port or something like that,
04:46.43lvlinuxhooked to a relay which turns on a dialup modem
04:46.45*** join/#asterisk drathir (~kamiljk8@unaffiliated/drathir)
04:46.50lvlinuxthat would work.
04:47.05igcewieling1Asterisk does not support analog dialip so the issue is m00t.
04:47.13laptopdude90Yes, but then when I'm using the modem server we couldn't get phone calls
04:47.17WIMPyOr just Dial a modem on some other port?
04:47.21lvlinuxigcewieling1: no it isn't
04:47.22laptopdude90But if we have like 3 channels into the house
04:47.34WIMPyIsn't that what DAHDIRAS does?
04:47.42laptopdude90meh. I was just curious
04:47.46laptopdude90doesnt matter really
04:47.48lvlinuxDAHDIRAS?
04:47.53igcewieling1WIMPy: that is only usable with ISDN PRI (maybe BRI)
04:48.32WIMPyIs it? Why should it care? Or is it happening outside of Asterisk?
04:49.05lvlinuxwiki page says no modem emulation is supported
04:49.09igcewieling1WIMPy: Ask Digium.   I assume because with PRI the call comes in as data, not audio.
04:49.10lvlinuxmust be PRI/BRI
04:49.37WIMPySo what does it do if it doesnt do modem emulation?
04:49.55igcewieling1WIMPy: Maybe takes the raw ulaw data?
04:50.08WIMPyIt doesn't matter if your telco does the ADC or if you do it yourself.
04:50.17igcewieling1Apparently it does with Asterisk.
04:50.27WIMPyRate adaption? Sounds hardly believable.
04:50.46*** join/#asterisk russellb (~rustlebee@redhat/russellb)
04:50.46*** mode/#asterisk [+o russellb] by ChanServ
04:51.03igcewieling1Perhaps the Wiki page has been wrong for 15 years, but I doubt it.
04:51.26igcewieling1russellb: Hey!  What does ZapRAS not support analog?
04:51.34igcewieling1s/What/Why/
04:51.42lvlinuxlaptopdude90: you could seriously do what I suggested and it should work. Just set your modem to answer before anything else on your analog line.
04:51.54laptopdude90guys im sorry .-.
04:51.56laptopdude90it doesnt matter
04:52.20igcewieling1goes back to wrestling with Adtran routers.
04:52.36lvlinuxI love Adtran routers!
04:53.22lvlinuxlaptopdude90: if you had dialup at ur Gramas basically all you could do is console stuff---ssh/irc and the like
04:53.43laptopdude90yeah so?
04:53.51lvlinuxit ain't fun, trust me
04:53.58laptopdude90irc is fine
04:54.04laptopdude90I could do email as well
04:54.12lvlinuxI was on dialup for a month during summer---major internet probs here
04:54.27lvlinuxused to you cuold still web browse but now it's almost un-doable.
04:58.14lvlinuxgoes to eat supper before bed. Goodnight all!
04:58.15WIMPyLooks like there's not much information available on what DAHDIRAS actually does. Probably X.75 or T.70. But that's just a guess.
04:58.56*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
04:59.51*** join/#asterisk Draecos (~Draecos@203-121-194-11.e-wire.net.au)
05:00.09*** join/#asterisk cryptic (~cryptic@142-196-132-50.res.bhn.net)
05:00.54WIMPyHa, there's the man for the related topic.
05:01.25WIMPytzafrir: You said the other day there are way to get the d-channel data from dahdi. Can you give me a pointer?
05:02.45tzafrirWIMPy, dahdi_pcap in dahdi-tools
05:03.55WIMPyOh, I remember searching for the pcap format without any success.
05:47.03*** join/#asterisk jab416171 (~jab416171@c-76-27-96-12.hsd1.ut.comcast.net)
06:03.59*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-umgfmalulltxxcfr)
06:09.19*** join/#asterisk mattwj2002 (~mattw@wikisource/pdpc.active.mattwj2002)
06:09.37mattwj2002good day all :)
06:09.55mattwj2002I am playing around with a home asterisk server
06:10.00mattwj2002how is everyone?
06:15.35*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
06:30.09*** part/#asterisk mattwj2002 (~mattw@wikisource/pdpc.active.mattwj2002)
06:59.45*** join/#asterisk pchero (~pchero@109.70.54.56)
07:47.13*** join/#asterisk Draecos (~Draecos@203-121-194-11.e-wire.net.au)
08:12.19*** join/#asterisk bulkorok (~Adium@92.206.232.157)
08:14.45*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
08:44.21*** join/#asterisk pjm (~pjm@uhfsatcom.plus.com)
09:21.37*** join/#asterisk nanoha-sama (~nanoha-sa@van-app-svr.ad.v10networks.ca)
09:26.34*** join/#asterisk areski (~areski@80.174.128.6.dyn.user.ono.com)
10:18.15*** join/#asterisk McJoppy (~McJoppy@router.silverstripe.com)
10:50.27*** join/#asterisk Fanch (~fanch@reverse1.qth.fr)
10:59.28*** join/#asterisk Fanch (~fanch@reverse1.qth.fr)
11:19.31*** join/#asterisk Fanch (~fanch@reverse1.qth.fr)
11:21.15*** join/#asterisk qdel (~Rholk@bny92-1-82-67-178-101.fbx.proxad.net)
11:32.38*** join/#asterisk fbnts (~fbnts@batcave.fbnts.co.uk)
11:33.55fbntsHi, at what stage in a dialplan is the CDR wrote?
11:40.40MaliutaLapI believe it's written at the end of a Dial(), or on a Hangup()
11:40.58MaliutaLap"wrote" is the past tense
11:45.07fbntsah ok, I've tried to continue the dialplan with the g option to Dial so that I can change the callerid back (I want the CDR to show the internal extension number rather than the ultimate public number)
11:51.42*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
12:03.09*** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de)
12:27.18*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
12:59.40*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
13:23.08*** join/#asterisk infernix (nix@unaffiliated/infernix)
14:19.21*** join/#asterisk jzaw (~jzaw@loki.dzki.co.uk)
14:23.25*** join/#asterisk CeBe1 (~CeBe@a81-14-224-229.net-htp.de)
14:29.25laptopdude90So I've got 2x 12 port switches
14:29.38laptopdude90When I connect something do it, the lights blink and whatever
14:29.49laptopdude90But data doesn't go through.
14:30.20laptopdude90They're managed switches - They have a serial number on the front, and one of them even has an IP address written on a piece of tape
14:31.02laptopdude90If I purchase a USB to Serial adapter, will I be able to reset the switches and get them working again?
14:36.09MarkS-laptopdude90: often there is also a small reset button somewhere
14:36.35laptopdude90mine doesn't have one it doesn't look like
14:36.49MarkS-laptopdude90: maybe vlans are configured or there is something else configured in a way you don't expect
14:37.08laptopdude90lemme go get it
14:37.08MarkS-with a serial console cable you might be able to login
14:37.12laptopdude90I ordered a serial adapter BTW
14:37.18laptopdude90$3 on ebay
14:38.08*** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de)
14:38.26MarkS-there is a reason I have 2 (1 at my desktop and 1 with my laptop)
14:39.02laptopdude90No reset switch it looks like
14:39.15laptopdude90Bay Networks 450-12T
14:41.49laptopdude90any chance there's a button on the inside?
14:43.05MarkS-laptopdude90: I don't know that brand, maybe you can find documentation about it. If so look for reset or factory reset
14:43.24laptopdude90Yeah I googled it, no button on the outside at least
14:43.32laptopdude90So is it worth checking the inside?
14:44.02MarkS-depends on what the documentation says
14:44.33laptopdude90Documentation says nothing about a reset button
14:44.37laptopdude90just restting via serial
14:44.50MarkS-ok, so that is the option you should use
14:45.24laptopdude90kk
14:47.49*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
15:01.13*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
15:04.57*** join/#asterisk kovalevsky (~kovalevsk@fedora/kovalevsky)
15:11.51*** join/#asterisk pchero (~pchero@109.70.54.56)
15:23.51*** join/#asterisk Encrypt (~Chuck@cpc72901-newt33-2-0-cust203.19-3.cable.virginm.net)
15:42.01*** join/#asterisk guest88391 (~guest8839@185.32.9.250)
15:43.00guest88391I have the following extensions.conf code http://pastebin.com/Bk9ve2xU to failover if needed. However, it does seem to act wierd.
15:43.08guest88391It triggers ?noserver on 1 & 0
15:43.15guest88391but does not trigger when the result is 0 & 1
15:43.35guest88391GotoIf("SIP/pub-00000026", "1 & 0?noserver,1") in new stack
15:44.01WIMPyRemove the spaces.
15:44.35guest88391http://pastebin.com/yKrzfgLq
15:44.37guest88391just like this?
15:44.54WIMPyAnd do we even have a logical and?
15:45.11WIMPyyes
15:45.19guest88391We do :-)
15:45.21guest88391&
15:45.35guest88391Why are the spaces doing harm?
15:46.08WIMPyBecause they are literal.
15:46.37WIMPyYou are comparing a value with a space at the ane to a value with a space at the beginning.
15:48.03guest88391Still triggers failover
15:48.08guest88391"1&0?noserver,1
15:48.24wdoekesthat won't work.. but that inside the $[...]
15:48.49wdoekes$[${SIPPEER(${PRIMARYPEER},status):0:2}x!=OKx&${SIPPEER(${FAILOVERPEER},status):0:2}x!=OKx]
15:49.44wdoekesthe gotoif if-section only takes an integer: 0 or the-rest
15:51.13guest88391Amazing
15:52.17wdoekesokay, that wasn't entirely correct: see pbx_checkcondition. "" or "0" or "-00000" => false, anything else => true
15:53.03wdoekesjust assume it takes an integer
15:53.08guest88391I see, we gave it integer & integer
15:53.11guest88391made it mad
15:53.16wdoekeswhich amounts to "a string"
15:53.19guest88391ye
15:53.31wdoekes$[] "returns" an integer
15:53.39WIMPy"-00000"? WTF?
15:53.47wdoekessscanf %d
15:54.04wdoekesso, -000 is a technically legal 0, I think
15:54.13WIMPyAh, so [+|-]0*?
15:54.17wdoekesthat
15:56.23WIMPyWouldt that even work for "0 bla"?
15:56.42WIMPyWouldn't
15:58.08*** join/#asterisk guest88391_ (guest88391@c83-255-61-9.bredband.comhem.se)
15:59.40guest88391_anyway, thank you guys.
15:59.58guest88391_Am also wondering if there is a way to send some alert if a sip peer go down?
16:00.33guest88391_or do I need to do some bashing?
16:02.31WIMPyYou can listen on AMI for peerstatus events.
16:04.09wdoekesWIMPy: yes, indeed it would :-/
16:04.20wdoekeseven +0bla
16:04.57WIMPyI guess that makes it rather unpredictable if you don't know it.
16:05.17wdoekesnot if you assume it takes an integer, like I always do :P
16:05.37guest88391_would you call it ugly to use run asterisk -x " sip show peers" | grep -i UNREACHABLE once in a while and act accordingly?
16:06.05WIMPywould
16:07.05wdoekesugly, but easy ;)
16:07.27guest88391_well it does not end there, the output will be integrated with nagios anyway
16:07.44*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
16:08.33WIMPyAnd you're missing the unregistered ones.
16:08.59guest88391_does that apply to peers?
16:09.03guest88391_we only have peers
16:09.23WIMPyOnly if they register.
16:09.29guest88391_They do not
16:09.34guest88391_they are a bunch of kamailio servers
16:11.34*** join/#asterisk camerin (hoax@elite.bshellz.net)
16:11.46laptopdude90you know what sucsk
16:12.01wdoekesa vacuum cleaner?
16:12.06laptopdude902 of my monitors don't have VESA mounts
16:12.09laptopdude90that too
16:12.12laptopdude90also your mom
16:13.38guest88391_shivers
16:15.48laptopdude90Now, I could put my monitors on top of CRT screens
16:15.57laptopdude90But then I'd have a bunch of crt screens and that's icky
16:16.32*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-gdfwlfstkqkoljnk)
17:08.02*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
17:11.34*** join/#asterisk membiblio (~membiblio@108.32.57.2)
17:16.36*** join/#asterisk kleszcz (tick@linuxmafia.pl)
17:42.44*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
17:45.51*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-ljscmilfhnqvzdne)
18:10.51*** join/#asterisk mac_ified (~mac_ified@67-9-150-210.res.bhn.net)
18:13.41*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
18:37.38*** join/#asterisk areski (~areski@80.174.128.6.dyn.user.ono.com)
18:48.08*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
19:05.11*** join/#asterisk kovalevsky (~kovalevsk@fedora/kovalevsky)
19:10.48*** join/#asterisk defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net)
19:37.52*** join/#asterisk livtyler (~livtyler@unaffiliated/livtyler)
19:41.46livtylerBonjour, I have a problem with asterisk, I've compiled and I have installed it, enabled autoload=yes but when I enter the CLI and do a "module show" I get disconnected from Asterisk Server, last minute cleanups????
19:44.39[TK]D-Fendermake sure you dno't have any non-compatible modules in there and reinstall them
19:46.25livtylerHello [TK]D-Fender , how do I check that?
19:46.52livtyler'asterisk -c' ???
19:47.07[TK]D-Fenderflush the modules forlder and "make install"
19:57.16livtyler[TK]D-Fender: this will take a while
19:59.36*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
19:59.56[TK]D-FenderIt should take about 2 seconds
20:00.04[TK]D-Fenderdelete the contents of your modules folder
20:00.11[TK]D-FenderRECOPY only the stuff you already just compiled
20:00.19[TK]D-FenderI didNOT say to recompile
20:00.28[TK]D-FenderJust fulsh & recopy
20:00.32livtyler[TK]D-Fender: same result
20:00.37[TK]D-FenderShow us
20:00.46[TK]D-FenderThe full job & result
20:06.53*** join/#asterisk hecatae (~hecatae@host-89-240-2-225.static.as13285.net)
20:10.19livtyler[TK]D-Fender: http://pastebin.com/zHZsiUKV
20:23.13[TK]D-FenderWTF
20:23.32[TK]D-Fendermake install should not be installing SAMPLE CONFIGS
20:24.22[TK]D-Fenderlooks like some BS ports install
20:24.36livtyler[TK]D-Fender: NetBSD
20:24.41[TK]D-FenderGAH
20:24.57[TK]D-Fender-bash-2.05b# rm /usr/pkgsrc/comms/asterisk18/work/.destdir/usr/pkg/lib/asterisk/modules/*
20:25.05[TK]D-FenderThis doesn't look liek a noremal running modules folder
20:25.17[TK]D-Fenderthis is SOURCE
20:25.23[TK]D-FenderNot the INSTALL folder
20:25.45[TK]D-FenderGo verify that you haven't screwd configs up with this
20:26.07[TK]D-FenderAnd prove what folder * is using for modules
20:26.48livtyler[TK]D-Fender: it is, it's the only "modules" folder in all entirely  pkgsrc folder
20:27.10[TK]D-Fenderthis has nothing to do with SOURCE
20:27.16[TK]D-FenderSounrse installs to RUNNING folder
20:27.30*** join/#asterisk creativx (~ntttt@226.62-97-205.bkkb.no)
20:28.06livtyler[TK]D-Fender: I think it works this way in pkgsrc, however what other distro could I try on?
20:28.16[TK]D-FenderI told you to LOOK
20:28.22[TK]D-Fenderwhat dsoes * SAY it is using?
20:28.33[TK]D-Fendercore show settings
20:28.34[TK]D-Fender^
20:29.43livtyler[TK]D-Fender: http://pastebin.com/EMXxAHiB
20:30.00[TK]D-Fender<PROTECTED>
20:30.17[TK]D-FenderSure doesn't say "pkgsrc there does it?
20:30.35[TK]D-FenderYou don't install TO src.  You install FROM src
20:31.11[TK]D-FenderNow go recompile * because if you screwed with your source folder then you probably killed what you need to actually recompile it
20:32.05livtyler[TK]D-Fender: oh, ok, recompiling, then 'rm /usr/pkg/lib/asterisk/modules/*' ??
20:32.25igcewieling1[TK]D-Fender: some things are a lost cause.
20:33.56laptopdude90hey do you think my dad would be pissed if I mounted this in the wall http://www.ebay.ca/itm/Qty-3-Siemon-5e-HD5-Series-HD-96-patch-panels-/252168047592?hash=item3ab6630be8:g:YkgAAOSwiwVWRKQ5
20:35.03[TK]D-Fenderlivtyler, No, you're killing the modules folder FIRST THEN completely redoing your * install
20:35.15[TK]D-Fenderbackup your configs and then fix the rest of it
20:35.47*** join/#asterisk ModFather (~ModFather@unaffiliated/modfather)
20:36.03livtyler[TK]D-Fender: ok, thanks sir
20:40.37ModFatherHi All, how i can store voicemessages to the database as mp3 instead of wav ?
20:42.35[TK]D-Fenderwhat "database"?
20:43.07[TK]D-FenderAnd * can never write MP3.  Anything you want to do like that you have to script outside of *
20:44.11ModFatherright now i am storing to the database the .wav file and the call information
20:44.56cmendes0101"the database"
20:45.06ModFatheri would like to know how i can store also an mp3 version of the voice mail inside the database. i know that asterisk cannot write it to mp3, but maybe it has any plugin that convert it to mp3 with lame?
20:45.34[TK]D-Fender* doesn't have plugins
20:45.44[TK]D-Fenderit has scripts YOU tell it to call from the configs
20:46.26ModFatherokey, so does anyone happen to know any script that is doing that already?
20:47.06[TK]D-FenderYou already know lame
20:47.14[TK]D-Fenderso use it
20:47.28[TK]D-Fenderread your voicemail config and set the script to run
20:47.51[TK]D-Fenderthe sample details the parameters you have available
20:48.21livtyler[TK]D-Fender: same result, something should be wrong with my BSD, will try in Linux and report back
20:48.23ModFatheri was asking if does anyone knows a script that doing that , but seems i need to right it by myself
20:48.34ModFatherwrite*
20:49.14[TK]D-Fendercalling lame is 1 shell command
20:49.29[TK]D-FenderPutting it somewhere after is on you for however you want to do that
20:49.41ModFatherokey, and by calling lame you think, it can convert it to mp3, also delete the wav and insert it to the database..
20:49.42ModFatherthanks
20:50.00[TK]D-Fenderlast I cehcked lame doesn't put things "in a databse"
20:50.05[TK]D-Fenderthat's on you
20:50.20ModFatherpfff TK :) nevermind
20:50.22[TK]D-Fender<livtyler> [TK]D-Fender: same result, something should be wrong with my BSD, will try in Linux and report back <- why haven't you actually shown us?
20:50.28ModFatheri need a script not just a lame command..
20:50.34ModFatherthanks by the way
20:50.35laptopdude90I've got a general server question
20:51.06laptopdude90So right now I've got wires going from the back, through an empty 1u space, into the front of the switch
20:51.21laptopdude90Should I cut the wires, hook them into a patch panel, and connect the patch panel instead?
20:51.25laptopdude90Is there any advantage?
20:52.09livtyler[TK]D-Fender: don't worry, I will compile Asterisk in GNU/Linux as the book says to do.
20:53.37cmendes0101laptopdude90: What kind of wires are they? Sounds like its just cable management on a small/lab setup?
20:54.08[TK]D-FenderKeep in mind you tell us things like "didn't work" and don't bother to show us anything we can help with.
20:54.53laptopdude90They're just cat5e wires
20:55.38[TK]D-Fenderlaptopdude90, go look at cable management accessories
20:55.53laptopdude90so that's a no?
20:56.17[TK]D-FenderWho wastes rackspace on an OPEN HOLE?
20:56.28laptopdude90Well where am I supposed to run the wires then?
20:56.30laptopdude90.-.-.-.
20:56.39[TK]D-FenderWhy even have a rack.  It's just like Jenga anyway right?
20:56.48laptopdude90um
20:56.50laptopdude90k?
20:56.53[TK]D-FenderI'm good at Jenga.  Maybe I should just stack mine in the middle of the floor
20:57.06laptopdude90so I'm going to take that as a no.
20:57.12[TK]D-Fendertakes a server from the middle and puts it on top
20:57.19laptopdude90until someone more qualified comes on(no offense)
20:58.02[TK]D-FenderSince you don't have a basis to judge mine... good luck trying to do that accurately BLIND
20:58.03[TK]D-Fender:p
20:58.18laptopdude90well anything is more qualified than "you don't need a rack"
20:58.30laptopdude90or just ignoring myquestion altogether
20:58.38[TK]D-FenderBut for perspective I did point out that there are already tons of products for cable management for racks... so...
20:58.46[TK]D-FenderThat proves I know they exist... and they are for a reason
20:58.48laptopdude90But that doesn't answer my question
20:58.49laptopdude90At all
20:58.50[TK]D-FenderDo with that what you will
20:59.27[TK]D-FenderIts' there to keep cables organized and so you don't run cables through some open hole in your rack front
20:59.43laptopdude90then where am I supposed to run the cables
20:59.46[TK]D-FenderIf this stuff EXISTS... it's because you shouldn't be doing it with some gaping hole
21:00.02[TK]D-Fenderyou run it INTO the cable management tracks?
21:00.14[TK]D-FenderYou already have enough words to GOOGLE for this already.
21:00.15laptopdude90So out the rack and back in again?
21:00.21laptopdude90that doesnt make much sense
21:00.25[TK]D-FenderHaven't you already SEEN examples now?
21:00.29laptopdude90yes
21:00.34laptopdude90They ran it outside the rack
21:00.37laptopdude90then back in
21:01.11[TK]D-FenderAcross the SIDES normally, nice and clean and sealed off, and the out to the front as needed at whatever height needed
21:01.34laptopdude90but I've got an enclosed rack
21:02.10[TK]D-Fenderhttps://www.google.ca/search?q=rack+cable+management&biw=1760&bih=976&source=lnms&tbm=isch&sa=X&sqi=2&ved=0CAYQ_AUoAWoVChMIlJDTw6mTyQIVSSYeCh0EpQIn
21:02.22laptopdude90yes that is what I googled
21:02.27[TK]D-FenderGo lok up whever element applies to your specific space and run with it
21:02.36[TK]D-FenderIn the end you're the one who has to work with it
21:02.47[TK]D-Fendercreful how you drag wires through places
21:02.55cmendes0101I usually have my switch facing the back so network cables don't need to go back to front
21:03.01hecataelaptopdude90: colour code it
21:03.07laptopdude90.-. that doesnt help
21:03.36cmendes0101There is no magic way of doing it. Its how it fits and how the person wants to manage it or wants it to look
21:11.11*** join/#asterisk livtyler (~livtyler@unaffiliated/livtyler)
21:25.42kovalevskyHello everyone!
21:25.56kovalevskyDoes anyone has worked before with voip voip configuration with asterisk?
21:26.47lvlinuxkovalevsky: very few people that have worked with Asterisk have NOT worked with voip configuration :-)
21:27.32lvlinuxkovalevsky: ask your question anytime.
21:27.42hecataekovalevsky: no voip experience, but plenty of iax and sip experience
21:28.06lvlinux?
21:28.11hecataealso some h323 if that's any help
21:33.45kovalevskylvlinux, thanks a lot for letting me know that :D
21:34.18lvlinuxkovalevsky: :-) Seriously though---did you have a question?
21:34.54kovalevskylvlinux, yeah, I'm actually trying to figure out how can I make an inbound call configuration using a sip trunk line
21:36.05lvlinuxWell the book goes through how to do that very simply. You can also pastebin your config here and someone may be able to help.
21:36.08lvlinux~book
21:36.08infobotAsterisk: The Definitive Guide, 4th Edition (ISBN 1-4493-3242-0) available at http://oreilly.com/catalog/0636920025894 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and a version is available for reading online at http://www.asteriskdocs.org/ or see ~buybook
21:37.46*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
21:45.06kovalevskyhttp://fpaste.org/290860/76238421/
21:45.36kovalevskyI've use this configuration to the incomings calls but Im not sure it's correct due the fact that the company only give some parameters and most of them are wrong...
21:46.09kovalevskythe thing is that I can do outbound calls but when it comes to make inbound calls I'm not able to call to my virtual name and I don't know what I'm doing wrong
21:46.54kovalevskyThere is a tutorial here: http://www.voipvoip.com/asterisk/
21:47.12kovalevskyThat says all the parameters that you should use in incoming calls but with no success
22:01.26*** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de)
22:30.22[TK]D-Fenderhttp://fpaste.org/290860/76238421/
22:30.24[TK]D-FenderThis is a failure
22:30.29[TK]D-Fenderyou aren't even allowing any codecs
22:30.54lvlinuxI didn't realize "voip voip" was a company name
22:31.20[TK]D-Fenderyour entries for them should also be "nat=no"
22:31.28lvlinuxkovalevsky: what country are you in?
22:31.30[TK]D-Fenderinsecure=very <- this is just WRONG in 1.6+
22:31.37[TK]D-Fenderit should be "insecure=port,invite
22:31.43[TK]D-FenderIf even applicable
22:32.09[TK]D-FenderAnd the entire idea of "incoming settings' is USELESS from that guide
22:32.15[TK]D-FenderRemove it entirely
22:32.30[TK]D-Fenderyou didn't follow the guide for some aprts, and much of the rest was garbage
22:32.30lvlinuxkovalevsky: you need to add at least either "allow=ulaw" if in US, or "allow=alaw" if outside US
22:32.40[TK]D-FenderApply all these changes and try again
22:37.04guest88391_am curious, if a system has allow=alaw and a ulaw call comes in, will it drop the call due to incompatible voice or will the call go on without any RTP?
22:39.17[TK]D-Fenderguest88391_, doesn't matter if you allow alaw
22:39.30[TK]D-Fenderguest88391_, What matteris is if you don't allow what they support
22:39.42[TK]D-Fenderand if you don't then you're going to get a dropped call
22:39.56[TK]D-FenderThe moment it gets answered
22:42.41kovalevsky[TK]D-Fender, thanks for you answer
22:43.08kovalevskyI've follow the guide step by step, firstable I tried t use the codecs and then remove it for tests reasons
22:43.29kovalevskywhay nat should be no?
22:43.43kovalevskyI've use nat=force_port
22:44.03*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
22:44.41[TK]D-Fenderyour PROVIDER is not behind NAT
22:47.36kovalevsky[TK]D-Fender, that's okey
22:47.48[TK]D-FenderIt really isn't.
22:47.49kovalevskyI've made the changes that you told me but everything is the same
22:47.50kovalevsky=(
22:48.05kovalevskyThe funny part is that I can now make outbound calls
22:48.06[TK]D-FenderBecause if they end up using separate media vs signalling servers you're going to end up with no audio
22:48.32kovalevskyand I have sound during the call
22:48.33kovalevskySo...
22:48.39[TK]D-FenderWe also can't judge "everything is the same" because you didn't actually show us a call with proper debug before .... or NOW.
22:49.11[TK]D-FenderShow us the call and your NEW configs
22:50.39kovalevskyhttp://fpaste.org/290865/27727144/
22:50.57kovalevskyThis is the new config that I've use into the incoming call
22:51.05*** join/#asterisk karelk (~karel@31.10.145.202)
22:51.15kovalevskyI've made a inbound route and nothing
22:51.34[TK]D-FenderWhere is the call attempt with debug?
22:51.43kovalevsky[TK]D-Fender, is there is a way to see some debug information if a user call to the virtual name that I'm using?
22:51.59[TK]D-Fender"virtual name" is not a meaningful term
22:52.10kovalevskysorry! I got confused hehe
22:52.11[TK]D-Fendershow us the PACKETS coming to your server for the calls.
22:52.15kovalevskyvirtual phone number I mean
22:52.18[TK]D-Fender"sip set debug on"
22:52.21[TK]D-Fender"core set verbose 10"
22:52.24[TK]D-Fenderplace a call
22:52.25[TK]D-FenderSHOW US
22:57.15kovalevskythere are so many info there
22:58.49[TK]D-FenderI know
22:59.15[TK]D-FenderIt tells you whats happening and what it doesn't like
22:59.34[TK]D-FenderSo since you've clearly never looked at this before we don't expect you to know what it all means
22:59.39[TK]D-Fenderso show us and we'll tell you
23:04.54kovalevsky[TK]D-Fender, http://fpaste.org/290870/47628663/
23:05.04kovalevskythis is some messages that the debug tools show me
23:07.18[TK]D-FenderRetransmitting #5 (no NAT) to 69.90.209.57:5065:
23:07.29[TK]D-FenderApparently you are trying to register and aren't getting answered at all
23:07.47[TK]D-FenderAnd I see no call attempt in there
23:08.05[TK]D-FenderI wouldn't expect you to get them from your provider since you haven't successfully registered
23:09.13kovalevskyYeah
23:09.36kovalevskyThat's what I'm trying to use with the registry string that they say in the tutorial
23:10.02kovalevskybut i've use sip show registry and the pbx says me that the request was sent but with no confirmation of the registry
23:10.44[TK]D-FenderAnd you are sending that registration to a DIFFERENT PORT than was suggested in their guide
23:10.52[TK]D-FenderRetransmitting #5 (no NAT) to 69.90.209.57:5065:
23:10.58[TK]D-FenderYou should NOT be sending to 5065
23:11.10[TK]D-FenderWhy are you doing this?
23:11.21[TK]D-FenderThat is not the standard port and their guide does not tell you to do this
23:12.22kovalevsky[TK]D-Fender, I've tested with 5060
23:12.27kovalevskywith no success
23:12.40[TK]D-FenderAnd we don't see what THAT failure looks like
23:12.49[TK]D-FenderJust dbecause it didn't work doesn't mean it is the SAME
23:12.59[TK]D-FenderAnd you are clearly not following the rules
23:12.59kovalevskythey have suggested use that port in case of any troubleshooting
23:13.27[TK]D-FenderFix your regsitration
23:14.20*** join/#asterisk marlinc (~marlinc@bouncer.cvo.technology)
23:14.25[TK]D-Fender<kovalevsky> http://fpaste.org/290865/27727144/ <- and this is WRONG and not what I told you to do for the peer settings
23:14.54[TK]D-FenderI told you to get rid of the "incoming settings" section entirely
23:15.11kovalevsky[TK]D-Fender, Oh, okey.
23:15.15[TK]D-FenderYou also made changes I did not suggest including changing the hostname to an IP
23:15.24*** join/#asterisk karelk (~karel@31.10.145.202)
23:21.23[TK]D-FenderFix all your settings as instructed then show us you actually did them as told and show new debug
23:22.12kovalevsky[TK]D-Fender, give me some minutes
23:22.22[TK]D-FenderShould take 1 minute
23:22.25[TK]D-Fendertops
23:47.28*** join/#asterisk Fanch (~fanch@reverse1.qth.fr)
23:47.43*** join/#asterisk karelk (~karel@31.10.145.202)
23:54.04*** join/#asterisk karelk (~karel@31.10.145.202)

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