IRC log for #asterisk on 20141025

00:01.34*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
00:11.41*** part/#asterisk Nemus (~Nemus@unaffiliated/nemus)
00:49.04*** join/#asterisk BurmaSauce (~evansj@51.23.169.217.in-addr.arpa)
01:05.37*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
01:50.43*** join/#asterisk MadHatter42 (~tuwid@217.73.143.43)
02:05.34*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
02:11.23filefalls over
02:11.54*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
02:16.25*** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de)
02:29.45*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
02:38.05*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
02:38.40*** join/#asterisk infina (~infina@198.27.67.105)
02:38.43*** join/#asterisk FatalNIX (~FatalNIX@unaffiliated/fatalnix)
02:38.46FatalNIXHey guys
02:39.07FatalNIXWe got some black magic and sorcery going on
02:39.46FatalNIXanyoneever configure asterisk behind NAT?
02:41.04*** join/#asterisk MadHatter42 (~tuwid@217.73.143.36)
02:45.52LiuYanFatalNIX: i have an asterisk behind NAT
02:46.59FatalNIXLiuYan: are there any weird problems you ran into like phones registering and asterisk never sending responses or anything, etc?
02:47.04FatalNIXlooking at a tcpdump I have
02:48.04pederindiaaaaaaargh
02:48.11pederindiI have the same problem and I wanted to ask
02:48.38LiuYanFatalNIX: at first, yes.  after reading some document, i add 'nat=force_rport,comedia' to each sip account in sip.conf, then it works fine now.
02:48.50FatalNIXhuh.
02:49.03pederindican I ask about sip in general? this problem about nat?
02:49.07FatalNIXif everyone we have uses sip, do you think it's save to throw that in general?
02:49.27FatalNIXinfina: ^
02:50.12FatalNIXwell if we only need it for the ipv4 phones...
02:51.01FatalNIXinfina: looks like you already put that in our conf
02:51.23FatalNIXpederindi: ?
02:51.54*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
02:53.00ChannelZyawns
02:53.42LiuYanFatalNIX: not sure it's safe of not.
02:54.37FatalNIXseems to already be in there anyways. I'm going to do a couple things then see about grabbing some debug data
02:55.51ChannelZWho's behind nat?  Asterisk?  The peers?  Both?
03:00.16pederindiFatalNIX: yes?
03:00.36FatalNIXback
03:00.55*** join/#asterisk dms1 (~dms1@c-50-168-154-89.hsd1.sc.comcast.net)
03:01.24pederindiI think also firewall could do problems... I'm experimenting
03:02.06FatalNIXChannelZ: well what happened is that we had asterisk listening on our vm host, but we're moving it to one of the vms. the vms we use for internal purposes are all behind nat so you can't really get to them without firewall rules letting them through. Anyways, in my appartment I am also behind NAT and it was working with asterisk until we moved it to the VM
03:02.37FatalNIXso in my case, yeah nat on both, but nat was already set up and working for nat on my end with asterisk
03:03.03pederindiFatalNIX: nat is not a problem...
03:03.33pederindiFatalNIX: look if this is useful for you https://github.com/pedro-nonfree/deploying-voip-in-community-networks/blob/master/diary.org#no-audio-in-internal-calls-nat-problem
03:03.43pederindi(is documentation, not code)
03:04.26ChannelZOK. So when asterisk is behind NAT, you need to at minimum configure eternaddr, localnet, and nat in sip.conf.  You'll need to port-forward 5060 and some range of RTP (as in rtp.conf) through the firewall to that server as well
03:05.02FatalNIXyep, we have all three of thosem and I think we properly set up RTP, I know the 5060 forwarding is working from a tcp dump
03:05.09FatalNIXh0j0sz6s
03:05.11FatalNIXbah
03:05.15FatalNIXhttp://pastebin.com/h0j0sz6s
03:05.16FatalNIXthere.
03:05.37FatalNIXthat's our iptables setup for sip, I know the 5060 is working, RTP "SHOULD" be too afaik
03:06.04FatalNIXasterisk is dfinately showing the phone I have trying to register.
03:06.33ChannelZIn, perhaps.
03:07.13ChannelZIt also needs access on the firewall to send out, but since the remote end asks for what port to send them media at, it's a bit of a question mark.
03:07.37FatalNIXalso, neat article pederindi
03:07.55FatalNIXChannelZ: there's no firewall rules for outgoing connections
03:08.12*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
03:08.26FatalNIXeverything on that network is pretty dim lit and handled by the two of us, so we never bothered.
03:09.21FatalNIXcan't even ssh into them without bouncing around boxes
03:09.45ChannelZhuh?
03:10.10FatalNIXI'm just saying there's nothing limiting asterisk from making outgoing connections
03:10.37FatalNIXfirewall wise
03:11.45ChannelZok.. well so what's the problem?  External peers not register?  No audio?
03:14.41FatalNIXthere's definately no audio but when I look it's not even registering. the phone doesn't give much info so I have to look at asterisk's debug. I got some messages from infina when he was watching the debug. x.x.x.x is the external IP of the host server: http://pastebin.com/VrMbKak7
03:15.00FatalNIXdunno if that rings any bells, we had mostly just some superstition
03:15.28FatalNIXbut the phone is constantly trying and trying, and asterisk never ends out a packet on 5060 in response.
03:16.38ChannelZI don't know what that fragment is/where it came from.  Turn on sip debug (sip set debug on)
03:17.01ChannelZSee if it's even seeing them.  If it's not, you have some networking problem or another.
03:17.25FatalNIXinfina: where did you get those messages?
03:17.32infinaFatalNIX: tcpdump.
03:17.41infinaverbose output.
03:18.23FatalNIXhmm
03:18.29FatalNIXI didn't realize tcpdump was so smart
03:18.46FatalNIXI thought that was from asteriks
03:25.39FatalNIXwould it be easier to have some sort of proxy on the host?
03:26.11ChannelZYes, make it more convoluted.
03:26.48FatalNIXlol
03:31.31*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
03:33.48FatalNIXinfina: Kamailio has an ldap module btw
04:24.18*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
04:38.39*** join/#asterisk coreyfarrell (~coreyfarr@cl-454.bos-01.us.sixxs.net)
04:38.51*** part/#asterisk coreyfarrell (~coreyfarr@cl-454.bos-01.us.sixxs.net)
05:12.05*** join/#asterisk justdave (~dave@unaffiliated/justdave)
05:58.40*** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl)
06:02.45*** join/#asterisk Draecos (~Draecos@106-69-9-235.dyn.iinet.net.au)
06:21.57*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
06:30.23*** join/#asterisk Nemus (~Nemus@unaffiliated/nemus)
06:39.37*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
06:42.44*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
06:48.34*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
06:58.59*** join/#asterisk riess82 (~riessma@194-118-206-39.adsl.highway.telekom.at)
07:28.28*** join/#asterisk D-Boy (~D-Boy@unaffiliated/cain)
07:28.42*** join/#asterisk riess82 (~riessma@194-118-206-39.adsl.highway.telekom.at)
08:02.59*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
08:32.40*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
08:40.24*** join/#asterisk nix8n82 (~AndChat56@wsip-24-120-197-165.lv.lv.cox.net)
09:02.29*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
09:17.26*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
09:57.38*** part/#asterisk LiuYan (~hola@unaffiliated/liuyan)
09:58.29*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
10:01.57*** join/#asterisk CeBe (~CeBe@port-92-206-105-252.dynamic.qsc.de)
10:03.20*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
10:31.35*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
10:41.08*** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl)
10:44.17*** join/#asterisk gusto (~gusto@2a02:810d:8640:da4:221:6aff:feb8:e0b2)
11:11.49*** join/#asterisk wonderworld (~ww@ip-62-143-157-238.hsi01.unitymediagroup.de)
11:21.30*** join/#asterisk riess82 (~riessma@194-118-206-39.adsl.highway.telekom.at)
11:28.44*** join/#asterisk cunningpike (~cunningpi@70-234-246-40.lightspeed.gdrpmi.sbcglobal.net)
12:00.23*** join/#asterisk evilman_home (kvirc@89-179-77-66.broadband.corbina.ru)
12:00.49*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
12:05.10*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
12:29.58*** join/#asterisk caveat- (hoax@2a01:4f8:191:9111:30::10)
12:47.27*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
13:12.02*** join/#asterisk echelon (~echelon@gateway/tor-sasl/harel)
13:17.36*** join/#asterisk cunningpike (~cunningpi@70-234-246-40.lightspeed.gdrpmi.sbcglobal.net)
13:21.59*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
13:22.36*** join/#asterisk dms1 (~dms1@2601:0:5480:1f7::1008)
13:23.52*** part/#asterisk riess82 (~riessma@mail.p-riess.at)
13:32.14*** join/#asterisk cunningpike (~cunningpi@70-234-246-40.lightspeed.gdrpmi.sbcglobal.net)
13:44.08*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
13:50.44*** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl)
13:50.53*** join/#asterisk dms1 (~dms1@c-50-168-154-89.hsd1.sc.comcast.net)
13:56.55*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
14:07.17*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
14:14.07*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
14:15.02*** join/#asterisk aness (~aness@2a02:fe0:c310:3d0:40b2:58ab:2ddf:afe9)
14:26.29*** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de)
14:41.31*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
14:50.00*** join/#asterisk vinhdizzo (~vinh@cpe-76-173-171-205.socal.res.rr.com)
14:50.06*** part/#asterisk vinhdizzo (~vinh@cpe-76-173-171-205.socal.res.rr.com)
15:23.26*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
15:28.58*** join/#asterisk linocisco (~linocisco@61.4.76.207)
15:31.01linociscohi all
15:31.11linociscoany update astricon photos?
15:38.05*** join/#asterisk wolrah (~wolrah@24.239.210.140)
15:40.30*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
15:46.01*** join/#asterisk jhlavacek (~jirka@jix.nextradsl.cz)
15:47.46*** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2)
15:54.14*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
16:02.56*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
16:04.01*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
16:04.41*** join/#asterisk MadHatter42 (~tuwid@217.73.143.43)
16:04.53*** part/#asterisk riess82 (~riessma@mail.p-riess.at)
16:05.35*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
16:15.33*** join/#asterisk BitEvil (~quassel@tor/regular/SpeedEvil)
16:19.25*** join/#asterisk BitEvil_ (~quassel@tor/regular/SpeedEvil)
16:37.04*** join/#asterisk wonderworld (~ww@ip-62-143-157-238.hsi01.unitymediagroup.de)
16:52.03*** join/#asterisk nix8n82 (~AndChat56@2600:1011:b061:a4f:f9aa:7bb:1210:ce76)
17:10.55*** join/#asterisk sekil (~Ognjen@78.24.104.82)
17:36.11*** join/#asterisk mlhess (~digiv@drupal.org/user/102818/view)
17:45.33*** join/#asterisk hfp (~hfp@MTRLPQ0736W-LP130-04-1177931765.dsl.bell.ca)
18:15.50*** join/#asterisk linuxfool (~james@DHCP-149-228.resnet.ua.edu)
18:23.21*** join/#asterisk linuxgeek (~linuxgeek@2a03:b0c0:2:d0::5f:2001)
18:37.55filehmm?
18:56.55linuxfoolhey asterisk friends
19:00.44*** join/#asterisk echelon (~echelon@gateway/tor-sasl/harel)
19:04.19*** join/#asterisk jzaw (~jzaw@loki.dzki.co.uk)
19:10.32*** join/#asterisk gusto (~gusto@2a02:810d:8640:da4:221:6aff:feb8:e0b2)
19:19.22*** join/#asterisk slav3_sergal (~frankthet@unaffiliated/slav3-kitten/x-0866809)
19:27.46*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
19:54.35*** join/#asterisk theron (~theron@173-29-74-236.client.mchsi.com)
19:58.01*** join/#asterisk theron (~theron@173.252.71.189)
20:04.13*** join/#asterisk dan_j (~IceChat77@unaffiliated/danfromuk)
20:04.30dan_jHi, Is there anyway to automatically delete old voicemails if they are stored in file storage?
20:05.13dan_jCurrently I'm using odbc/mysql but want to take the files out of mysql storage as i'm trying to improve is backup/recovery time.
20:09.52dan_jHas anyone seen a script that exports voicemail out of odbc storage and into file storage?
20:26.20*** join/#asterisk MadHatter42 (~tuwid@217.73.143.43)
20:47.12*** join/#asterisk echelon (~echelon@gateway/tor-sasl/harel)
20:56.35*** join/#asterisk Pernat (~Pernat@rtr-6-92.interkar.pl)
21:08.49dan_jHi, Is there any reason why ODBC voicemail storage requires varchar for most fields? For example, is there anything stopping me using a BIGINT or similar for origtime or INT for duration?
21:33.35*** join/#asterisk evilman_home (kvirc@89-179-77-66.broadband.corbina.ru)
22:01.29ChannelZprobably beccause they are strings, not integers
22:12.52dan_jDuration and Origtime i assume should be integers
22:16.05*** part/#asterisk g_r_eek (~g_r_eek@46.227.60.214)
22:17.26*** join/#asterisk g_r_eek (~g_r_eek@46.227.60.214)
22:21.09*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
22:46.46*** join/#asterisk jsjc (~Adium@5.9.67.27)
23:07.01*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
23:18.36*** join/#asterisk gusto (~gusto@2a02:810d:8640:da4:221:6aff:feb8:e0b2)
23:37.27*** join/#asterisk Akuma (~Akuma@modemcable221.82-177-173.mc.videotron.ca)
23:41.15phixDoes it matter what you store it as?
23:42.18gustowhat do you want to store?
23:42.52phixAny decent RDBMS will beable to index any datatype nicely
23:43.35phixgusto: I was commenting on what dan_j was saying
23:43.40Nugget...and then there's mysql  :)
23:43.44gustoI wasnt here
23:43.54phixNugget: I did say decent RDBMS :)
23:44.11gustopostgres
23:44.16phixso obviously that excludes MySQL
23:44.23gustobut not mariadb
23:44.29phixI just didn't want to start a flame war :P
23:44.34phixor troll
23:44.51phixpostgres <3
23:45.03gustowhat's that?
23:45.18phixwhat's what?
23:46.18gusto<3
23:46.31phixlove heart symbol
23:46.54gustoyou are wrong -> http://www.urbandictionary.com/define.php?term=%3C3
23:47.17phixheh
23:47.21phixclearly
23:48.46gusto♥
23:48.58gustothat's a heart symbol
23:49.07phixyes, but I wasn't sure of your TTY
23:49.16gustohttp://unicodeheart.com/
23:49.16phixsome don't like that
23:49.27gustoI do not have a TTY, I am using XChat now
23:49.41gustoand otherwise I use irssi ... with a UTF-8 locale
23:49.59phix<PROTECTED>
23:50.01gustobasically, Unicode should be OK for everyone by now
23:50.05phixI am using irssi
23:50.11gustoyes, it works
23:50.17phixnice
23:50.24phixI will just ball sack you next time though
23:50.32gustono
23:50.41gustowhat brings you to asterisk?
23:51.27phixfate
23:52.14phixplus I like Asterisk, I am using vers 11 myself
23:52.56phix11.13

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