IRC log for #asterisk on 20150706

00:02.01*** join/#asterisk camerin (~camerin@elite.bshellz.net)
00:39.29*** join/#asterisk Qwell (north@asterisk/developer/Qwell)
00:39.29*** mode/#asterisk [+o Qwell] by ChanServ
01:18.09moe`so, myes, what's this with setting up skype as a gateway
01:19.13moe`I keep getting the congrats from the asterisk bitch
01:19.28moe`exten => _9XXXXXXXXXXX,1,Dial(SIP/skype/${EXTEN})
01:19.33moe`is that not correct?
01:25.02moe`unless that causes asterisk to pass the 9 prefix to skype, in which case I change it to...
01:25.12moe`exten => _XXXXXXXXXXX,1,Dial(SIP/skype/${EXTEN})
01:25.56moe`drmessano, what say you?
01:26.16[TK]D-FenderThat line clearly doesn't matter here
01:26.22[TK]D-FenderSo top staring at it'
01:26.25[TK]D-Fenderstop*
01:26.37moe`ok, so where does one go from there?
01:26.47[TK]D-Fender<moe`> unless that causes asterisk to pass the 9 prefix to skype, in which case I change it to... <- which it does and we told you FIVE TIMES
01:26.56[TK]D-Fenderlook at what it IS hitting and where
01:28.20moe`I keep getting the asterisk default "congrats"
01:28.30[TK]D-FenderIf you are sitting in * CLI and WATCHING this happening.. then you aren't really looking or trying
01:28.43[TK]D-FenderForget your EARS and start using your EYES
01:28.48[TK]D-FenderASTERISK CLI
01:28.57[TK]D-FenderNo if's and's or but's
01:29.13[TK]D-Fenderconnect and LOOK at what is getting executed
01:29.38[TK]D-FenderAnd there is no "asterisk default".
01:29.52moe`[Jul  5 21:27:28] WARNING[101283] chan_unistim.c: Your OS does not support IP_PKTINFO, you must set public_ip.
01:29.54[TK]D-FenderYou may have put SAMPLE CONFIGS into your config folder.. but that's on you
01:29.56moe`what's this fresh hell
01:30.09[TK]D-FenderWe don't care about unistim
01:30.52moe`yes I have sample configs in my config directory
01:31.01moe`that's what pkg install asterisk13 on FreeBSD does
01:31.02[TK]D-Fenderthen your dialplan is full of GARBAGE
01:31.06[TK]D-FenderWhich you shouldn't have
01:31.14[TK]D-FenderBut before tr4ashing it
01:31.18[TK]D-Fendertime to LEARN what is happening
01:31.26[TK]D-Fendergo LOOK at your call
01:31.39moe`yeah that's the problem, I don't understand what dial plans and contexts are yet
01:31.48[TK]D-FenderThen you're screwed
01:31.57[TK]D-Fenderbecause that's the step you're DOING right now
01:32.33[TK]D-FenderYou don't say "how do I steer?" while you're behind the wheel on the highway.  You're gonna die.  This will no please your driving instructor either
01:32.38[TK]D-FenderREAD THE BOOK.
01:32.52[TK]D-FenderDon't know what contexts are?  Don't know what the patterns fully represent?
01:32.56[TK]D-FenderThere is a FREE BOOK for this
01:32.58[TK]D-FenderREAD IT
01:33.10moe`yeah, I hear you, RTFM
01:34.00[TK]D-FenderAll call processing = dialplan.  You BETTER learn this part because it's 90% of Asterisk.
01:34.08moe`just I was rather hoping there'd be a quick and dirty way to get local extensions and a skype gate going
01:34.48[TK]D-FenderSetting up so you can call out to a SIP provider, or call to/from a SIP phone of some sort is a tiny number of lines.  Processing what is DIALED it everything
01:35.11[TK]D-FenderThere is no agic.  Every single thing your system does when your soft-phone PLACES a call is dialplan
01:35.20[TK]D-FenderThere is "quick and dirty".
01:35.27[TK]D-FenderThere is also "you need to UNDERSTAND this"
01:35.56[TK]D-FenderI linked you a specific chapter the other day that even showed you both pieces TOGETHER
01:36.25moe`yep, I hear that, I need to stop bitching about stuff and RTFM and make it work
01:37.32[TK]D-FenderAnd as a primer there was the 5 times I told you to show us the call
01:37.35[TK]D-FenderYou still haven't done.
01:37.53[TK]D-FenderAsking why it's doing what it's doing is poitnless when you aren't showing us the EVIDENCE
01:45.44*** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica)
02:02.55*** join/#asterisk D30 (~D30@58.71.19.178)
02:02.55[TK]D-Fenderheads out for a while
02:14.59*** part/#asterisk Mp5shooter (~Mp5@unaffiliated/mp5shooter)
02:33.12moe`oh c'mon, now I have another client that can connect to asterisk but extensions aren't working
02:33.26moe`<--- whining bitch
02:49.01*** join/#asterisk Frojoe (Frojoe@2a01:7e00::f03c:91ff:fe70:bc74)
02:57.19ChannelZ"aren't working" is of no help
02:58.04moe`someone is being an asshole... 156.34.37.48
03:00.19*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
03:02.24ChannelZthe net is full of em
03:02.30moe`well yeah
03:02.58moe`ok, so I have ekiga clients connecting
03:03.18moe`so now, how to setup extensions
03:03.34moe`this should not be so complex.  there is something stupid I'm misunderstanding
03:03.49ChannelZDid you read my primer?
03:03.55moe`~primer
03:03.55infobotNew to asterisk configuration? Check out this primer to get started.  http://burner.com/asterisk-primer
03:04.05ChannelZBecause if you did you'd have already  discovered how NOT complex it is.
03:04.05*** join/#asterisk bananabas (~bananabas@unaffiliated/bananabas)
03:06.57moe`yeah I see all that
03:07.03moe`well, not *all*
03:07.05moe`but ok
03:07.18moe`its pissing me off, these things
03:07.34ChannelZ"Creating a Disalplan"
03:07.44ChannelZs/Dis/Dia
03:08.17moe`very well written howto dude
03:08.25moe`but its not getting me there
03:08.59ChannelZWe're not psychic. Show us a failure
03:09.21*** join/#asterisk Kobaz (~kobaz@its.kobaz.net)
03:10.04drmessanoActually, start at "Configuring SIP"
03:10.08drmessanothen the dialplan
03:10.17drmessanoBecause both of those pages together answer ALL your questions
03:10.31moe`my god I must be annoying the hell out of you guys.
03:10.40drmessanoRead the TWO fucking pages
03:10.48ChannelZtrue, they relate to each other with peer names and things
03:11.07ChannelZShould be easy to see the correlation
03:11.43ChannelZand explains the elusive contexts you're having problems getting
03:13.06drmessanomoe`, i'm trying to give you the benefit of the doubt here.. You have already admitted how you "hardheaded" you are, which is basically "I dont read, I just keep trying shit til it works".. We've wasted tens of hours combined showing you document after document in how to set up what takes any n00b an hour to setup
03:13.39drmessanoSo intentional or not, you've crossed into the "Do it for me" AKA "Help Vampire" phase of this operation
03:13.43drmessanoJust read the documents!!!
03:13.47drmessanoCome on man
03:14.15ChannelZHeh, I like that.. "help vampire"
03:14.19drmessanoI want you to succeed here, but all you're doing is glancing at shit and making us repeat
03:15.00drmessanoI've never looked at ChannelZ's docs before, but OMG.. it's pretty much ALL THERE in regard to the VERY BASIC part of dialplan you're missing
03:20.27moe`yeah, likely
03:21.26moe`so when SIP users are defined, do they have to be included into a dialplan (sip.conf) or is that a function of extensions.conf?
03:23.16drmessanoThats what the context is for..
03:23.49moe`see this is what I'm missing
03:23.52moe`WTF is a context
03:24.11ChannelZhe hasn't read a thing
03:24.18drmessanoI know
03:24.24moe`yeah, actually, I have
03:24.31moe`but I'm just not getting it
03:24.41drmessanoBecause on the Configuring SIP page, he clearly notes context=internal for each user
03:24.48ChannelZ"Finally, we set context=internal for the device.  The context refers to a section of the dialplan, something we haven't talked about yet (but will in the next section.)  In short, the dialplan is what actually makes Asterisk do something with calls, and contexts allow you to separate what happens to calls that originate from different places."
03:25.12drmessano^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
03:25.18drmessanoFTFA
03:25.23ChannelZ"Contexts are like containers for extensions; they serve to separate extensions from each other in the dialplan.  In sip.conf we configured our TestPhone-A peer with context=internal, so any calls it makes will wind up in the [internal] context of the dialplan."
03:25.24drmessanoFTFM?
03:25.28moe`ok
03:25.49drmessanoDid you read any of that ?
03:25.55drmessanoPrior to him pasting it?
03:28.50moe`I'm about to fall back to mumble, really.
03:28.57drmessanolol
03:28.59moe`<--- failure
03:29.25ChannelZshrugs
03:29.25moe`I have my own mumble (mumble.unixninja.net) but yeah
03:29.36moe`this is starting to be an epic failure
03:31.42drmessanoThats unfortunate, because all the pieces are right in front of you
03:31.49drmessanoPretty much hand-fed
03:31.49ChannelZYour original plan seemed to be to call out through Skype.  Why not just use Skype?
03:32.17moe`cuz I don't want the give the US/NSA the contents of my calls?
03:32.35moe`I was planning to go TLSv1 and I have my own proper cert and stuff
03:33.22drmessanoOh lord
03:34.45moe`right now for mumble I use openvpn to talk with friends and it's SSL 4096bit
03:35.01moe`so it's SSL in SSL
03:35.16moe`nazi crypto :)
03:35.16drmessanoI will tell you this.. I consider myself very proficient at setting up SIP TLS and SRTP, and if you can't even grasp the basic concepts of SIP.conf and extensions.conf (difficulty 1), you're not going to be able to set up TLS+SRTP (difficulty 2)
03:35.52moe`well I get sip.conf, I think, I have clients connecting, and I can register with sip.skype.com
03:36.57drmessanoNo, you have clients registering.  You can't even grasp the concept of adding context=blah to each SIP user and having a [blah] context in extension.conf with your dialplan
03:36.59moe`the TLS options for sip.conf are pretty simple
03:37.14moe`well now
03:37.15moe`see
03:37.21moe`you just explained a lot
03:37.28drmessanoWHAT?!
03:37.57drmessanoSo basically you're read NOTHING we've pasted
03:38.26moe`well, read, but not properly understood
03:38.30drmessano"Finally, we set context=internal for the device.  The context refers to a section of the dialplan, something we haven't talked about yet (but will in the next section.)  In short, the dialplan is what actually makes Asterisk do something with calls, and contexts allow you to separate what happens to calls that originate from different places.
03:38.33drmessano^^^^^^
03:38.41moe`I'm an old school C programmer and /bin/sh is my bitch
03:38.46moe`so I need it clear
03:38.47drmessanoWhat do you think the DIALPLAN IS?
03:38.48moe`:)
03:38.54drmessanoEXTENSION.fucking.conf
03:38.58drmessanoEXTENSIONS.fucking.conf
03:39.17drmessanoNo, it sounds like you need it done for you, and I am not doing that
03:39.33moe`I would not want you to waste your time on that
03:39.40drmessanoYou already have
03:39.51drmessanoBy not reading whats been presented
03:39.54drmessanoSo i'm done
03:40.42moe`so in sip.conf I have per user, "context=unixninja"
03:40.56moe`and an extensions.conf, I have a [unixninja] block
03:41.01moe`is this sane?

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