IRC log for #asterisk on 20120412

00:06.29*** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net)
00:06.29*** mode/#asterisk [+o mjordan] by ChanServ
00:12.44*** part/#asterisk mackhendricks (~mackhendr@99.71.235.30)
00:13.56*** join/#asterisk Bullmoose (~Bullmoose@12.50.16.66)
00:14.55dijibsuedoh: Background is definitly the way to go.
00:15.07dijibsame => n,BackGround(IVR);
00:18.29*** join/#asterisk p3nguin (~xwQ5kwYl6@cobalt.esxi.hosts.a2infotech.com)
00:19.53suedohdijib, Thanks
00:20.14suedohIs there any way to listen in on a Queued caller without picking up the Queued call?
00:21.08dijibim not that pro here, i just use monitor for everything
00:21.21dijibi'll look into channel commands
00:21.23*** join/#asterisk jsjc (~Adium@103.Red-2-136-100.dynamicIP.rima-tde.net)
00:26.10*** join/#asterisk retentiveboy (~retentive@72.54.144.26)
00:30.18dijibsuedoh: ok i have figured out that you can enable monitor when you recieve the call and then listen in realtime to that sound file.
00:30.41suedohdijib, Nice, I'm currently experimenting with ChanSpy
00:30.51suedohWhich method have you discovered?
00:30.59dijibahh that would do it
00:31.08dijibsee i dont use that, but same idea i guess
00:31.22suedohWhich idea do you have?
00:31.45suedohI'm actually not sure if ChanSpy would work now, since I don't have the call fully bridged
00:32.06dijibwait this is while at the background ?
00:32.12dijibthat works with monitor
00:32.37suedohWhat I'm trying to do is tricky I guess for me at the very least
00:32.43dijibwhy is the call not connected?
00:32.45dijibbridged?
00:32.58suedohI have a caller in Queue, I want to have an agent press a number to listen in on the user
00:33.26suedohWhile the caller is still in the Queue
00:33.56suedohWith ChanSpy it seems like the call gets picked up, or something bad happens that the MOH stops playing
00:34.09dijibahh ok. i dont have any queues running to pay with, but when im listening to one of my monitor files becuase its set before the Background() it records the IVR & input. not positive about voices.
00:34.22dijibdo they leave queue?
00:34.30suedohno, they are still sitting in queue
00:35.21dijibbut the moh does stop?
00:35.36suedohyea, it stopped with ChanSpy
00:44.45dijibfound this dont know if there is anything helpfull, still reading. http://www.jonathanmanning.com/2009/10/29/monitoring-agents-in-asterisk-with-chanspy/
00:46.58*** join/#asterisk ruben23 (~RLACUMBA@121.97.111.142)
00:49.19*** join/#asterisk netman (netman@83.56.78.188.dynamic.jazztel.es)
00:55.13*** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com)
00:59.55*** join/#asterisk scubes13 (~scubes13@cpe-024-168-253-067.sc.res.rr.com)
01:26.32*** join/#asterisk fisted (~fisted@unaffiliated/fisted)
01:32.43suedohIf I'd like to include an entire context inside of an extensions.conf file, would that be possible?  (Just for tidying up purposes)
01:33.14suedohI've tried just a standard include => filename, and placing the entire context inside of that file, but that doesn't appear to work.
01:33.31suedohI've also tried to place the [context] then the include=> which contains the priorities for that context, and that doesn't work either.
01:35.35suedohSo it appears that include => is just to include an entire context into another context, is that correct?
15:09.32*** join/#asterisk infobot (~infobot@rikers.org)
15:09.32*** topic/#asterisk is Asterisk: The Open Source PBX and Telephony Platform (asterisk.org) -=- Asterisk 10.3.0 (2012/03/29), 1.8.11.0 (2012/03/29), dahdi-linux 2.6.0 (2012/01/04), dahdi-tools 2.6.0 (2012/01/04), libpri 1.4.12 (2011/07/06) -=- Visit the official Asterisk wiki: wiki.asterisk.org
15:11.11*** join/#asterisk TheMan (~theman@66.237.29.132.ptr.us.xo.net)
15:14.01TheMangood morning all
15:26.22*** join/#asterisk _Corey_ (~chatzilla@mail1.infradapt.com)
15:36.27jeffspeffok, so after I compile 10.3.0 and go into the cli via asterisk -crv I don't have any sip commands. it's like sip isn't there. i went back and double checked that the channel driver was selected in menuselect (it was) and i continued to recompile, still not getting sip
15:37.04Qwelljeffspeff: pastebin your sip.conf
15:37.29jeffspeffwhen i rebuilt, i removed all docs and they're back to the defaults created with make samples
15:38.53[TK]D-Fender"docs"?
15:39.58beekwaves to Katty
15:40.09*** join/#asterisk vinhdizzo (~vinh@dhcp-v010-227.mobile.uci.edu)
15:40.51jeffspeffQwell, http://pastebin.com/e632xxsu
15:41.34Qwellmodule reload chan_sip.so
15:41.35Qwellpastebin it
15:44.07jeffspeffQwell, it wasn't listed under reload, but found it under load. it loaded and sip commands are there now here's the cli output http://pastebin.com/u0ANNuuD
15:46.03*** join/#asterisk Johnny- (~John@23-24-48-118-static.hfc.comcastbusiness.net)
15:46.06*** join/#asterisk timahvo1 (~rogue@41.81.137.211)
15:46.54Johnny-heya
15:46.59neurosysWhat part of the SIP shake does asterisk sent the session timers?
15:48.11[TK]D-Fenderjeffspeff, "ls -la /etc/asterisk"
15:48.20Johnny-does anyone have the 2.6 firmware for an aastra 6757i
15:48.45TheManyou can download all previous versions from the Aastra website\
15:49.02TheManI believe there's an option for previous firmwares
15:49.19neurosysTheMan, yes. hit the little PLUS icon
15:49.33jeffspeff[TK]D-Fender, http://pastebin.com/P2tYgmr9
15:50.28[TK]D-Fenderjeffspeff, Running * as root is not recommended...
15:50.34TheManneurosys, yup, thats what I was thinking
15:51.05jeffspeffI know, this is just a test system at the moment, just to get the dialplan logic working... not in a production environment.
15:53.34[TK]D-Fenderjeffspeff, I'd like to see what a raw load of * not as a daemon looks like....
15:53.52dijibanybody using googe voice recognition with * here?
15:54.35jeffspeff[TK]D-Fender, just a sec. After I loaded the sip module, i did a 'service asterisk resetart' to see if it'd load sip again automatically, and i haven't been able to get asterisk started back up.
15:56.53*** join/#asterisk coppice (~chatzilla@123203240234.ctinets.com)
15:57.36jeffspeff[TK]D-Fender, every time that i start *, and then check the status of it (service asterisk status) i get a message saying "asterisk deatd but subsys locked"
15:57.56[TK]D-Fender"not as a daemo" <-----------------
15:58.03[TK]D-Fender+n
15:59.41jeffspeff[TK]D-Fender, i've always ran * as a daemon, how do you start it w/o?
15:59.54[TK]D-Fenderasterisk -gvvvvvvvvvc
16:01.01*** join/#asterisk paolosupino (~paolo-sup@net-2-38-113-188.cust.dsl.vodafone.it)
16:01.05paolosupinohi
16:01.33paolosupinoanyone here has experience with Eutelia VOIP (Italian VOIP provider)?
16:02.19*** part/#asterisk [TK]D-Fender (~aoulton@216.191.106.162)
16:02.30*** join/#asterisk [TK]D-Fender (~aoulton@216.191.106.162)
16:02.33[TK]D-Fenderhrm
16:02.47jeffspeff[TK]D-Fender, here it is http://pastebin.com/xDpWSRbv      the office just surprised me and wants to take me out to lunch for my bday... i'll be back. thanks for your help
16:04.12[TK]D-Fender[Apr 12 04:58:19] WARNING[2948]: chan_sip.c:29589 reload_config: No valid transports available, falling back to 'udp'.
16:04.12[TK]D-Fender[Apr 12 04:58:19] ERROR[2948]: netsock2.c:263 ast_sockaddr_resolve: getaddrinfo("ast.corporate.wellsco.net", "(null)", ...): Name or service not known
16:04.28[TK]D-Fenderjeffspeff, Seemed to load chan_sip, but you look to have DNS issues, etc
16:04.39[TK]D-Fenderjeffspeff, and some syntax issues with regards to transort, etc
16:09.52ectospasm~thebook
16:09.52infobotAsterisk: The Definitive Guide, 3rd Edition (ISBN 0-596-51734-3) available at http://oreilly.com/catalog/9780596517342 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and is available for reading online at http://www.asteriskdocs.org/ or see ~buybook
16:12.08*** join/#asterisk TheMan (~theman@66.237.29.132.ptr.us.xo.net)
16:17.01*** join/#asterisk vfabi (~fabi@178.76.83.73)
16:18.18dijib[TK]D-Fender: that looks like a dns to me
16:24.46*** join/#asterisk thecardsmith (~doug@pdpc/supporter/student/thecardsmith)
16:33.33*** join/#asterisk radic (~radic@dslb-094-216-247-129.pools.arcor-ip.net)
16:42.42*** join/#asterisk Johnny- (~John@23-24-48-118-static.hfc.comcastbusiness.net)
16:43.44Johnny-thanks, TheMan. Didn't think to click on that
16:44.15*** join/#asterisk timahvo1 (~rogue@41.81.137.211)
16:48.10TheMannp Johnny, It's caught me a few times
16:49.17*** join/#asterisk serafie (~erin@nat/digium/x-dccngqmmhrmamobp)
16:51.09*** join/#asterisk NightMonkey (~NightrMon@pdpc/supporter/professional/nightmonkey)
16:53.41*** join/#asterisk din3sh (din3sh@41.136.242.10)
16:54.04*** join/#asterisk MarKsaitis (~MarKsaiti@cpc4-rdng22-2-0-cust932.15-3.cable.virginmedia.com)
16:54.29*** join/#asterisk brdude (~brdude@12.155.183.30)
16:57.08*** join/#asterisk timahvo1 (~rogue@41.81.134.228)
17:01.55*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
17:03.31*** join/#asterisk din3sh (din3sh@41.136.242.40)
17:13.06*** join/#asterisk thecardsmith (~doug@pdpc/supporter/student/thecardsmith)
17:18.11*** join/#asterisk hehol (~hehol@2001:1438:1009:200:74fd:fe6f:577f:ed76)
17:24.56*** join/#asterisk michael-i (~anonymous@204.11.230.58.static.etheric.net)
17:26.09aberrios_quick question about Yealink and Auto-Answer. In Firmware v61 manual point 25 mentions "Auto answer when receiving the special NOTIFY message from Asterisk server"...but there hardly any documentation on what notify message is needed or where to set this up on the phone. ANyone used this?
17:31.05paolosupinowhat does "Got SIP response 503 "Service not available - No gateways"" means?
17:31.07*** join/#asterisk _Raptor_ (raptorblue@andariel.informatik.uni-erlangen.de)
17:32.02pabelangerhow bad is flowroute's support?  Waiting for them to reactivate my account at it has already been ~24 hours
17:32.13pabelangernot sure why it was deactivated in the first place
17:32.46din3shres_rtp_asterisk.c: No remote address on RTP instance '0x7ffd4c0ebed8' so dropping frame
17:33.09din3shcould this cause one way audio on attended xfer?
17:34.05*** join/#asterisk thegoat (~thegoat@c-71-224-170-221.hsd1.pa.comcast.net)
17:37.50*** join/#asterisk jmpiloq (~jmpiloq@static-87-79-94-28.netcologne.de)
17:38.50pabelangerdin3sh: sounds about right
17:43.38michael-iHi all, I'm trying to track down a jittery moh bug in 10.2.1. When I dial into the MOH application directly it sounds clean. When MOH is piped into confbridge it's garbage. The MOH source file is g722, all phones are g722 only. Timing is timerfd
17:44.30michael-i…and all of this loveliness is on a mips64 platform w/enough horsepower to drive things
17:45.54*** join/#asterisk Foxi352 (~Foxi352@v-172-4.access.restena.lu)
17:46.56*** join/#asterisk oej (~olle@h87-96-134-129.dynamic.se.alltele.net)
17:46.56coppiceyou don't see a mips64 box every day. so exclusive :-)
17:48.32michael-ionly exclusively frustrating at times ;)
17:48.39din3sh@pabelanger: calls through a BRI gateway come through to SIP extensions corectly but when get attended-xfer to other sip extensions, caller cannot hear SIP extension
17:49.00din3shsip extension can hear the BRI caller
17:49.08coppicemichael-i: what box are you using?
17:50.08michael-icoppice: it's a development board, seeing what's possible on it
17:50.53pabelangermichael-i: only g722 affected?  Could be a bug, the code is pretty new
17:52.11michael-ipabelanger: I need to try other music formats still
17:52.32coppiceyeah, the G.722 only went in about 6 years ago
17:52.38pabelangerYou could try adding JITTERBUFFER to your dialplan, see if that helps
17:53.08pabelangercoppice: no, asterisk 10 media format was rewritten, same with app_confbridge
17:53.31*** join/#asterisk timahvo1 (~rogue@41.90.76.226)
17:54.02michael-iIt feels like asterisk is killing itself syncing somewhere… sometimes the music sounds good and cpu sits at <10%, then things fall apart and it jumps to 100%, gets choppy and sometimes crashes.
17:54.07coppiceMIPs seemed to be doing well with at higher end of the embedded market until about 5 years ago. now they seem to have been nearly wiped out
17:54.40*** join/#asterisk andygraybeal (~andy.gray@obsidian.casanueva.com)
17:58.32*** join/#asterisk FinboySlick (~shark@74.117.40.10)
17:59.32FinboySlickAfter some more testing, it seems my interoperability problem with Metaswitch relates to the fact that it doesn't like asterisk putting "" in the From: sip header.  Anyone knows how to work around that?
18:05.59*** join/#asterisk eicto (~eicto@144-71.dsl.aichyna.com)
18:06.09*** join/#asterisk MarKsaitis (~MarKsaiti@cpc4-rdng22-2-0-cust932.15-3.cable.virginmedia.com)
18:06.30*** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart)
18:06.56*** join/#asterisk adeel (~adeel@72.53.78.136)
18:10.05*** join/#asterisk hehol (~hehol@2001:1438:1009:200:74fd:fe6f:577f:ed76)
18:10.41jeffspeff[TK]D-Fender, thanks for the help... i found the root cause of the problems though, i still had SELinux enabled... i disabled that, recompiled, rebooted, now all is well.
18:23.59*** join/#asterisk bzort (~bzort@gateway/tor-sasl/bzort)
18:29.32*** join/#asterisk timahvo1 (~rogue@197.178.97.88)
18:38.58krotoshi all :)
18:39.34krotoscan anyone help me to understand how codec negotiation work? i make a scheme of what i am studing, and where "transcondig happen"
18:40.43krotosi want to understand how SIP/183 negotiation happen trouhght 2 phone and a simple asterisk configuration
18:42.04krotosthis is my scheme http://imageshack.us/photo/my-images/26/img20120412203013.jpg/
18:42.43[TK]D-FenderTranscoding happens once a channel with * with one codec is bridged to one that isn't.  Or when a file that you don't have in the current call's format needs to be played back.  Same applies to ringing toens, etc, which are all generated
18:44.24dijibhow do i debu an agi?
18:45.13krotos[TK]D-Fender: is, but for example if as in example (uploaded on imageshack) i force the codec all on g729 or alaw
18:46.19p3nguinIs there any way to apply an amplitude adjustment to an existing channel?
18:46.30p3nguinThe channel is bridged in a call.
18:47.00[TK]D-Fenderp3nguin, func_volume
18:47.01*** join/#asterisk fisted (~fisted@unaffiliated/fisted)
18:47.24[TK]D-Fenderkrotos, You seem to be allowing multiple codecs.  allow only one
18:47.44p3nguinI'm familiar with the function, but I don't see how I can use it to adjust the existing bridged channel.
18:48.20[TK]D-FenderYou set it like any other...
18:48.28krotos[TK]D-Fender: ok, but if i allow multiple codecs on asterisk boxes
18:48.44[TK]D-Fenderkrotos, Multiple != forced.
18:48.49krotosand i act only on phone
18:48.56krotosasterisk does not transcode, right?
18:49.04p3nguinIt will.
18:49.26*** join/#asterisk donnib (~donnib@0x555281d0.adsl.cybercity.dk)
18:50.03krotos..why? if i force only on phone 1A (in scheme) and the asterisk boxes allow g729 and alaw, and also the phone b accept g729 and alaw
18:50.39jeffspeffkrotos, do you have licenses for g729?
18:50.44krotosyes
18:51.00jeffspeffso why not just use it instead of alaw?
18:51.07krotosi've got it
18:51.58krotosbecause some customers say that the audio on g729 is not good..(fine ear)
18:52.19krotosand i change only the codec and the configuration on asterisk for these users
18:52.22*** join/#asterisk wonderworld (~ww@dsdf-4db5f99a.pool.mediaWays.net)
18:52.49krotosbut when i watch with core show channel <namechannel> i see that on one side transcode happens
18:53.18*** part/#asterisk mjordan (~mjordan@nat/digium/x-prdsupivlfwiigrf)
18:53.26*** join/#asterisk mjordan (~mjordan@nat/digium/x-ovfqspkzvnjkfwzs)
18:53.26*** mode/#asterisk [+o mjordan] by ChanServ
18:54.27*** join/#asterisk citywok (~citywok@67-134-194-33.dia.static.qwest.net)
18:55.33p3nguinSo there's no way to change the amplitude of an existing bridged channel, I guess.
19:00.14[TK]D-Fenderp3nguin, I don't see why you can't use the function like normal....
19:02.49p3nguinOkay... tell me how I'm going to apply a function to an EXISTING BRIDGED CHANNEL.
19:04.13[TK]D-FenderYou know AMI has a function to set a variable.....
19:04.21[TK]D-Fenderthat can be used with FUNCTIONS.
19:04.54p3nguinNo, I don't know, because I know nada about AMI.
19:05.09[TK]D-FenderYou should do something about that.
19:05.24[TK]D-Fenderit is a treasure-trove of "how can I?"
19:05.32p3nguinSetting it "like normal" would involve dialplan and Set(), so I couldn't see any way to apply it.
19:05.57[TK]D-Fendernormal = 0.  you set it by db
19:06.09p3nguinI also don't know the valid range of values for VOLUME().
19:06.15[TK]D-Fenderdb <-
19:06.19p3nguin-12 doesn't seem to make it any quieter.
19:06.30[TK]D-Fendershould.  show me the attempt
19:06.37p3nguinI've applied both tx and rx.
19:07.02[TK]D-Fenderp3nguin, Also depends if you're setting TX vs RX, if the audio is in fact passing through * (kinda critical)
19:07.09[TK]D-Fenderand you've got the right channel, etc.
19:07.12[TK]D-Fenderso PB it up
19:08.34*** part/#asterisk wesphillips (~wphill04@137-237-233-124.harris.com)
19:08.49p3nguin-12 should have made both legs very quiet, I would have thought.
19:10.15dijibdebugging of agi, how do i do it?
19:10.33[TK]D-Fenderdijib, "help agi" <-
19:13.01*** join/#asterisk Tuju (~tuju@176.75.219.213.sta.estpak.ee)
19:13.17dijibhttp://pastebin.com/yEciFNdz
19:13.36dijibi have no clue... just dies after agi_arg_1
19:13.43dijibsays it completes
19:14.19[TK]D-FenderSo it's doing nothing
19:16.42*** join/#asterisk SaRSAeOL (~sarsaeol@66-113-78-49.rev.ibsinc.com)
19:18.21*** join/#asterisk thecardsmith (~doug@pdpc/supporter/student/thecardsmith)
19:19.23p3nguinI figured out the problem.
19:19.44*** join/#asterisk jsjc (~Adium@103.Red-2-136-100.dynamicIP.rima-tde.net)
19:20.04p3nguinI was spying on the phone's channel rather than the channel that the call was bridged with, so I was hearing full volume rather than the adjusted volume level.  :/
19:20.39[TK]D-Fenderp3nguin, \o/
19:23.18p3nguinChanSpy outputs three lines and it is very confusing as to what I was actually attached to.
19:25.48*** join/#asterisk MarKsaitis (~MarKsaiti@cpc4-rdng22-2-0-cust932.15-3.cable.virginmedia.com)
19:38.21dijiboh right im missing format_sln format
19:44.48p3nguinAs advised, I am learning about basic management via AMI.
19:48.05*** join/#asterisk timahvo1 (~rogue@197.177.235.20)
19:48.20*** part/#asterisk thafreak (~thafreak@unaffiliated/thafreak)
19:52.45*** join/#asterisk ChannelZ (channelz@burner.com)
19:59.15p3nguin[tk]d-fender: That. Is. Awesome.
19:59.36p3nguin[tk]d-fender: It does permit me to set variables and make changes on the fly using functions.
19:59.37[TK]D-Fenderp3nguin, Found a few tricks you can get away with in there?
19:59.47p3nguinAction: Setvar
19:59.52p3nguinChannel: mychannel
19:59.58p3nguinVariable: VOLUME(rx)
20:00.06p3nguinValue: -3
20:00.13[TK]D-Fenderp3nguin, AMI & Local channels (often originated) are great ways to mangle the shit out of your calls)
20:00.18p3nguinWorked perfectly.
20:00.47p3nguinWhy didn't you convince me to look into this sooner?
20:01.21p3nguinIt isn't convenient to manage it this way (using nc on a terminal), but it sure is effective.
20:02.25[TK]D-Fenderp3nguin, As your need grows so will your desire to make the task more convenient.  You'll get to making smarter scripts when it becomes worthwhile to do so....
20:02.56p3nguinI'll be working on shell scripts to control this very soon.  This is bothersome to do a lot of stuff via nc.
20:03.14*** join/#asterisk wooster (~drewp@cusse.org)
20:03.22woosterhello
20:03.41woosterif i have multiple SIP devices beind NAT with IPtables, how do I make IPtables do symmetric NAT?
20:04.07woosteri just want stuff to work, but i can see devices sending packets to the server on udp 5060, and the response coming back to the router, but not making it back from the router to the device
20:04.54p3nguinWhat I will probably end up doing now that I see how it operates is write my commands into a temporary text doc and them just paste into AMI.
20:05.22p3nguinI still have to figure out how to make it less noisy.
20:05.28*** join/#asterisk sawgood (~sawgood@173-13-158-29-sfba.hfc.comcastbusiness.net)
20:06.19michael-iThis might be a lightweight wrapper which could save you some time: http://marcelog.github.com/articles/bash_asterisk_manager_interface_client_shell_script.html
20:06.55[TK]D-Fenderp3nguin, PHP-AGI also has an AMI class.  Probably worth you're using...
20:07.00[TK]D-Fenderyour*
20:07.29p3nguinNow you make it sound like it involves programming again.
20:09.14[TK]D-FenderIt involves programming.
20:09.35[TK]D-FenderThere, now it's an overt statement instead of "alluding" or "implying" :)
20:10.38p3nguinI put off looking at AMI all this time because I thought it involved programming, which I don't do.
20:13.48[TK]D-FenderFirst rule of procrastination : Never put off till tomorrow what you can put off to the day after that just as easily...
20:14.06p3nguinI will have to see if this bami thing does any good for me.
20:14.20p3nguinIt could save me some time writing a bunch of shell scripts.
20:15.11p3nguinFor basic operations, I'll probably suck it up and use nc in raw form.
20:15.38p3nguinIf I can make the AMI less noisy, that will help a lot.
20:18.27*** join/#asterisk wonderworld (~ww@dsdf-4db5f99a.pool.mediaWays.net)
20:19.35p3nguinIn your opinion, would it be best to start out with read perms of nothing and add them as I need to see things?
20:19.40*** join/#asterisk MarKsaitis (~MarKsaiti@cpc4-rdng22-2-0-cust932.15-3.cable.virginmedia.com)
20:19.46p3nguinThat would surely make it quiet.
20:24.07[TK]D-Fendernot sure what you are calling "noise".
20:24.15[TK]D-FenderBut.. it's checkout time... perhaps later
20:24.16[TK]D-FenderBBIAB
20:25.56citywokgah i'm using func_odbc and trying to do a write, and i can't figure out why it isn't working.  debug doesn't show any read/write queries when you use func_odbc, even if the query is succesful (i can do writes)
20:26.39*** join/#asterisk oej_ (~olle@h87-96-134-129.dynamic.se.alltele.net)
20:26.44citywokis there any way to get debugging output from func_odbc?
20:28.43Kobazcore set debug x maybe
20:28.47Kobaztry like maybe 3
20:28.54Kobazif that's not enough info maybe try 5
20:29.00Kobazif not, then it's time to hack some source
20:29.24citywoki set it to 10 lol
20:29.41Kobazpast a certain number (offhand I don't know the number), there's no more debug levels
20:30.23p3nguinJust set it to 2147483647 to ensure you cover them all.
20:30.40Kobazis debug level signed or unsigned?
20:31.03Kobazif it's unsigned you better use 4294967296
20:31.20pabelangerno reason to go above 15
20:31.47Kobazpabelanger: i very badly want to convert everything to be module-level debugging
20:31.58Kobazmoh set debug 5
20:31.58Kobazetc
20:32.41Kobazchannel debug would pass debug levels through everything per-channel
20:32.48p3nguinIt should already be that way, and I don't know why someone didn't speak up when it was being made the way it currently is.
20:32.51Kobazyou could set it globally if you like
20:33.07Kobazp3nguin: because code gets written piecewise, and a global debug level was the easiest thing to build
20:33.13*** join/#asterisk zaf (~zaf@76.72.88.14)
20:34.16Kobazand when the developer needs outgrow what the framework can provide, then the framework gets updated
20:34.16citywokdoes anybody see anything wrong with how i'm doing it maybe? http://pastebin.com/Wxvgk08J
20:35.14pabelangerKobaz: well, setting debug level per console connection was recently added
20:35.20Kobazyeah
20:35.25Kobazthe next thing is per-channel
20:35.36Kobazand then per-modulke
20:36.06p3nguinThere's some goofy module debug thing in there now that doesn't work.
20:37.12p3nguinYou can enable debug (which does not work correctly) on a module, but you can never disable it again.
20:38.23pabelangerKobaz: talk with jrose_atDigium.  He is adding per channel logging identifiers right now.  You should see what would be needed to add it to his stuff
20:38.33pabelangerhttps://reviewboard.asterisk.org/r/1823/
20:38.33Kobazah nice
20:38.58pabelangeradded actually
20:39.14Kobazi have a number of logging improvements that would go well with this
20:43.05dijibhow do i get format_sln working?
20:43.22dijibits in /usr/lib/asterisk/modules/format_sln.so
20:43.33mjordanKobaz: https://wiki.asterisk.org/wiki/display/AST/Unique+Call-ID+Logging
20:43.44dijibbut it wont run. and i have in modules.conf load=> format_sln.so
20:43.47pabelangerdijib: *CLI> module load format_sln
20:43.59dijibpabelanger: didnt work.
20:44.10pabelangershow us the problem
20:44.11dijibi have also chown chmod to no avail.
20:44.12pabelanger~debuglog
20:44.20Kobaznifty
20:44.20dijibswissarms*CLI> module load format_sln
20:44.21dijibUnable to load module format_sln
20:44.22Kobazspeaking of coding
20:44.31pabelanger~debug
20:44.31infobotACTION DeBuggers $1
20:44.31Kobazanyone want to tackle reviewing predial and hangup handlers
20:44.50dijib160 -rwxr-xr-x. 1 root root 162421 Mar 21 15:39 /usr/lib/asterisk/modules/format_sln.so
20:44.54Kobazmaybe i should offer cookies and beer to the first person who gives a ship it
20:44.59dijiboh theres my problem.. root:root
20:45.02pabelangerdijib: show us a debug log
20:45.07pabelanger~collectdebug
20:45.08infobotcollectdebug is, like, a method of collecting logs allowing others help troubleshoot an issue.  Refer to https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
20:45.15pabelangerdijib: ^
20:45.21mjordanKobaz: I know there's some feedback waiting for you on pre-dials
20:45.27Kobazhmm
20:45.28Kobazlemme check
20:45.35Kobazi think i addressed at least one review
20:46.05Kobazyeap
20:46.09Kobazalready updated, waiting for you guys
20:46.13mjordanah
20:46.29mjordanI think we missed it due to no comments on the findings
20:46.33mjordanI'll bug Richard about it
20:46.40Kobazoh wait
20:46.44Kobazthe review is loading more pages
20:47.17Kobazoh okay
20:47.20Kobazi have some stuff to do
20:47.23mjordan:-D
20:47.59dijibok nevermind format_sln is working now... just not googletts.agi or speechrecg.agi
20:50.52krotosguy, i 've got a problem..
20:51.00krotosit's possible
20:51.13krotosto specify what interface use to exit with asterisk? i forced with iptables
20:51.22krotosbut i've got a mono-directional audio
20:51.28Qwellkrotos: nope
20:51.37Qwellit's up to the kernel to look at your routing table to handle that
20:52.44krotosi've got a iptables route (static route) for forcing outgoing traf. on specific ip
20:52.45*** join/#asterisk [TK]D-Fender (~chatzilla@64.235.218.194)
20:53.07krotosbut on the SDP trace, there are the other ip
20:53.07*** part/#asterisk paolosupino (~paolo-sup@net-2-38-113-188.cust.dsl.vodafone.it)
20:53.14Qwelliptables is not the correct way to do that
20:53.19Qwelland you need to specify an externip
20:54.12krotosmy situation is: NO NAT, direct ip on machine. First ip config on eth0, and the second ip in alias mode
20:54.15krotoson the same interface
20:55.14krotosand what is the right way to do this?
20:55.19Qwell<Qwell> it's up to the kernel to look at your routing table to handle that
20:57.31dijibi have enabled debug on the script yet its still failing as complete with no errors. http://pastebin.com/g315GyuP
20:57.39dijibgoogletts.agi is the script
20:58.46p3nguin(1544.59) <dijib> oh theres my problem.. root:root    <---- no
20:59.19dijibthat was my problem with format_sln.so but ive resolved that and moved on to the next
20:59.26p3nguinNo, that was not your problem.
20:59.45dijibhow wasnt it?
20:59.49p3nguinEvery asterisk module I have is owned by root, like they should be.
20:59.56dijiboh
21:00.03dijibwell mine are all asterisk:asterisk now
21:00.09p3nguinNow they're all wrong.
21:00.35dijibyeh but everythings working so... im ok with it
21:00.47p3nguinOf course you are.
21:01.10krotosQwell: i don't understand too much. Can i set externip for a single peer
21:01.12krotos?
21:01.14dijibwell dude im trying here. format_sln was not working prior to the asterisk account owning it
21:01.24*** join/#asterisk Skorski (~Skorski@72.12.218.163)
21:02.17p3nguin[tk]d-fender: By noise, I was talking about all the chatter given by all the events.  I really don't need to see all the events all the time I am connected to the AMI.
21:02.53[TK]D-Fenderp3nguin: Events: Off
21:03.08p3nguinIs it permanent, or do I have to do it every time?
21:03.13[TK]D-FenderPer connection
21:03.25p3nguinIs there a setting to make it always off?
21:04.35p3nguinI see there's an eventfilter setting.
21:04.35[TK]D-Fendernope
21:05.27generalhani am trying to plan my new setup ... currently i have 2 sites each with their own PRI and stupid Avaya system... when i give that thing the boot and move everything over to Asterisk, i am trying to decide if i should keep a PRI at each site, or move them both to one site, and have all the SIP phones at the remote site go over the point-to-point pipe (5M)... or if i should have 2 different
21:05.27generalhanhardware setups and connect the systems via IAX, or similar.
21:05.34p3nguinI guess I could use that to tune out all the noise.
21:05.48generalhani know YMMV but i figured it would still be a good idea to get the experts' opinions
21:05.51Kobazi wrote FilterAdd which is in 1.10, but there's no FilterRemove since I haven't figured out the security issues
21:08.01Kobazso you can connect to ami and do a bunch of filteradds for what you dont want to see
21:08.29p3nguinSince this is day 0 for me on AMI, I'll get into that pretty soon.
21:10.40*** join/#asterisk X-Rob (~Rob@thomas232.lnk.telstra.net)
21:11.17Kobazdijib: in general, you do not want resource files that do not need to be modified to be owned by the user running them
21:11.37p3nguinGood luck getting anything like that through to him.
21:12.00p3nguinI told him, and I guess you saw the response.
21:12.04Kobazdijib: if someone gets access to your asterisk, and asterisk has write access to your .so files (and other things it shouldn't) then an attacker can further compromise your system in very hard to detect ways
21:12.29p3nguinHe doesn't care about things like that... he IRCs as root.
21:12.33Kobazhaha
21:12.47p3nguinWell, did, until he was forced to change it if he wanted to remain in the ##linux channel.
21:13.23p3nguinHe doesn't care about anything other than "make it go."  Doesn't matter how much he mangles it, as long as the end result is what he wants.
21:13.31Kobazsounds fun
21:13.40*** join/#asterisk chuckf (~chuckf@ubuntu/member/chuckf)
21:14.02p3nguin(1600.09) <p3nguin> Now they're all wrong.
21:14.03p3nguin(1600.35) <dijib> yeh but everythings working so... im ok with it
21:14.25Kobazftw
21:14.41p3nguinThat is the primary reason I quit helping him with most things.
21:17.46p3nguinSo...
21:17.54*** join/#asterisk CyBeRxIxO (~efernande@190.41.182.228)
21:18.06p3nguinAMI seems very effective, and I wish someone would have forced me to look at it a long time ago.
21:18.14Kobazhah
21:18.14Kobazyeah
21:18.20Kobazthat's the same thing i thought
21:18.44CyBeRxIxOwats sup ppl, im having noise between sip stations on the LAN, any ideas for solution?
21:18.46p3nguinI always put it off because I got the impression that I needed to code to use it.
21:19.00Kobazwell you still need to code a bit
21:19.04Kobazbut it's not hard
21:19.08p3nguincyberxixo: What kind of noise?
21:19.23p3nguinI didn't have to code anything to use it earlier.
21:19.27Kobazoh
21:19.29Kobazwell i mean
21:19.35Kobazyou can telnet to it and log in and look at events
21:19.39p3nguinBasic TCP connection with nc, run some commands, get results.
21:19.43Kobazif you want to do something with those events, you should write some code
21:19.44Kobazyeah
21:19.51CyBeRxIxOhum
21:20.14Kobazlike count how many channels got made per day
21:20.16Kobazor whatever
21:20.20Kobazyou can write a little script
21:20.20p3nguinI thought I needed to know C to be able to use it for anything useful.
21:20.26CyBeRxIxOwhen press speaker it becomes normal, and happen again after seconds
21:20.30Kobazyou don't need c, you can use any languag
21:20.40p3nguinThat was the impression I got from people who talk about AMI here.
21:20.46Kobazany language that can connect to a tcp socket
21:21.04Kobazwell
21:21.09_Corey_p3nguin: I do my AMI stuff in PHP or Perl
21:21.14p3nguinRarely did anyone say, "Just type some stuff in a netcat session."
21:21.18Kobazwhen we talk about ami, we're generally talking about writing ami commands, or fixing them
21:21.32p3nguinI don't program.  At all.
21:21.48p3nguinTherefore, I thought I could not use AMI.
21:21.49Kobazwell, if you have a certain level of sysadmin background it's obvious you can netcat to it
21:22.00p3nguinI didn't know that.
21:22.03Kobazyeah
21:22.06Kobaznow you know :)
21:22.07p3nguin(until today)
21:22.09_Corey_AMI is just plain text in/out of TCP
21:22.10p3nguinNow I know!
21:22.23p3nguinI've been missing out for ages.
21:22.30Kobazami is YALBD
21:22.38Kobaz(Yet Another Line Based Daemon)
21:22.58Kobazlike smtp, pop3, imap, etc, etc etc
21:23.06p3nguinNo one told me.
21:23.11Kobazwith any of those you can just telnet/nc to the port and send it stuff
21:23.14Kobazand get stuff back
21:23.47p3nguinAnd since I started using Asterisk prior to having The Book, I never thought to look it up to see what was said about using AMI.
21:23.57Kobazhell you can telnet to port 80 and type GET /
21:24.21p3nguinHad I read the book prior to using asterisk, it may not have been a mystery.
21:24.27Kobazhehe
21:24.34citywokhas anybody ever tried executing a stored procedure from func_odbc?
21:24.35_Corey_yeah, I wish there was a book when I started using Asterisk... lol
21:24.51Kobazcitywok: should work just the same as any other sql query
21:25.02Kobazselect * from func()
21:25.33Qwell_Corey_: How do I get a cool title like "Managing Partner"?
21:25.37citywokKobaz: execute storedProcedureName 'var1','var2'
21:25.43CyBeRxIxOi got buzzing noise between sip stations on LAN, to become call normal user have to press the speaker button on the phone and then press it again to use the hardset, and call is normal again for a while
21:25.45citywokis what i would run in the console, not a select statement
21:26.02Kobazcitywok: you need to get the select statement
21:26.08_Corey_Qwell: Titles are pretty arbitrary...  ;)  I actually haven't decided what I'm going to call myself at the new company
21:26.18KobazCyBeRxIxO: sounds like a buggy phone
21:26.51p3nguinecho -e "GET / HTTP/1.0\n"|nc www.digium.com 80
21:27.14CyBeRxIxOit only happens on some phones lets say 5 of 15 phone, them are yealink t9
21:27.19p3nguinThe server doesn't appear to like this.
21:27.20X-Rob_Corey_, I've always liked 'Chief Button Pusher'
21:27.23Kobaz_Corey_: quite arbitrary... some days i'm CTO, some days I'm Managing Partner, and some days I'm Slacker Extraordinare
21:27.41krotosQwell: is not a right choiche to use media_address
21:27.42krotosin sip.conf?
21:27.46krotosor does not work?
21:28.01p3nguinecho -e "GET /en/ HTTP/1.0\n"|nc www.digium.com 80
21:28.09KobazGET /
21:28.09KobazConnection closed by foreign host.
21:28.10Kobazdoes not like
21:28.22p3nguin^^ that works fine.
21:28.41Kobazi see p3nguin found a new toy
21:28.43X-Robyou need the protocol name.
21:28.45citywokKobaz: ah hah: select * from openquery(loopback, 'exec getCallbackTimes')
21:28.52p3nguinonly AMI
21:29.03p3nguinThat's the only new thing I've discovered today.
21:29.31Kobazokay
21:29.32Kobazgym tiome
21:29.35Kobazgym time
21:29.43Kobazthis body doesn't get fit from programming 16 hours a day
21:31.34Kobaztime for some yoga and indoor rock climbing
21:33.00Kobazreal rocks are much better, but alas
21:33.06Kobazanyway... /me is gone
21:34.15jrose_atDigiumpeeks
21:36.15jrose_atDigiumI don't believe Kobaz's stuff is too likely to conflict with mine in any way.  Call identifiers are pretty isolated from most things as they are in trunk right now.
21:39.16CyBeRxIxOyealink sip phone have any special configuration for best working, default conf is enough?
21:54.32*** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net)
21:54.59p3nguincyberxixo: Your noise issue doesn't sound like a configuration problem by any means.  It sounds to me like a hardware problem.
21:56.41WIMPyKobaz: What's that prdial thing? Do you have a link for me?
22:00.35*** join/#asterisk hfb (~hfb@pool-98-112-209-179.lsanca.dsl-w.verizon.net)
22:01.08*** join/#asterisk hb_sip (hb@smooth.operator.tc)
22:09.46*** part/#asterisk mjordan (~mjordan@nat/digium/x-ovfqspkzvnjkfwzs)
22:14.39CyBeRxIxOp3ng, but then why it happens on many phones?
22:15.44CyBeRxIxOanything i could do to make it to do best qualify sound? remember its a LAN
22:22.20*** join/#asterisk mintos (mvaliyav@nat/redhat/x-ddsitoclfeykvtqz)
22:27.41*** join/#asterisk fisted (~fisted@unaffiliated/fisted)
22:29.11*** join/#asterisk fprior (be0bbc86@gateway/web/freenode/ip.190.11.188.134)
22:31.57fpriorHi all, here again with the case of the spa400 and * 1.8 . http://pastebin.com/fVC9JtV2
22:36.12*** join/#asterisk bn-7bc (~bjarne-im@macbook-pro.lan-sx.noare-1.holmedal.net)
23:03.31*** join/#asterisk tzafrir_laptop (~tzafrir@bzq-218-155-147.cablep.bezeqint.net)
23:05.36citywokKobaz: i was unable to make it work.  i ended up using a system call to isql to do it :( System(echo "EXECUTE master.dbo.getCallbackTimes '${CDR(UNIQUEID)}','100468','${TZ}'" | /usr/bin/isql ARSystem username password -w)
23:11.13*** join/#asterisk citywok (~citywok@67-134-194-33.dia.static.qwest.net)
23:31.23*** join/#asterisk wudles (~wudles@gateway.secureinstrument.com)

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