IRC log for #asterisk on 20151029

00:24.50*** join/#asterisk marlinc (~marlinc@bouncer.cvo.technology)
00:26.05*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
00:35.17*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
00:40.02*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
00:52.38*** join/#asterisk X-Rob (sid14615@gateway/web/irccloud.com/x-urllquyhbgwbhfiy)
00:55.17*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-bmmwjfeteuxswngi)
00:59.57*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
02:20.30*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
02:29.15*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
02:30.35*** join/#asterisk axisys (~axisys@unaffiliated/axisys)
02:47.09*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
02:48.37*** join/#asterisk UncleKiwi (~UncleKiwi@unaffiliated/unclekiwi)
02:57.57*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
03:10.47*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
03:13.57*** join/#asterisk vader- (~Adium@pool-71-175-67-97.phlapa.fios.verizon.net)
03:15.50*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
04:30.25*** join/#asterisk robink_ (~quassel@unaffilated/robink)
05:25.38*** join/#asterisk robmal (r@wporzo.pl)
05:42.50*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
06:22.20*** join/#asterisk ganbold (~ganbold@173.244.215.173)
06:27.48*** join/#asterisk EOIP (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
06:35.47*** join/#asterisk vader- (~Adium@pool-71-175-67-97.phlapa.fios.verizon.net)
06:47.02*** join/#asterisk cesurasean (~cesurasea@c-68-35-152-116.hsd1.al.comcast.net)
06:47.06cesuraseananyone around?
06:47.26*** join/#asterisk tparcina (~tomo@212.92.200.41)
06:57.15*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
07:10.45*** join/#asterisk theron (~theron@173-28-183-190.client.mchsi.com)
07:18.07*** join/#asterisk areski (~areski@80.174.128.118.dyn.user.ono.com)
07:20.31*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
07:46.30*** join/#asterisk evil_gordita (robert@ip70-188-63-173.rn.hr.cox.net)
07:49.00*** join/#asterisk pchero_work (~pchero@109.70.54.56)
07:52.03*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
07:52.24*** join/#asterisk Ikikay (Ikikay@ADijon-156-1-28-162.w90-39.abo.wanadoo.fr)
07:58.55cesuraseanhow do i find out why voip.ms is giving me a busy signal?
08:01.55*** join/#asterisk Zogot (~Adium@185.21.52.251)
08:04.22*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
08:08.45*** join/#asterisk bluemerlin (~bluemerli@109.224.221.82)
08:13.24*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
08:13.45*** join/#asterisk bulkorok (~Adium@89.245.151.228)
08:14.00*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
08:16.51*** join/#asterisk samneo (~samneo@123.63.166.181)
08:25.24samneohi, can anyone tell if we can set variable when using AMI originate command to initiate new call
08:29.16*** join/#asterisk wonderworld (~ww@pD957A6A3.dip0.t-ipconnect.de)
08:34.34*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
08:51.24*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
08:51.55*** join/#asterisk PolarbearIbiza (~Adrian@80.70.180.26)
08:59.47PolarbearIbizaHey Dudes, i've been new to asterisk but in the last two days i got it working that i can make "internal" calls and that i can receive calls from outside - but i can't make calls to outside. I'm using sip from german telekom. If i make an outside call i got the following error: "Got SIP response 400 "Bad request" back from xxx.xxx.xxx.xxx:5060" and "SIP/t-online.de-0000000f is circuit-busy" does someone got a hint for me? thank you
09:12.37*** join/#asterisk theron (~theron@173-28-183-190.client.mchsi.com)
09:19.56*** join/#asterisk MadHatter42 (~MadHatter@unaffiliated/madhatter42)
09:59.38*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
10:07.31*** join/#asterisk wonderworld (~ww@pD957AB83.dip0.t-ipconnect.de)
10:27.30*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
10:34.52*** join/#asterisk ganbold (~ganbold@173.244.215.173)
10:38.43*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
10:52.23*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
10:58.05*** join/#asterisk areski (~areski@106.Red-83-37-156.dynamicIP.rima-tde.net)
10:59.54*** join/#asterisk lumasepa (~gestoip@193.145.124.30.local.ull.es)
11:02.21*** join/#asterisk ThomasKeller (~Thomas@vmx.ethz.ch)
11:12.38lumasepaHi, I'm looking for some help, I have a setup of two asterisk 13.6 in HA (Active - Pasive) via vrrp, so the active node in one interface has two ips the vip and a second one. I'm using the pjsip stack and asterisk is binded to the vip for SIP, but the problem comes with rtp, when asterisk sends an rtp package it uses the second ip rather than the vip (I think that asterisk is listening for rtp trafic in 0.0.0.0 because of that, it ends usin
11:13.23lumasepaIf someone can help i will be very grateful
11:13.35*** join/#asterisk theron (~theron@173-28-183-190.client.mchsi.com)
11:25.56*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
11:31.18*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:54.54*** join/#asterisk puzzled (~patrick@2001:982:1097:1:70a7:41e6:9202:42c3)
11:57.50*** join/#asterisk jonno11 (~Jon@cpc1-walt12-2-0-cust582.13-2.cable.virginm.net)
11:59.03*** join/#asterisk vinrock (~vin@unaffiliated/vinrock)
12:02.31*** join/#asterisk wonderworld (~ww@82.113.99.43)
12:29.53*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
12:32.24[TK]D-Fendersamneo: yes
12:32.32*** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de)
12:40.33*** join/#asterisk italorossi (~Adium@187.60.66.11)
12:42.17*** join/#asterisk wonderworld (~ww@89.204.138.158)
12:50.10*** part/#asterisk italorossi (~Adium@187.60.66.11)
12:59.53*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
13:10.56*** join/#asterisk hirogen1 (b921d23e@gateway/web/freenode/ip.185.33.210.62)
13:10.58hirogen1hi
13:10.58hirogen1there
13:11.27hirogen1a user when dialing out on her avaya x-one communicator software phone, its adding a 1 before the 9 therefore getting a constant engage tone
13:11.35hirogen1on any number she tries to call
13:11.37hirogen1any ideas
13:12.41WIMPysamneo: yes
13:16.50*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-ziwaftlgjrtasruk)
13:21.32*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
13:24.21*** join/#asterisk zapata (~zapata@2a02:b18:581:10:fdc9:772f:c04f:dd68)
13:26.16[TK]D-Fenderhirogen1: Fix your dialplan or fix your softphone
13:27.24hirogen1yah its effecting the one person
13:27.26hirogen1dont know how
13:27.32hirogen1will try a few things
13:27.40cesuraseanfor some reason my asterisk seems to start fine but doesnt open up ports
13:27.46cesuraseananyone have any idea how to check or fix this issue?
13:28.24WIMPycesurasean: Do you load any modules that would do so?
13:28.35cesuraseanno, just a standard debian install.
13:28.37cesuraseanon jessie
13:28.41cesuraseantheir newest stable
13:28.55WIMPyHow ancient is that?
13:29.01cesuraseannot very
13:29.08cesuraseanmainstream
13:29.15cesuraseanactually
13:29.17WIMPyWhich version?
13:29.20cesuraseanJessie
13:29.23cesuraseanDebian Jessie
13:29.24cesuraseanoh
13:29.27cesuraseanversion of asterisk?
13:29.36WIMPyyeah
13:30.04cesuraseanhow do i check?
13:30.22WIMPyIt tells you when you start it.
13:30.30cesuraseannot on debian it doesn't.
13:31.34WIMPyIs it even running?
13:31.46WIMPyCan you connect using 'rasterisk'?
13:32.29cesuraseanyeah
13:32.35cesuraseanit may just be a firewall issue, no?
13:32.55WIMPyIf your problme description was wrong.
13:33.12[TK]D-Fendercesuraseanfor some reason my asterisk seems to start fine but doesnt open up ports <- * does not change your firewall
13:33.23[TK]D-FenderSo what are you actually meaning by "open up ports"?
13:33.30cesuraseanhow do i check to see what ports it opened? netstat?
13:33.36cesuraseanlistening on a port
13:33.43[TK]D-Fendernetstat -anp
13:33.48WIMPyyes
13:34.45cesuraseannetstat does not show anything
13:34.47cesuraseanwith asterisk in it
13:35.06[TK]D-FenderWhat tells you * is actually running?
13:35.21[TK]D-FenderDid you confirm modules are actually loaded?
13:35.36[TK]D-FenderIs this a previously functional install?
13:36.17WIMPyHmm. Asterisk doesn't have a name here, either.
13:36.55cesuraseani don't know how to confirm the modules are loaded.
13:37.37cesuraseannor is * easy to utilize.
13:38.10[TK]D-Fendernetstat -anp|grep asterisk
13:38.16[TK]D-Fender[09:35][TK]D-FenderWhat tells you * is actually running?
13:38.17WIMPy'modules show' at the *CLI
13:38.31cesuraseanoh ok
13:38.34cesuraseanforgot about grep
13:38.35[TK]D-Fendermodule show
13:38.39[TK]D-Fender"no "s"
13:38.39cesuraseansure, says listening
13:38.42cesurasean0.0.0.0
13:38.59[TK]D-Fenderlistening for what?
13:39.19WIMPywonders why asterisk doesn't have a name here.
13:39.31cesuraseanlet me paste bin
13:40.32cesuraseanhttp://pastebin.com/ny6vhYEN
13:40.57[TK]D-FenderAsterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
13:40.58cesuraseani suspect it's iptables, which is installed, i just dont know how to admin it. doesn't respond to usual commands in the newer debian versions.
13:41.00WIMPyOH. Interesting. I'm just not allowed to see the process name.
13:41.07[TK]D-FenderFunny it clearly tells you the version right at CLI
13:41.15cesuraseansorry
13:41.26[TK]D-FenderAnd we see modules there...
13:41.36WIMPyAnd it also tells you it's from 2013.
13:41.40cesuraseanso?
13:41.46cesuraseanit's the most stable debian offers.
13:41.50[TK]D-FenderAnd tells you it is listening on all sorts of ports
13:41.51tzafrirTip: system.conf lines should not be over 255 characters long
13:41.53cesuraseanapparently newer digium is not stable.
13:42.17WIMPyLOL
13:42.26[TK]D-FenderSo it looks fine so far
13:42.31[TK]D-FenderGot another question?
13:42.44cesuraseanso it's not asterisk messing up? grr
13:42.49*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
13:42.49[TK]D-Fendermessing up?
13:42.51[TK]D-FenderIt's there.
13:42.53cesuraseanguess i need to hop on over to #iptables
13:42.57[TK]D-FenderWe haven't seen a single failure yet
13:43.16[TK]D-FenderOr you could just show us...
13:43.28[TK]D-FenderWe tend to have iptables on our servers too...
13:43.37[TK]D-Fender(most).
13:43.41cesuraseanso what do i need to add for a default asterisk install?
13:43.47cesuraseandoes asterisk not come with iptables script to configure it?
13:43.50cesuraseanif not, why not?
13:43.53[TK]D-FenderDepends what you are doing before
13:43.58[TK]D-Fenderare you blocking things already?
13:44.01cesuraseanno
13:44.05cesuraseanjust a fresh install
13:44.06[TK]D-FenderWe have no idea what we're adding to.
13:44.14[TK]D-FenderWe don't know what's in your firewall now
13:44.18[TK]D-Fenderor if it's even a factor
13:44.20cesuraseanits just a vanilla install of debian jessie, bro
13:44.26[TK]D-Fendershow us the firewall
13:44.40[TK]D-Fendersaying "default" doesn't prove what state it's in.
13:45.09[TK]D-FenderYou need to acutally get the packets for the protocols yuo are intending to let * process
13:45.14cesuraseanfirewall is open
13:45.21cesuraseanaccording to iptables -L, and debian docs
13:45.34[TK]D-Fenderdocs mean nothing,
13:45.37[TK]D-Fenderiptables --list
13:45.40*** join/#asterisk joako (~joako@opensuse/member/joak0)
13:45.45cesuraseannothing is in iptables -L
13:45.48cesuraseanit's empty
13:46.01[TK]D-FenderAnd the default policy?
13:46.03WIMPyWhere do you try to reach it from? How many other firewalls are there?
13:46.16[TK]D-FenderShow us the dump
13:46.38cesuraseangood question. using togglebox.com for cloud hosting.
13:46.47cesuraseanthey tried to connect and told me issue was at my server level.
13:46.54*** join/#asterisk mcargile (~mikec@office1.vicidial.com)
13:46.56cesuraseani was using a 3rd party to ping the 5060 port.
13:47.04[TK]D-Fenderhow?
13:47.20mcargilehow long does it take Asterisk to timeout an AMI connection if it doesnt do anything to keep the connection alive?
13:47.34WIMPyAnd how did you tell it didn't work?
13:47.55WIMPymcargile: Why would it time out?
13:47.59cesuraseanhow do i know which port asterisk listening on?
13:48.08[TK]D-Fenderhttp://pastebin.com/ny6vhYEN
13:48.10[TK]D-FenderPORTS
13:48.12[TK]D-Fendermany
13:48.16[TK]D-Fenderand we just went through this
13:48.20mcargileEvery code example I have seen includes sending a ping to keep the connection alive.
13:48.29mcargileI am just trying to figure out how often I need to do that.
13:48.45cesuraseanok so 5060 is correct
13:48.46cesuraseanhmmm
13:49.00WIMPymcargile: I have never done that. There is no timeout.
13:49.15[TK]D-Fendercesurasean: again what is this "ping" you're talking about exactly?
13:49.26cesuraseani just tried to ping that port
13:49.31cesuraseanusing ping a port google search
13:49.38cesuraseanand found a 3rd party website to ping with
13:49.47cesuraseanshould i be using telnet or something to connect instead?
13:50.04[TK]D-FenderNo
13:50.06[TK]D-FenderBOTH are wrong
13:50.10WIMPyNeither. It's UDP!
13:50.10[TK]D-Fenderthat is ***TCP***
13:50.15cesuraseanoh
13:50.17cesuraseani see
13:50.22[TK]D-FenderAnd * is listening on ***UDP***
13:50.29mcargileWIMPy: are you just listening to the AMI or are you sending actions?
13:50.32cesuraseanhow come i can't connect 5060 UDP then?
13:50.39[TK]D-FenderConnect how?
13:50.45cesuraseansoftphone
13:50.47[TK]D-Fenderwe don't see packets arriving at your server
13:50.49cesuraseanzoiper
13:50.55[TK]D-FenderYou have not actually shown us your firewall
13:51.02cesuraseanfirewall is empty
13:51.10WIMPymcargile: Mostly listening. There will often be days without sending.
13:51.34cesuraseanhttp://pastebin.com/SiXMTGZH
13:52.01[TK]D-Fender"sip set debug on"
13:52.09[TK]D-Fenderfrom *CLI
13:52.24[TK]D-FenderIf you see nothing... then nothing is going on.
13:53.20cesuraseanit shows some things
13:53.26cesuraseankeeps saying wrong password
13:53.29cesuraseanwith different usernames
13:53.30cesuraseanand ports
13:53.47*** join/#asterisk martin__1 (~martin@185.32.9.250)
13:54.00[TK]D-Fenderfrom WHO?
13:54.09[TK]D-Fenderthe IP you're expecting them to come from?
13:54.09*** join/#asterisk mjordan (mjordan@nat/digium/x-pbkkyycoezuphzuy)
13:54.09*** mode/#asterisk [+o mjordan] by ChanServ
13:54.16cesuraseanno, from the server's ip itself
13:54.20martin__1we installed asterisk with apt-get, now after chaning database client it seems that the cdr_mysql.so is lost.
13:54.24martin__1How can we replace it?
13:54.40[TK]D-FenderTime to start showing us...
13:54.44WIMPymcargile: Where did you find these pings?
13:54.58cesuraseanit keeps re-transmitting data
13:55.03[TK]D-FenderShow us
13:55.18*** join/#asterisk newtonr (RustyNewto@nat/digium/x-pxzkwehvdvdebjbe)
13:55.18*** mode/#asterisk [+o newtonr] by ChanServ
13:55.44cesuraseanhttp://pastebin.com/1XWX3NjV
13:56.23mcargileWIMPy: http://search.cpan.org/~greenbean/Asterisk-AMI-v0.2.8/lib/Asterisk/AMI.pm Search for the word ping.
13:56.43[TK]D-FenderLooks like toll-fraud attacks
13:56.44mcargileThere is a keep alive in that perl module that you set so it will send one out at an interval
13:56.52[TK]D-FenderAnd you are accepting unauthed calls which isn't great
13:57.11cesuraseanmy fresh server is already being attacked?
13:57.48[TK]D-FenderDo you see taht # and IP?
13:57.57[TK]D-FenderThey are sending you calls
13:58.10WIMPymcargile: Yes, it's obviousely about that module. It's probably there so you can connect from remote via a possibly forgetting firewall. But there is definitely no need related to Asterisk itself.
13:58.16[TK]D-FenderIf you don't knwo them.... that that is exactly aws it appears : toll-fraud attack
13:58.39[TK]D-Fender<--- SIP read from UDP:37.157.241.124:5070 --->
13:58.40cesuraseanso i need to stop toll fraud attack, and my system will magically start accepting connections?
13:58.40[TK]D-FenderINVITE sip:06660048422885410@108.161.135.66 SIP/2.0
13:58.59[TK]D-FenderLooking for 06660048422885410 in public (domain 108.161.135.66)it is accepting connections... from THEM
13:59.06mcargileWIMPy: thanks
13:59.09*** part/#asterisk mcargile (~mikec@office1.vicidial.com)
13:59.10[TK]D-FenderIf your other device isn't getting through then it's your client-end
13:59.27[TK]D-Fenderunless the debug you passed was not at a popint in time that client was actually even trying
13:59.32cesuraseandoes comcast block asterisk ports?
13:59.39[TK]D-FenderSo firewall them out to reduce the noise
13:59.55[TK]D-FenderWhat protocl are you using with Zoiper?
14:00.08cesuraseaniax
14:00.18[TK]D-Fenderthen we aren't looking at the right thing for that
14:00.23[TK]D-Fenderthat's IAX debug
14:00.24[TK]D-Fendernot SIP
14:00.36[TK]D-Fenderbut block those other people off and fix your config
14:00.46[TK]D-FenderYou should not be allowing unauthed calls
14:01.24[TK]D-Fender"iax2 set debug on" <- to see your zoiper attempts
14:01.48cesuraseanok let me digest all of this help first, then i will attempt to fix
14:02.51cesuraseanso its possible my iax isnt working but sip is?
14:03.08[TK]D-FenderAnything is "possible", but you are showing us the attempt yet
14:03.18[TK]D-FenderSo we have nothing to judge by
14:03.24[TK]D-Fenderran what I told you to and look
14:04.11lvlinuxthinks that somebody needs to do some iptables research... and make a blacklist. (in addition to blocking unauth connections to *)
14:04.49[TK]D-Fenderlvlinux: FIRST step is fixing *'s acceptance of unauthed calls in the first.
14:05.10[TK]D-FenderBecause you'll be chasing after random attackers while each gets their swings in....
14:05.11cesuraseanhow do i turn off unauth calls?
14:05.11*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
14:05.33[TK]D-Fendercesurasean: "allowguest=no" under [general] in sip.conf
14:06.06martin__1I need help kicking about our mysql cdr. If I run module load cdr_mysql.so I recieve that it cannot be found.
14:06.09martin__1Running asterisk 11.7.0
14:06.38cesuraseanwhy do they toll fraud anyways? how does that benefit the attackers? porn hackers?
14:06.43WIMPymartin__1: Well, looks like it's not installed then.
14:06.53martin__1WIMPy: how do I install it?
14:07.02WIMPycesurasean: Free international calls.
14:07.05martin__1it's not compiled from source
14:07.18cesuraseanoh i see
14:07.42lvlinuxcesurasean: in your sip.conf should be allowguest=no
14:07.43[TK]D-Fendercesurasean: TOLL FRAUD.  That IS the benifit.
14:07.43WIMPymartin__1: If you didn't make it. I can't help. You have to check with whoever does those packages.
14:08.06martin__1damn
14:08.15cesuraseanok, now im getting no route to destination
14:08.17cesuraseanwhat's that about?
14:08.22[TK]D-FenderSHOW US
14:08.28martin__1WIMPy: will it work by taking the cdr_mysql.so from another installation?
14:08.36cesuraseanzoiper says it, not sure if that message is on server side
14:08.41WIMPymartin__1: Maybe they removed support for it in favour of ODBC?
14:08.48[TK]D-Fendercesurasean: I gave you a command to run....
14:08.53WIMPymartin__1: No.
14:09.12WIMPymartin__1: You won't even be able to load that.
14:09.12lvlinuxcesurasean: if some dude in nowhereistan can get your * server to make 100 calls to bozoistan at $3.49/min, and they can charge all their "clients" $0.20/min, they are very happy. That's why you get the attacks.
14:10.06cesuraseanoh, i see.
14:10.27martin__1WIMPy: ok, I'll look into odbc
14:10.42cesuraseancool
14:10.49cesuraseanso just set debug and make calls to determine issues :P
14:10.51cesuraseaneasy enough
14:10.54lvlinuxmartin__1: yes odbc has kindof taken the place of cdr_mysql. Does same thing but works better.
14:11.14martin__1no configuration has to be made to cdr.conf?
14:11.33cesuraseanthe softphone isnt kicking back the route error yet though. is that normal?
14:11.45lvlinuxmartin__1: Yes the config is different.
14:11.51[TK]D-FenderDon't care about the softphone yet
14:12.00[TK]D-Fenderwe want to see you actually looking on your server
14:12.08lvlinuxmartin__1: the book tells all about how to set it up.
14:12.17cesuraseancan i dial from command line?
14:12.33cesuraseani was able to call myself using the softphone and sip
14:12.42cesuraseanbut when i make an outbound out the server, it doesnt work
14:12.47cesuraseanno destination
14:12.59[TK]D-FenderSHOW US
14:13.01cesurasean401 unauthorized
14:13.01*** join/#asterisk kharwell (kharwell@nat/digium/x-pmyrffgstqyqypgt)
14:13.15cesuraseanok hold on
14:13.23[TK]D-Fender401 is an auth reject.  Has nothng to do with what you're dialing
14:13.25[TK]D-Fenderand that is SIP
14:13.33[TK]D-Fenderand we were supposed to be looking for IAX
14:14.01cesuraseani changed from iax to sip
14:14.11cesuraseanill get sip working first, then get iax working, i suppose.
14:14.31cesuraseanhttp://pastebin.com/aFL560qp
14:15.06cesuraseandigium should implement a pastebin tool for asterisk to post logs here
14:15.19cesuraseanwould make sharing knowledge easier among the community
14:15.47[TK]D-Fenderpastebin.com <- works just fine
14:15.51cesuraseanhave it email using sendmail
14:15.58cesuraseanyeah but would cool
14:16.01cesuraseanbe*
14:16.03[TK]D-FenderMAIL for debug?
14:16.08[TK]D-FenderCOPY/PASTE from SSH
14:16.14cesuraseanyeah, like email you an output if you chose to
14:16.21cesuraseanwhy not?
14:16.27[TK]D-Fenderit's your system, do it however you want
14:16.39[TK]D-Fender* is a telephony toolkit.  What you make of it is up to you
14:17.15[TK]D-Fender<--- SIP read from UDP:68.35.152.116:41135 --->
14:17.16[TK]D-FenderINVITE sip:2562266599@simpletechnology2.servehttp.com;transport=UDP SIP/2.0
14:17.17cesuraseangoing to call everyone and ask for $1
14:17.20[TK]D-FenderLooking for 2562266599 in DLPN_DialPlan1 (domain simpletechnology2.servehttp.com)
14:17.24[TK]D-FenderSIP/2.0 404 Not Found
14:17.35[TK]D-FenderYour call came in and you have no match in your dialplan to process taht call.
14:18.06[TK]D-FenderAnd from the looks of it are using Asterisk-GUI which is not supported at all and was abandoned 4 years ago
14:18.23cesuraseanwhich gui is supported now?
14:18.37cesuraseanand how can i remove this old bs?
14:18.44[TK]D-FenderFreePBX is still supported.  By their own channel of course, not here
14:19.03cesuraseanok so i need to get them to help me remove old gui, and install new one, check.
14:19.10*** join/#asterisk Jinxed- (~b0ot@192.160.117.131)
14:19.12Jinxed-Any simple examples of CME(CUCME) trunked with asterisk? Getting a 401 unauthorized from cisco debug
14:19.59cesuraseanwhy does someone use asterisk over any other pbx anyways?
14:20.07cesuraseanthere are so many different phone systems out there.
14:20.16lvlinuxcesurasean: no, you need to remove the gui and keep it removed.
14:20.30cesuraseanlol
14:20.39WIMPycesurasean: Because it's free.
14:20.42lvlinuxcesurasean: because asterisk does what we want it to do, fits our requirements, etc.
14:20.55WIMPyAs free as Linux: Only if your time is worthless.
14:20.56*** join/#asterisk pzn (~pzn@pdpc/supporter/active/pzn)
14:21.12lvlinuxlol
14:21.16[TK]D-FenderWith * you get actual control
14:21.26[TK]D-Fender* is whatever you want it to be
14:21.29*** join/#asterisk rmudgett (rmudgett@nat/digium/x-lhcoojjnemgsroha)
14:21.29lvlinux^^^^^^^^ yes  ^^^^^^
14:21.35[TK]D-Fenderfor me it's a juke-box and coffee-maker
14:21.48lvlinuxcoffee maker?
14:21.55[TK]D-FenderDid I stutter?
14:22.01cesuraseani live down the street from digium
14:22.23cesuraseanbut, i knew about it before they built that building.
14:22.30lvlinuxcesurasean: that's cool but not a good reason to use asterisk lol
14:22.48cesuraseanwell,
14:22.53cesuraseani know the army uses it
14:23.00WIMPyLOL
14:23.02pznHi! I'm debugging a firmware for a device that talks sip with asterisk. when the device tries to finish a call with BYE, asterisk answers with code "481 call leg/transaction does not exist". where can I read about what should match in the pkg to finish a call?
14:23.15cesuraseani don't really know much about it though.
14:23.26lvlinuxcesurasean: read the asterisk book
14:23.31[TK]D-FenderThey wrote a wonderful BOOK
14:23.32cesuraseanit's expensive.
14:23.33[TK]D-Fender~book
14:23.40infobotAsterisk: 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
14:23.40[TK]D-Fenderit's FREE ONLINE
14:23.40pznor how can I "turn on" asterisk debugging for call leg matching?
14:23.40lvlinuxcesurasean: it's FREE
14:23.42[TK]D-Fender^^^
14:23.46mjordanpzn: the device isn't sending the request with the correct combination of Call-ID, from tag, and to tag
14:23.51cesuraseani want a paperback.
14:23.58lvlinuxpzn: "sip set debug on"
14:24.02mjordanhence, we can't match the BYE request to the dialog that was created by the INVITE request
14:24.19lvlinuxcesurasean: then go buy one, but in the mean time, read it online
14:24.23[TK]D-Fender$55 isn't that much.
14:24.29[TK]D-Fenderif you insist on paperback
14:24.40[TK]D-FenderTrees DIED for this
14:24.42cesuraseani can probably print it myself cheaper. how many pages is it?
14:24.44lvlinux$55! is that how much it costs? goodness that ain't hay...
14:25.11lvlinuxbut in fairness if it wasn't available free online $55 is well worth it!
14:25.16cesuraseanredlobster gave me an old printer i need use for.
14:25.44lvlinuxthen have at it
14:26.03cesuraseanyeah, well that book matches my collection. just on the expensive side.
14:26.13lvlinuxyou can get it in a single html page, so just have to print one "page"
14:26.32[TK]D-Fenderloads another roll into the plotter
14:27.05lvlinuxwhat do you do TK?
14:27.12lvlinuxI mean occupation.
14:27.31[TK]D-FenderI am the IT dept for my company
14:27.37cesuraseani fixed a plotter for ITT Tech once.
14:27.46lvlinuxah. Telecom co?
14:27.49[TK]D-FenderSo "PC Load Letter Guy"
14:28.08lvlinuxlol
14:28.13[TK]D-FenderNo, plumbing
14:28.21lvlinuxreally?
14:28.29[TK]D-FenderDistribution more specifically
14:28.39[TK]D-Fenderyup
14:28.53lvlinuxhaha that makes more sense. I was going to ask---do plumbers have "IT"??? lol
14:29.54cesuraseansure they do.
14:30.13lvlinuxyou mean when they have to fish a smartphone out of the toilet?
14:30.23lvlinuxi guess that qualifies
14:30.36WIMPyLOL
14:30.36cesuraseanno, their websites, etc.... phone systems.
14:31.16pznmjordan, tks! got the point, I captured the packages with wireshark (compared a working with a non-working softphone)
14:32.49pznmjordan, they both seem similar. "call-id + from" are exactly the same. "to" has a difference in the bye package, it has a ";tag=randon" at the end (in the working device and in the one that is not working). do you have any ideas how can I debug this?
14:34.08mjordanthere really isn't much to debug. A 481 means we can't match the request to a transaction; it's a problem with the device, not Asterisk.
14:34.22mjordanI'd push it back to whoever manufactured the device.
14:34.47pznmjordan, yes... I'm developing the device :-) trying to "turn on" some debug in asterisk that will help me to solve
14:35.19mjordanif you want to see more of what Asterisk is doing, you can turn either 'sip set debug on' or 'pjsip set logger on', crank the core debug up to 5, and watch what happens
14:35.28*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
14:35.41mjordanBut generally this is a relatively low level problem. You should probably go read what the Call-ID, from tag, and to tag actually are in RFC 3261
14:36.03mjordanTrying to reverse engineer a SIP stack from a working device is not a good way to write a SIP stack :-)
14:36.48WIMPyDo as Steve Jobs told you: Steal one.
14:36.55bulkorok:-D
14:37.13mjordanthere are some really good free ones out there.
14:37.20bulkoroksofia
14:37.24mjordanpjsua
14:37.45filesofia is no longer developed, those who use it maintain it themselves
14:38.03bulkorokI forgot about that
14:38.06mjordanyeah, I wouldn't recommend it unless you have the expectation that you are forking and maintaining it
14:38.18filebaresip is another up and coming one
14:38.27mjordanresiprocate
14:38.39mjordanhint: don't write your own SIP stack.
14:39.31mjordanunless you really just want to write a SIP stack, in which case, that can be fun. But if the goal is to make a 'phone' or some other actual end user facing product, it's a bad way to go
14:39.47bulkorokhttp://www.cs.columbia.edu/sip/implementations.html
14:40.42*** join/#asterisk sekil (~sekil@78.24.104.73)
14:41.03bulkorokmaybe kamailio is also an option...
14:41.20pznthanks! I'll take a look about using a ready-to-use sip stack.
14:47.14WIMPyOh, a TE410P for 11.50 in 6 hours.
14:51.35Jinxed-What causes 401 unauthorized
14:56.39*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
14:58.16*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
15:04.15lvlinuxJinxed-: username, password, wrong domain
15:04.29*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
15:04.30lvlinuxwrong peer
15:05.12Jinxed-how would one source number work, and changing the source number causes a 401
15:06.00[TK]D-FenderUsing the From: as the username...
15:06.05WIMPyBecause you use it for auth?
15:06.19WIMPy... which you probably don't want to do.
15:09.24Jinxed-Have two CME trunks dialing the same number, one worked, one didn't, change the source number of the one that didn't to make it like the one that did and now it works too
15:09.53Jinxed-what variable name refers to the source of the call as opposed to number dialed {exten}
15:10.57*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
15:13.41Jinxed-Hmm what is the sipfriends database?
15:14.33martin__1jeez, this odbc is driving me crazy
15:15.12*** join/#asterisk vader- (~Adium@50.232.174.194)
15:17.23*** join/#asterisk MissionCritical (~MissionCr@unaffiliated/missioncritical)
15:20.02*** join/#asterisk rl1 (~Darwin@80.76.224.9)
15:24.44*** join/#asterisk azerus (~badass@unaffiliated/badass)
15:41.47*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
15:43.29Jinxed-What happens after you finish a label line... does it just go to the next line?
15:43.52[TK]D-Fenderlabel is just a text name associated with a priority
15:44.14Jinxed-so after this line: exten => 101,n(am_nauto),Set(Ipaddr=${REALTIME(sipusers,name,${EXTEN})})
15:44.23Jinxed-if the next line was
15:44.24Jinxed-exten => 101,n,Set(Ipaddr=${CUT(Ipaddr,\,,15)})
15:44.27Jinxed-it would just go to it
15:44.48[TK]D-Fenderyup
15:44.51Jinxed-ok
15:44.52Jinxed-thanks
15:47.02Jinxed-3 lines to paste - pastebin or chat?
15:48.26[TK]D-Fenderpastebin it
15:48.35[TK]D-Fenderwould have taken less time than asking
15:48.37[TK]D-Fender:p
15:48.44Jinxed-!pastebin
15:48.49Jinxed-~pastebin
15:48.53infobotA "pastebin" is a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://www.pastebin.com, http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
15:48.53[TK]D-Fenderpastebin.com
15:49.56Jinxed-[TK]D-Fender, doesn't this logic seem backwards
15:49.59Jinxed-http://paste2.org/Vs0P3nnp
15:50.30Jinxed-I thought it was IF(Check)?True:False
15:50.46Jinxed-It seems like they want to ensure Answer-Mode is Auto, but the labels are backwards
15:51.23Jinxed-If it is auto, it adds the header as auto, if it isn't auto then it doesn't do anything
15:52.04[TK]D-FenderWhich makes sense
15:52.55Jinxed-oh
15:53.02Jinxed-hmm
15:53.23martin__1Ok, so I just built asterisk 11 from source. Still no cdr_mysql.so
15:53.25martin__1Where is it?
15:53.32Jinxed-could you explain a bit more why?
15:54.14martin__1Well, I want the cdr_mysql.so module. I thought it was default in the asterisk.
15:54.54Jinxed-[TK]D-Fender, If they already checked that the SIP_HEADER Answer-mode was auto, why would they need to SIPAddHeader Answer-Mode auto, wouldn't they only need to do that if the SIP_HEADER Answer-Mode was not Auto?
15:55.07[TK]D-FenderDirect MySQL is a thing of the past.  Everything is suposed to be ODBC now
15:55.17martin__1Well, ODBC works as crap with mariadb
15:55.28martin__15 seems to work, not 10
15:55.29[TK]D-FenderJinxed-: Because that should be leading to a call OUT.
15:55.42martin__1I get crash dumps other funny stuff when using odbc
15:55.42[TK]D-FenderThe fact teh call came IN with the header does not make it get included on the call OUT
15:55.45[TK]D-FenderHence the ADD
15:56.19Jinxed-oh... and if it doesn't have it on the IN it doesn't add it on the OUT
15:57.47[TK]D-FenderCorrect
15:58.01[TK]D-Fenderthis is a poor-man's approach to trying to treat * more like a proxy
15:58.10[TK]D-Fenderpass-the-buck
15:59.13[TK]D-Fendermartin__1: What version are you running exactly?
16:00.29Jinxed-[TK]D-Fender, is REALTIME a defined asterisk standard?
16:01.13Jinxed-function
16:01.45martin__1[TK]D-Fender: this is a mariadb issue with odbc
16:01.46Jinxed-Set(Foo=$REALTIME(sipusers,name${EXTEN}))
16:01.52martin__1it is not asterisk related :/
16:02.01Jinxed-Set(Foo=$REALTIME(sipusers,name,${EXTEN}))
16:02.23[TK]D-Fenderoh well...
16:02.42[TK]D-FenderJinxed-: yes
16:03.09[TK]D-FenderJinxed-: And it would be very nice if you would actually call it like a function...
16:03.38hirogen1anyoen seen it in avay on a phone when you dial an outside line and you click on connect it adds a 1 before so +190208800800
16:06.24*** join/#asterisk igcewieling (~ewieling@ip98-170-211-145.pn.at.cox.net)
16:06.54[TK]D-Fendermartin__1: That's up to you and your phone's dialplan
16:07.59hirogen1thing is her settings are the same as mine
16:08.04hirogen1so im gonan try an admin tool and reset it
16:23.39jeffspeffanyone have experience connecting asterisk to an NEC system via SIP?
16:37.12Kobazhow do i get callids to display in an attached console
16:39.04igcewielingKobaz: in the dialplan try using the SIP_HEADER function, something like Set(BOB=${SIP_HEADER(Call-ID)})
16:39.28igcewieling"sip show channels" might also show what you are looking form.
16:39.29Kobaznot in the dialplan
16:39.31Kobazin all messages
16:39.45Kobazie: like using -T to turn on console timestamping
16:39.51igcewielingKobaz: then the answer, as far as I can tell you cannot.
16:40.02igcewielingyou could enable SIP debug I guess.
16:40.20[TK]D-Fender"All messages"
16:40.24[TK]D-Fendernope
16:40.25Kobazyeah i'm looking at the logger source and it looks like display_callids option is only for controlling the log file output
16:40.36Kobaztrying to find where it does the console output
16:41.29igcewielingI take the CALL-ID and log it to the CDR, but that's not what you are looking for.
16:41.57Kobaznope
16:47.25igcewielinggood luck with that.
16:49.46*** join/#asterisk DragonAzul (~DragonAzu@187.208.12.193)
16:52.37*** join/#asterisk DynamicFail (~b0ot@212.144.253.35)
16:53.40Kobazgot it
16:53.43Kobazthat wasn't too bad
16:53.50*** join/#asterisk DynamicFail (~b0ot@212.144.253.35)
16:54.13Kobazi'll put up a patch for it
16:55.45Kobaz<PROTECTED>
16:55.47Kobazpretty cool
16:56.20Kobaz[TK]D-Fender: now i can!
16:56.39[TK]D-Fendernow YOU can and WE still can't ;)
16:56.45Kobazaw
16:56.49*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
16:56.50Kobazpoor we
17:00.09Kobazso, i hope you're all excited
17:00.20Kobazi'm gonna work on my massive logging update patch this time around
17:00.42Kobazmore informational and more consistent logging across the board
17:10.11*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
17:20.43igcewielingThat is not the SIP Call-ID
17:20.59igcewielingThat is the Asterisk channel name.  *totally* different.
17:21.14*** join/#asterisk jcarlos (~quassel@89.129.149.44)
17:22.08jcarlosOne question, please. How can I change the "asterisk" word in the From: field of the INVITE method?
17:22.29jcarlosTalking about sip channel, of course
17:22.43igcewielingIsn't the channel name is already shown in the CLI?   like: -- Executing [s@sub-record-check:11] ExecIf("SIP/139-0000333b", "0?Return()") in new stack
17:25.05[TK]D-Fenderyou shouldn't get that unless you are missing callerid entirely
17:25.15[TK]D-Fenderjcarlos: ^
17:25.31Kobazigcewieling: yeap. i'm not talking about sip call id
17:25.51Kobazand it's not the channel name either
17:25.57Kobazit's the call id
17:26.33orndoes asterisk need a restart after changing TOS settings?
17:27.03ornnever mind
17:27.03Kobazigcewieling: core call id... ie:  [C-00000003]
17:27.40ornneeds to run as root or have libpcap installed, apparently
17:27.56Kobazigcewieling: and heh, i'm so used to my own logging that your log line looked really weird
17:32.21jcarlos[TK]D-Fender: Yes, that was the case. I thought the 404 response I get was because of the presence of asterisk word. I have changed it and no difference :( http://paste.debian.net/318760/
17:33.25[TK]D-FenderUser-Agent: DSL Router/DSL Router-00.96.315
17:33.34jcarlosI'm trying to connect Asterisk to the SIP server in my router to do outbound calls
17:33.37[TK]D-FenderINVITE sip:9xxxxxxxx@192.168.0.1 SIP/2.0
17:33.43[TK]D-FenderThey don't like the # you are dialing
17:34.26jcarlosI don't now why, because I can use the router with my android phone and no problem with the number
17:34.43[TK]D-FenderFrom: "Dockterisk" <sip:*108@192.168.0.2>;tag=as20aabca0
17:34.48[TK]D-Fenderor it's 404'ing your ID
17:35.15[TK]D-FenderGiving I'm use the packets from your phone have the username in the from
17:35.20[TK]D-Fenderso try fixing your peer
17:35.25jcarlosIt is the same From: field that I have when dialing from a SIP client in my Android phone
17:35.29[TK]D-Fenderfromuser=THEUSERNAME
17:35.30jcarlosAnd it works in that case
17:35.55[TK]D-Fender*108 I'm suspecting is not the username
17:36.00jcarlosYes, it is
17:36.10[TK]D-Fenderrather unusual
17:36.38jcarlosTake into account that those usernames are for the SIP server in the router
17:36.59jcarlosThey are not "global" usernames
17:37.24jcarlosEverybody with the same router (and the same SIP server) wil have to use the same usernames
17:37.39jcarlosThey are of the form *101, *102, *103, ...
17:37.48igcewielingKobaz: Call-ID: 4e63309a2ab3c1c91d6da5bc72a58a65@10.0.0.254:5060
17:37.53igcewielingThat is a CallID.
17:39.16[TK]D-Fenderwell it's either the number or the user
17:39.22[TK]D-Fenderthose are the things that get 404'd
17:39.59jcarlos[TK]D-Fender: The thing I don't understand is that when I call using my Android SIP client (using directly the SIP server in the router) I get a 401 and the negotiation proceed correctly
17:40.20jcarlosBut if it is my asterisk box the one to contact with the SIP server in the router, I get a 404
17:40.39igcewielingis the sip server the same as the asterisk box?
17:40.50[TK]D-FenderI'd need to see 2 real full comms for comparison
17:40.55*** join/#asterisk quintana (~quintana@modemcable094.94-70-69.static.videotron.ca)
17:41.10jcarlos[TK]D-Fender: I will send. One moment
17:41.16Kobazigcewieling: that's a sip call id
17:41.25Kobazigcewieling: that's not a core asterisk call id
17:41.30*** join/#asterisk italorossi (~Adium@187.60.66.11)
17:41.38Kobazigcewieling: very different
17:43.52igcewieling*nod*  I must be really out of touch.  Never heard anyone call those "call IDs"
17:45.57Kobazlogger.conf [general]  display_callids
17:46.18Kobazi think it's only in 11 and up, it may be in 10, don't know offhand
17:53.54igcewielingKobaz: must be Asterisk 12 or 13 or undocumented in Asterisk 11.  That string does not exist in the sample configs of Asterisk 11
17:54.04Kobazit's not in the sample configs
17:54.07Kobazthe default is enabled though
17:54.17Kobazit's in 11
17:54.18Kobazi'm using it now
17:55.55igcewielingsomeone might consider documenting it.
17:56.15igcewielingI've wished we could see the logging ID in the CLI for years.
17:56.36Kobazwell i just added it in my own branch
17:56.42Kobazit doesn't log to the cli by default
17:57.47igcewielingAh, sorry, I thought you said it was included with Asterisk 11+
17:58.13*** part/#asterisk dummys (~dummys@unaffiliated/dummys)
17:58.41Kobazcall ids are included, yes
17:58.48Kobazthe cli logging, i just added that now
17:58.53igcewielingKobaz: but not documented
17:58.59Kobazit's not documented but
17:59.01Kobazyou can still use it
17:59.05Kobazlook at your /var/log/asterisk/full
17:59.17Kobazand it's enabled by default
17:59.18igcewielingI am referring *ONLY* to the CLI.
17:59.23Kobazokay, yeah
17:59.27igcewielingI am NOT referring to log files.
17:59.29Kobazthat's not available by default in any version
18:00.54igcewielingI wonder why they use the exact same term as SIP uses.  I'd imagine it could lead to significant amounts of confusion.
18:01.04Kobazi wouldn't think
18:01.08Kobazit's called a sip call id
18:01.16Kobazand even if you said call id, it's still specific to sip
18:01.29Kobazif you're using iax, or dahdi, or webrtc, a sip call id doesn't apply anyway
18:06.35*** join/#asterisk u0m3 (~u0m3@89.120.204.99)
18:17.48*** join/#asterisk areski (~areski@80.174.128.118.dyn.user.ono.com)
18:19.10*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
18:49.28cuscohi folks
18:50.23cuscowe have a sip account from service provider, and now outbounds start to get 'Forbidden'. We did not change a thing. Support tells us that we're sending auth in the first INVITE, and that we should send it on the second frame
18:52.25cuscocurrent peer details in sip.conf: http://paste.debian.net/318764/
18:54.50[TK]D-Fendernat             = force_rport,comedia
18:55.11[TK]D-Fenderno sane provider is ever behind NAT.  This should be "no"
18:55.20cuscoright...
18:55.25cuscomissed that
18:55.35cuscobu that is not the issue, is it?
18:55.44[TK]D-FenderShould also probably set the USER in there
18:55.52[TK]D-Fenderfromuser=USERNAME, and pass ICD in RPID
18:55.58[TK]D-Fendersedrpid=yes
18:56.05[TK]D-Fendersendrpid=yes
18:56.32[TK]D-FenderWhich you seem to have at least
18:56.38[TK]D-Fendernow use FROMUSER with it
18:56.56[TK]D-FenderAnd then if that fails, show us the actual attempt
18:56.59cuscook..
18:59.22cusco[TK]D-Fender: still failled: http://paste.debian.net/318765/
18:59.40[TK]D-FenderContact: <sip:309984718@10.100.100.8:5060>
18:59.45[TK]D-FenderYeah... clearly bad NAT setup
18:59.49[TK]D-Fenderfailed the basics...
18:59.59[TK]D-FenderYou are passing them your PRIVATE IP
19:00.46cuscoyea thats why I had nat on, I guess .. can't remember
19:00.47[TK]D-FenderOn a side note: Asterisk PBX 1.8.12.0
19:00.53cuscoyes... I know :(
19:01.06[TK]D-FenderYou are more that 20 releases behind ... on a DEAD BRANCH
19:01.25[TK]D-FenderAdd that to the list after fixing your SIP configs
19:01.43cuscoit has been on my list for like over a year
19:01.58cuscoalso, upgrading debian wheezy to jessie
19:08.37*** join/#asterisk areski (~areski@80.174.128.38.dyn.user.ono.com)
19:23.43rrittgarn1is cdr_adaptive_odbc supported in 13? doing some tests upgrading from 11 to 13 and having issues with custom columns not populating values from dialplan
19:24.27rrittgarn1reloaded the module and i see the custom columns, but when setting their values via SET(CDR(customcolumn)=value) i don't get that value stored in cdr records
19:25.35*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
19:26.43drmessanoIs the module loaded?
19:30.59rrittgarn1cdr_adaptive_odbc.so           Adaptive ODBC CDR backend                0          Running              core
19:31.01rrittgarn1yessir
19:32.21drmessanoI would say it's supported then
19:32.54rrittgarn1touchez
19:50.42*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
19:59.40*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
20:01.43rrittgarn1I went and set a static value to store into one of my custom columns, and that works fine, but the dialplan doesn't. Syntax wise: same => n,Set(CDR(userid)=1); should work right?
20:02.23robmalIDK
20:02.31robmalThere's a wiki.
20:02.36robmalThey have examples there.
20:02.48robmalIt's like a manual.
20:03.13rrittgarn1https://wiki.asterisk.org/wiki/display/AST/CDR+Storage+Backends?focusedCommentId=31097306#comment-31097306  <--- Like this one that says its missing?
20:04.30robmalOoooh.
20:04.52robmalMeh, ok, looks like i'll help you ;-)
20:05.40robmalSo, you've got adaptive working, its detecting a new column?
20:05.45rrittgarn1correct
20:05.57rrittgarn1and i can statically set values in the config file, and those make it into my DB
20:06.02rrittgarn1all the standard columns make it too
20:06.25rrittgarn1but when i try to set values in dialplan (specifically in the H extension - as worked in 11) - the values are not making it
20:06.40rrittgarn1looking at the debug log the column isn't referenced either
20:06.42robmalOh noes, h exten.
20:07.05robmalOk. Do a NoOp just before Set to verify if the value is still there.
20:09.44rrittgarn1strange. I set the value and two lines later the value isn't there...
20:10.01robmal*magic*
20:11.21rrittgarn1k... so i can't set cdr values in the H exten anymore?
20:12.21robmalAFAIR the values set during the call should still be there, but imho using extension h to do anything is asking for trouble.
20:13.03igcewielingH was never a valid extension, AFIK.  However the h extension is valid.
20:13.07rrittgarn1I was not aware that it was that problematic
20:13.22rrittgarn1and yes, referring to the 'h' exten, not H
20:13.32robmalWhat are you trying to achieve?
20:13.43igcewielingrrittgarn1: Have you considered using hangup handlers instead??
20:13.43*** join/#asterisk Inf0r (uid2810@gateway/web/irccloud.com/x-qwmggxvpntesukbv)
20:14.39rrittgarn1after the call is processed, I update the cdr with a unique user id for the person on my system that made the call, said ID is looked up externally via a SQL query based on the channels that were connected.
20:15.13robmalWhy after? You know who made the call in the beginning.
20:16.07rrittgarn1hadn't addressed that honestly. it was easier at the time to just do cleanup at the end when originally implemented.
20:16.10rrittgarn1@igcewieling, kind of thought that's what i was doing - please enlighten me into better ways
20:24.16robmalshines light on setting cdr values before hangup.
20:24.59igcewielingrrittgarn1: https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers+Specification
20:25.25rrittgarn1thank you kind sirs
20:27.40tm1000in conferences. Is there a way for a menu option to jump to another menu. So you could have more than 10 options
20:29.39robmaldialplan_exec?
20:29.55robmalIt could playback something and wait for digits.
20:30.43*** join/#asterisk pchero (~pchero@109.70.54.56)
20:30.54tm1000robmal: super gross
20:31.05tm1000was wondering if there was something simplier. heh :-)
20:31.05robmalOk, so the answer is no.
20:31.35robmalNo, seriously, did you try setting a menu item with two digits?
20:31.47tm1000robmal: no. was going to try it next
20:32.20robmalI think it'll work.
20:35.08*** join/#asterisk theron (~theron@2620:10d:c090:200::c:694a)
20:41.34tm1000robmal: doesnt work. thats ok though. thanks for your help
20:42.42robmalGood to know.
20:43.22*** join/#asterisk superscrat (asanders@nat/digium/x-hxajdeyekblakijk)
20:43.45*** join/#asterisk Voyage (~user1@unaffiliated/voyage)
20:44.15VoyageHow to name the recorded file as <number-called-date.mp3>?
20:44.24Voyageusing MixMonitor()
20:44.32robmalVoyage! Welcome back!
20:44.39Voyagerobmal,  I missed you too
20:44.45robmalI see you still can't read manuals! :-)
20:45.19VoyageI am searching for one
20:45.27Voyagethat tells me that
20:45.36robmalOk.
20:45.42robmalPick a letter.
20:45.51Voyage'a'
20:45.56MaliutaLaprobmal: 5
20:45.59Kobazigcewieling: yay hangup handlers :)
20:46.21robmalVoyage: ________________A__
20:46.34Voyageb
20:46.37robmal*bzzt*
20:46.43Voyagec
20:46.45robmal*bzzt*
20:46.47Voyaged
20:46.51robmal*bzzt*
20:46.52Voyagee
20:46.54robmalPenality: 5min
20:46.59Voyagelol
20:48.20*** join/#asterisk malcolmd (malcolmd@pdpc/sponsor/digium/malcolmd)
20:48.34*** mode/#asterisk [+o malcolmd] by ChanServ
20:48.42VoyageDNID: Dialed Number IDentifier?
20:50.29Voyagewhat is 'dialed number' named in variable and dialplan scripting?
20:50.35Voyagethe outgoing dialed number
20:51.15Voyage${CALLERID(dnid)} * - Dialed Number Identifier  ?
20:51.59robmalK, penality over, current game: ________________A__
20:52.30Voyagee
20:52.36robmal________________A_E
20:52.42Voyagel
20:52.58robmal_____________L_A_E
20:53.02robmalSorry.
20:53.08igcewieling${EXTEN} almost always is the DNID.   Possible excepions which come to mind are if you are using a PRI
20:53.10robmal____________L_A_E
20:53.14robmalDamn.
20:53.38robmal____________L__A_E
20:53.40robmalNow.
20:54.08Voyageigcewieling,  ${EXTEN} * - Current extension
20:54.30Voyageigcewieling,  doesnt makes sense how somehow get the number that I called from it
20:55.46igcewielingThe number you are called from is CallerID, which is not the DNID.
20:55.59Voyageright. I dont want it either
20:56.01Kobazsource number (callerid) and destination number (exten/dnid)
20:56.05VoyageI want the callee number
20:56.25Kobazcallee = destination
20:56.57VoyageKobaz,  ok, so (exten/dnid) can be fetched by either  ${EXTEN}    or   ${CALLERID(dnid)} * - Dialed Number Identifier ?
20:57.14Kobazyeap
20:57.24igcewielingMy recommendation is to set a dialplan variable to the value of ${EXTEN} right where the call would enter the dialplan.  That way if ${EXTEN} changes, for example using a gosub or macro, you'll still have the original digits.
20:57.50Voyageigcewieling,  ok.
20:57.53igcewielingVoyage: usually, unless you are on PRI
20:58.09*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
20:58.11VoyageIam using AMi
20:58.20Voyageto originate
20:58.21robmalWe know.
20:58.36Voyagerobmal,  pick a letter
20:58.43robmalF
20:58.43*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
20:58.46igcewielingI track EXTEN, DIALSTATUS and HANGUPCAUSE that way in my dialplan
20:58.48VoyageF______________
20:58.51robmalU
20:58.56VoyageFU____________
20:58.57robmalC
20:59.05Voyageok, I dont want to be banned
20:59.08robmal;-)
20:59.11robmalPoor game.
20:59.22Voyageat least you know what you deserve
20:59.29Voyagejust kidding
21:01.12robmal</3
21:04.26*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
21:08.48Voyageigcewieling,  Kobaz  exten => _1NXXXXXXXXX,1,MixMonitor(${EXTEN}.wav) worked but exten => _1NXXXXXXXXX,1,MixMonitor(${CALLERID(dnid)}.wav) did not
21:10.02robmalOh noes.
21:12.48*** join/#asterisk mac_ified (~mac_ified@67-9-150-210.res.bhn.net)
21:16.40*** join/#asterisk EOIP (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
21:17.19igcewielingHave you tried ${CALLERID(DNID)} ?
21:19.19*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
21:20.04[TK]D-FenderYou have no callerid
21:20.09[TK]D-FenderOf course it will fail
21:20.32*** join/#asterisk robink_ (~quassel@unaffilated/robink)
21:21.07robmalthinks [TK]D-Fender is a Jedi.
21:21.40[TK]D-FenderNo, if I could force-choke people at great distances this shannel would be a lot slimmer...
21:21.50robmal:-)
21:21.55robmalI wish you could.
21:22.28MaliutaLap[TK]D-Fender++
21:22.55MaliutaLapforce-choking - they ultimate LART
21:32.58*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
21:38.16*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
21:44.35*** join/#asterisk theron (~theron@2620:10d:c090:200::d:fea3)
22:02.49Voyageigcewieling,  yes, I tried ${CALLERID(DNID)} and it did not worked
22:03.01Voyagebecause I think I dont have a caller id in dialplan
22:03.03[TK]D-Fender<[TK]D-Fender> You have no callerid
22:03.03[TK]D-Fender<[TK]D-Fender> Of course it will fail
22:03.06VoyageI used ami origination
22:03.21Voyageright
22:04.28Voyagewhat sthe best format to record voice for asterisk?
22:04.38[TK]D-Fenderthe same format as your call is in
22:04.39Voyagewav is too big
22:04.42robmalKlingon
22:05.43Voyage[TK]D-Fender,  I think default is GSM in * but the helloworld was choosen by * as .slin
22:06.09[TK]D-FenderThere is no such thing as "default".
22:06.16[TK]D-Fenderand "think" shouldn't be coming into this
22:06.31[TK]D-FenderYou should have set this in your peer yourself and it shouldn't be a guess
22:06.42Voyagehm
22:06.50Voyagein my peer?
22:07.04[TK]D-Fender<[TK]D-Fender> You should have set this in your peer yourself and it shouldn't be a guess
22:07.11Voyagein my peer?
22:07.15[TK]D-FenderYES
22:07.20[TK]D-FenderDid I stutter?
22:07.26Voyagesuper
22:07.29robmalN-no.
22:07.31[TK]D-FenderIs there an echo in here?
22:07.43robmalIs there an echo in here?
22:07.46[TK]D-Fendercould have sworn he installed an echo canceller
22:08.05Voyagerobmal,  _____T
22:09.04robmalVoyage: IDIOT has 5 letters, but nice to meet you. I'm Robert.
22:09.40VoyageYou are TREBOR or Trouble
22:10.12Voyage[TK]D-Fender,  ______H
22:10.24robmalI'm doing my best to make you leave this channel and do some research on your own.
22:10.37Voyagerobq not gonna happen unless I get banned
22:10.48Voyage[TK]D-Fender,  pick a letter
22:11.30*** join/#asterisk talntid (~talntid@173-160-189-58-Washington.hfc.comcastbusiness.net)
22:12.11talntidanyone here know if i can chanspy all the members of a queue, but only on the calls that are within that queue? so if they are in 2 queues... Queue1 and Queue2... and I want to spy on all Queue1 calls?
22:12.22[TK]D-FenderAnd the reason you think I'm going to play some ridiculous game is?
22:12.51[TK]D-Fendertalntid, There is no spying on "queue calls", there is only "spying on channels"
22:13.16[TK]D-Fendertalntid, You're going to have to script up whatever kind of filtering you want in choosing which channels are actually queueu calls
22:13.29talntidgotcha. hmmmmmm
22:13.44robmalhttp://hackrr.com/2013/freepbx/how-to-monitor-certain-queues-with-chanspy/
22:13.47robmalThis.
22:14.57[TK]D-Fenderhrm
22:15.01[TK]D-Fenderloks like I missed a var
22:15.20Voyageplayback () does not gives control to next line while background() does. background is useful for user, for e.g, to press 1,2,3 etc and still keep the background sound going. The problem in this that if user presses something, the next line is run (which is hangup() ). I want to make sure the background sound was fully played before hangup? Any solution else than wait()?
22:15.33Voyagewait(seconds)
22:15.35robmalHolocaust
22:15.53[TK]D-Fendergrp - Only spy on channels in which one or more of the groups
22:15.53[TK]D-Fender<PROTECTED>
22:15.53[TK]D-Fender<PROTECTED>
22:15.55[TK]D-Fenderyup
22:16.22[TK]D-FenderSo if you set the group before you jump into the queue and it inherits right (and the rest of the stars align), yup, that could do it
22:16.39robmal<- had the right thing in bookmarks
22:17.07[TK]D-FenderVoyage, If you want it played in full then use Playback.
22:17.28[TK]D-FenderThe entire point of Backgound IS to be interrupted
22:17.37Voyage[TK]D-Fender,  but I also want to get number options
22:18.04[TK]D-Fenderthen get them AFTER the playback
22:18.11Voyagehm
22:18.27rrittgarn1or playback a certain amount of your audio before switching to background
22:18.35rrittgarn1slice the audio at a pause between words
22:18.40robmalBut you could use background and set some exten => 1,1,Hangup()
22:18.50[TK]D-FenderNo, he said "fully played"
22:18.55[TK]D-Fenderthat means NO interruption
22:19.10robmalSo playback it is.
22:19.14[TK]D-FenderGet your input afterwards
22:19.48Voyageok
22:25.14VoyageHow can I write certain things to log file or some customFile.txt. I am not talking about verbose(0 or NoOp() which are for console printf
22:26.04robmallogger.conf
22:26.29[TK]D-FenderSomething that makes a call outside of *
22:26.42[TK]D-Fender"core show function SHELL"
22:26.44Voyageis this the only way left? https://wiki.asterisk.org/wiki/display/AST/Logging
22:26.50[TK]D-Fender"core show application system"
22:26.55Voyageok
22:26.58[TK]D-Fender"no
22:27.03Voyageam. hmm
22:27.15[TK]D-Fender"core show application agi" <- which you are NOT ready for
22:27.41*** join/#asterisk lbazan (~LoKoMurdo@fedora/LoKoMurdoK)
22:27.44drmessano~book
22:27.44infobotAsterisk: 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
22:27.49MaliutaLapI can't remember this much hand holding in a long time
22:27.58drmessanoDAYS of it
22:28.11drmessanoLike TK Built the whole thing
22:28.31drmessanoFor a contract job the guy is getting paid to do
22:28.38MaliutaLapdrmessano: I think we need to send [TK]D-Fender on that force-choking course
22:28.44robmalI'm pretty sure [TK]D-Fender is dying and he's trying to fix all his bad deeds in one deal.
22:29.20MaliutaLaprobmal: when this kind of things happen we all die a little inside
22:29.33drmessanoNo doubt Vonage over there is being paid for this custom thing. His demands are too specific for it not to be a job
22:29.35robmalNot all of us. I just eat more popcorn.
22:29.42drmessanoSo he's had someone else do it for him
22:29.49drmessanoYay for work ethic
22:29.50[TK]D-Fenderdrmessano, "so... do you think management will be looking to hir a replacement for the position immediately?"
22:30.11[TK]D-Fender</classic>
22:30.20drmessanoHe'll be back on IRC the first time he needs to change it
22:30.42robmalHe'll be paid to use IRC = great success
22:30.58drmessanoThere's a line between HELP and whatever the hell this is
22:31.06MaliutaLapI hate people who can't read docs
22:31.18drmessanoOr do the actual work?
22:31.29drmessanoAnd it's "won't"
22:31.33drmessanoNot "can't"
22:31.40MaliutaLapprobably both
22:31.45drmessanoHe just wants to finish the job and get paid
22:32.03drmessanoExpending as little effort as possible
22:32.29robmalFor free!
22:32.36drmessanoAnd NOW
22:32.50robmalWhich is awesome.
22:33.26MaliutaLapbecause not understanding how something you've done works is a good thing?
22:33.49Voyage[TK]D-Fender,  no "core show function SHELL"  "core show application system" "core show application agi"    is not something I want. I want to write some things to a file.txt on certain events. eg. call connected to number <number here> (this might be possible by AGI status) but, what about "user pressed number <number here>"
22:33.52robmalIt's like going to a brothel and crying in the entrance until you get laid :-)
22:33.54drmessanoHim and I had it out in #freepbx ... I told him #freepbx was support for a SPECIFIC PROJECT.  He told me "I am here for COMMUNITY".  Still don't know WTF that means
22:34.26drmessanoLike Ivan Drago in Rocky IV
22:34.36drmessanoI DO FOR ME
22:34.47robmaldrmessano: You should support his lack of intelligence. Community means caring for the weaker.
22:35.08[TK]D-FenderVoyage, And what I gave you was the solution to that
22:35.15drmessanoOh, so he's retarded?  Why didn't someone say so
22:36.08robmalI'm pretty sure he is, no other option [TK]D-Fender would be so patient.
22:36.11drmessanoArguing on IRC is like winning a gold medal in the Special Olympics. If you win, you're still retarded
22:36.26[TK]D-Fendertries to force-choke anyway.....
22:36.26Voyage[TK]D-Fender,  If I am doing calls via AGI, what are my options to know call status and number that user pressed?
22:36.42drmessanoOh AGI now?
22:36.46[TK]D-FenderYou know what they pressed because you read it in as input
22:36.58[TK]D-FenderAnd as I said, you are ready for AGI
22:36.59drmessanoJust use Asterisk -x a LOT
22:37.02[TK]D-FenderNOT*
22:37.15*** join/#asterisk robink_ (~quassel@unaffilated/robink)
22:37.17Voyage[TK]D-Fender,  yes, I am getting the input stream fine. that is ONE option. do I have any other?
22:37.30[TK]D-FenderDo you need another?
22:37.34robmal[TK]D-Fender: Don't say that. You let him skip dialplan logic straight to AMI, i'm sure you'll be able to help him with AGI.
22:37.36drmessanoYep, sniff some glue
22:37.38MaliutaLapsomething; something; kill -9 -1
22:37.44VoyageI am just learning things and expanding my mind. [TK]D-Fender
22:37.51drmessanoMaliutaLap: lol
22:37.59drmessanoExpanding what?!
22:38.16MaliutaLapdrmessano: well there is no other way for it to go ;)
22:38.20Voyage[TK]D-Fender,  you said I am not ready for AMI [TK]D-Fender> "core show application agi" <- which you are NOT ready for
22:38.32robmal:-] Fun++
22:38.37drmessanoHahahhahah
22:38.42[TK]D-Fenderdouble checks his echo canceller....
22:38.45drmessanoAGI != AMI
22:38.57robmalVoyage: Yes, if you're not ready for one level up you should try going to level 3 :-)
22:38.58Voyageah type
22:39.02Voyagetypo
22:39.12drmessanoSPELLING IS A BIZZATCH
22:39.15[TK]D-FenderNOT A TYPO
22:39.20[TK]D-Fenderagi != ami
22:39.31drmessanoSo is being paid to do a job and getting someone else to do it
22:39.36robmalVoyage: Go ARI!
22:39.59drmessanoJust use the QBASIC API
22:40.04drmessanoAQI
22:40.11drmessano10 call
22:40.18drmessano20 goto 10
22:40.24drmessanoROBODIALER
22:41.04[TK]D-FenderLANA!!!!!
22:41.05[TK]D-Fender...
22:41.09[TK]D-FenderDANGER ZONE
22:41.29drmessanolol
22:41.38SircleVoyage:  AMI = Asterisk manager API. Thats what you are using (the stream thing told me). I have been observing you since some time. Try to google as much as  you can before asking here
22:42.00MaliutaLap[TK]D-Fender: dude - phrasing
22:42.12*** join/#asterisk SpeakerToMeat (~SpeakerTo@prgmr/customer/SpeakerToMeat)
22:42.35drmessanoSircle: he can't find anything on Google
22:42.46drmessanoApparently Google is out of AMI
22:42.50MaliutaLapseriously? are we not doing phrasing anymore?
22:42.50drmessanoAND TOMATOES
22:44.04Voyage[TK]D-Fender,  I was expecting to log things via dialplan (when the call had reached it). The only thing to get from AMI was status code (whether the call was connnected or rejected/busy etc)
22:44.16Voyageby log I mean write to a file
22:44.26Voyagenot verbose() or noop()
22:44.28[TK]D-FenderThis has nothing to do with AMI anymore
22:44.34[TK]D-FenderYou're in your channel
22:44.34Voyagethat was my simple question
22:44.37[TK]D-Fenderthe call is processing
22:44.39Voyageok
22:44.44[TK]D-Fenderand I gave you the means by which you can do this
22:45.38Voyage[TK]D-Fender,  ok, I can do all the above via AMI stream. Even what button was pressed. But is there any other option?
22:45.43Voyageoption/way
22:45.50[TK]D-Fenderno, you can't
22:45.58VoyageNO other way?
22:45.58[TK]D-Fenderand this has nothing to do with AMI
22:46.12robmalLies.
22:46.13[TK]D-FenderStop talking about AMI
22:46.23Voyagenothing to do with AMI? I though you said the stream tells status etc
22:46.25Voyageok,
22:46.29Voyageignores AMI
22:46.32[TK]D-FenderNO I DIDN'T
22:46.37robmalVoyage: Telnet to localhost 5038 and enter credentials from /etc/asterisk/manager.conf
22:46.42[TK]D-FenderYOU think != I said
22:46.57[TK]D-FenderYou are coming up with random "facts" in your head
22:47.11[TK]D-FenderThis is not what's documented, nor what we said
22:47.19Voyage<[TK]D-Fender> You know what they pressed because you read it in as input
22:47.48[TK]D-FenderYes.  Now go use a dialplan app that reads in input
22:47.57MaliutaLapwhy don't we have a tactical missile system for this channel?
22:47.59[TK]D-FenderI sure did NOT say "AMI" in there
22:48.01robmalVoyage: Yes you can! If you have an account admin with secret=admin in manager.conf just telnet to 5038 and watch the events. It's all there. [TK]D-Fender just doesn't want to help you with this.
22:48.55robmalMaliutaLap: I suggested war with #freepbx and it seems Voyage came from there. We could have avoided all of this just by launching a preliminary strike.
22:49.00Voyagerobmal,  why would i telnet to 5038 when I am already having my app AMI to connect to 5038 and can see the input/output stream
22:49.08Voyagethose has events too
22:49.17robmalVoyage: Manager listens on port 5038
22:49.40robmalTelnet there and you'll see all the events [TK]D-Fender doesn't want you to know about.
22:49.40MaliutaLaprobmal: now we're just going to have to go nuclear on it
22:49.43VoyageI was expecting to log things via dialplan (when the call had reached it). The only thing to get from AMI was status code (whether the call was connnected or rejected/busy etc)
22:50.10robmalMaliutaLap: I can't wait.
22:50.47robmalVoyage: Telnet to 5038
22:50.50robmalUsername: xxx
22:50.54robmalSecret: qqq
22:50.56robmal<PROTECTED>
22:51.03[TK]D-Fenderrobmal, Stop
22:51.16robmal[TK]D-Fender: You started this circus :-)
22:51.30[TK]D-FenderNo, I just picked up the whip that was laying over in the corner
22:51.39MaliutaLapkinky
22:51.41Voyagerobmal,  I dont want to see ALL events. I want to do thing programatically. write x if y happens in dialplan execution or AMi origination success/failure
22:51.43robmal;-))))
22:51.46Voyage[TK]D-Fender,  and others, I didnt told you to write scripts for me but I am unable to understand a clear answer. Can we be specific?
22:52.31MaliutaLaprobmal: fixing up my tax return is looking really attractive right about now
22:52.34*** join/#asterisk theron (~theron@173-28-183-190.client.mchsi.com)
22:52.43robmalNo, you made [TK]D-Fender answer all your dumb questions. It's amazing, because usually he's rather harsh for newbies. Good job.
22:53.39robmalMaliutaLap: My accountant informed me i have to give back all the tax office gave back as a return because i had to correct an invoice from last year. Love taxes.
22:54.19MaliutaLaprobmal: my mother is an accountant - she did my return, and I found a glaring error. Now I have to fix it up
22:54.31MaliutaLaprobmal: can't fire her, she's my mother
22:54.31robmalEven worse ;-)
22:54.32Voyage:(
22:55.20robmalVoyage: Don't be sad. This channel didn't have a puppet before so you're a lucky one.
22:56.28MaliutaLaprobmal: don't try and get him to use puppet to automate this :P
22:56.59robmalGood idea, let's send him to #puppet
22:58.12MaliutaLaprobmal: no, I maintain a presence there too :P
22:58.53robmalSo #docker?
22:59.42MaliutaLapyeah, that'll do
22:59.55robmalVoyage: Guys at #docker know shit, go there.
23:01.55[TK]D-Fenderheads out to practice....
23:02.12Voyage[TK]D-Fender,  thanks
23:02.32*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
23:15.22*** part/#asterisk kharwell (kharwell@nat/digium/x-pmyrffgstqyqypgt)
23:16.17*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
23:20.28Voyage<PROTECTED>
23:22.22robmalVoyage: Dude. Focus now. Focus hard. /etc/asterisk/logger.conf
23:24.08Voyagerobmal,  ok, but I planned to to it in real time when the call would be in progress etc
23:24.11Voyagelike Set(FILE(/tmp/foo.txt,,,al)=bar)
23:25.17robmalI don't seem to get the point of that.
23:27.32Voyagerobmal,  nice question. I want to keep a record for each call at one place and nearby lines in the file.txt.  e.g I am originating a call via AMI. Now only AMI can know if the call was connected or not. and only dialplan and AMI can know what number was pressed. I just wanted to do things in nearby proximity
23:27.48Voyageor maybe I am not an expert and assumed things wrong?
23:28.45robmalI almost died from laughing from that 'not an expert' part
23:29.05robmalOk, back to the drawing board.
23:29.10robmalWhat do you want to achieve?
23:29.32Voyagedont worry, you will die (some day)
23:29.59Voyagerobmal,  am. log number, connected: in another file, not connected/reject/hangup in an other file
23:30.22Voyagenumber pressed 1, 2 etc. in the connected.txt file (with the number)
23:30.26robmalOk, so you're looking for DIALSTATUS
23:30.33Voyagea couple of things more (those are in dialplan)
23:30.58Voyagerobmal,  ok, i got dIALStatus from AMI status events input stream. cool. what next?
23:31.33Voyageuser pressed 1
23:32.13robmalAMI has DTMFsomething events.
23:32.28Voyageso  you want all to be fetched via AM?
23:32.32VoyageAMI*
23:33.02robmalNo, i would do it totally different.
23:33.07Voyageok, nothing bad in it. I agree. It can be done
23:33.14Voyageoh, what would you do:
23:33.18Voyage?
23:33.31Voyageany why
23:34.11robmalYou're making an automated dialout machine, right? With IVR when the other end answers?
23:34.18Voyagecorrect
23:34.23VoyageIVR?
23:34.42robmalInteractive Voice Rsomething.
23:34.57Voyagekind of
23:35.39robmalSo you need to know dialstatus to log when the other end answers, and you'll get a shit load of false positives due to voicemail.
23:36.29Voyageya, absolutely correct. but there is no way to distinguish voicemail pickup  and manual answer by human
23:36.43robmalOf course there is.
23:36.50Voyagereally? what is?
23:37.13robmalLots of things learn you must, young one.
23:37.41Voyagejust give me the subject and I will read about it
23:38.01*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
23:38.11Voyagerobmal,  thats even  more interesting. If its a voicemail, I would just hangup
23:38.14robmalI think my stomach just bursted from laughing.
23:38.28robmalHow the hell you'll know if it's voicemail?
23:38.34Voyagetell me when you have finished laughing
23:38.41robmalI'm done.
23:38.45VoyageVoyage> ya, absolutely correct. but there is no way to distinguish voicemail pickup  and manual answer by human
23:38.47Voyage<robmal> Of course there is.
23:39.15robmalSo, yes, i know how to determine if it's VM or a human.
23:39.28Voyagehow?
23:39.43robmalI get paid to tell that.
23:39.51Voyagehow much you want?
23:40.11robmalI'm not in your price range.
23:40.24Voyagetry me (reasonably)
23:40.44robmal$500 just for the idea.
23:41.12VoyageI would prefer to hire you per hour and count how many times i did __ with you
23:42.02robmalNo problem, $500/h
23:42.24Voyageand I can do whatever in that hour?
23:42.41robmalNo sex, sorry.
23:42.53robmalNot that kind of service.
23:42.54Voyagetorture?
23:43.07robmalIf it's done by a woman, maybe.
23:43.19Voyage:)
23:43.40Voyageok anyways. are you going to tell me how to distinguish voicemain answer with manual answer?
23:44.07robmalSure.
23:44.25Voyageok, tell me
23:44.30robmalhttps://www.paypal.me/robmal
23:45.10Voyageok, what would you have chosen? if not AMI status events?
23:45.48robmalThere is no other way to determine if the call was answered or not.
23:46.02Voyagewhich no other way?
23:46.06VoyageWhat do you mean.
23:46.11*** join/#asterisk [NC] (~nc@rv1.sabius.net)
23:46.29VoyageNo, The call is an "answered call" either answered by a human or a voicemail
23:46.40robmalYes.
23:46.49Voyageso how do you differenciate?
23:46.55Voyageif that number is not owned by you
23:47.43robmalI'm a magician. With ~98% success rate.
23:49.01Voyageif you are saying http://www.voip-info.org/wiki/view/Asterisk+cmd+AMD   those are just guesses
23:49.38robmalNo, that's not it, not even close.
23:50.00Voyageok. I dont want to hear it if you dont want to tell it
23:50.14Voyageok, what would you have chosen? if not AMI status events?
23:50.43*** join/#asterisk ruied (~ruied@bl7-216-43.dsl.telepac.pt)
23:50.57robmalI do use dialstatus to determine if the call was answered. There's no other way. But determining if it was answered by a human is *magic*
23:52.02talntidfrom asterisk cli, can i check a variable for a specific channel?
23:52.18robmalYes. core show channel xfiojoidjwqoidjwqoi
23:52.36Voyagerobmal,  where will you get the 'dialstatus'?
23:52.54talntidawesome. i was doing sip show channel
23:52.55talntidthanks
23:53.35robmalVoyage: During a call after Dial() a var called dialstatus is set.
23:53.51robmalBut it's exactly the same as your AMI event.
23:54.01robmalANSWER or NOANSWER, BUSY, that shit.
23:54.15Voyageok
23:54.36talntidok, so.... I have this: http://pastebin.com/fUU1Vsbd  ... if you check SpyGroup
23:54.36craigifyVoyage, did you read the docs on Dial()
23:54.37craigify?
23:54.43robmalcraigify: He didn't.
23:54.44talntidit shows AgentsInc-Main:
23:54.48craigifywhy not???
23:54.55Voyagejust for learning, how to write that dialstatus to a file.txt?
23:54.57robmalcraigify: He's retarded a bit.
23:54.58craigifyit's all right there, in lots of details.  all the switches
23:55.02talntidChanSpy(,g(AgentsInc-Main:))
23:55.11craigifythe return variables
23:55.11Voyagelike Set(FILE(/tmp/foo.txt,,,al)=bar) ? ?    robmal
23:55.13talntidbut if I do this, I get more channels than just the spygroup=AgentsInc-Main:
23:55.16craigifyor rather the dialplan variables that get set
23:55.28craigifyeverything you ever want to know is all documented
23:55.32craigifyAsterisk has pretty decent documentation
23:55.44robmalcraigify: Voyage can't read manuals or documentation.
23:56.07craigifylanguage barrier?
23:56.24Voyagecraigify,  robmal  is just being an asshole.
23:56.39robmalNot just now, all the time.
23:56.50VoyageYa, its a childhood issue you have
23:57.11robmalNah, i'm fine with my childhood, i just don't understand people like you :-)
23:57.18Voyagecraigify,  so I write something to a file from dialplan by this? Set(FILE(/tmp/foo.txt,,,al)=bar) ? ?   thats the only thing I found in docs
23:57.41robmalcraigify: He's your puppet now, enjoy.
23:57.42Voyagerobmal,  intelligence or thinking problem you have?
23:58.06Voyagerobmal,  so, before me, you were his puppet?
23:58.27igcewielingStrange, "core show function FILE" has lots of examples.
23:58.52Voyageigcewieling,  yes. Set(FILE(/tmp/foo.txt,,,al)=bar) . I pasted one. Just asked if thats the only way to log things?
23:59.01robmalVoyage: None, but from the tests i've taken i seem to have negative emotional inteligence. So i don't understand people. Especially the dumb ones. Don't be offended by my attitude, sarcarsm is my way of letting off steam.
23:59.29craigifyhttp://stackoverflow.com/questions/4244911/normal-file-i-o-operations-in-asterisk
23:59.43igcewielingVoyage: spend some time looking at the output of "core show functions" and "core show applications", it will save you much time.
23:59.45Voyagerobmal,  I know, some people are not normal and some people are abnormal. You are later
23:59.59robmalVoyage: I know.

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