IRC log for #asterisk on 20150916

00:03.52*** join/#asterisk wizhippo (~wizhippo@CPEc8d719031328-CM0c473de604b0.cpe.net.cable.rogers.com)
00:05.10*** part/#asterisk kharwell (kharwell@nat/digium/x-lpyiojgkahpzfpnx)
00:16.39*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
00:16.51*** join/#asterisk justdave_ (~dave@unaffiliated/justdave)
00:19.32*** join/#asterisk ghoti_ (~paul@hq.experiencepoint.com)
00:20.20*** join/#asterisk foamz_ (sid25727@gateway/web/irccloud.com/x-lczxvneihojztyrf)
00:20.54*** join/#asterisk luckman212_ (~luckman21@unaffiliated/luckman212)
00:21.11*** join/#asterisk drathir87 (~kamiljk8@unaffiliated/drathir)
00:21.49*** join/#asterisk camerin (hoax@elite.bshellz.net)
00:21.53*** join/#asterisk BakaKuna (~BakaKuna@82-169-251-128.ip.telfort.nl)
00:22.06*** join/#asterisk vehk (~vehk@unaffiliated/vehk)
00:25.06*** join/#asterisk [d__d] (~d__d]@ec2-54-85-45-223.compute-1.amazonaws.com)
00:29.08*** join/#asterisk jwr___ (~quassel@205.196.167.54)
00:36.11*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
00:36.30*** join/#asterisk troyt (~troyt@2601:681:4600:9241:44dd:acff:fe85:9c8e)
00:41.42*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-ujnrtyddnjihqpfz)
00:42.38*** join/#asterisk mahlon (~mahlon@martini.nu)
00:44.32*** join/#asterisk protem (~protem@unaffiliated/protem)
01:00.48*** join/#asterisk Dovid (~dovid@ool-45738930.dyn.optonline.net)
01:19.29*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
01:30.21*** join/#asterisk Dovid (~dovid@ool-45738930.dyn.optonline.net)
01:35.59*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-ljtyagipyardiqel)
01:37.23*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
02:21.24jeffspeffonce a phone registers upon boot, does it register again periodically or does the sip qualify from * take care of that?
02:21.57WIMPyperiodically
02:22.48jeffspeffhow can i change the register periods? is that done on the device itself or through the sip settings for that peer?
02:22.57WIMPyboth
02:23.14jeffspeffdoes one override the other or do they both apply?
02:23.40WIMPyThey hopefully agree on somethign that works.
02:25.02jeffspeffwhat i'm getting at is, i have a firewall rule that allows 12 registers from a single IP within 60 seconds. what i'm finding is that over the course of about an hour or so, the public ip of the office where those phones are gets denied through the FW because of too many register attempts
02:25.33WIMPyHow many clients from that site?
02:25.47jeffspeffi don't want to increase the hitcount too much because that begins to defeat the purpose. there are 50+ currently
02:25.52WIMPyAnd registrations ony?
02:25.53*** join/#asterisk K0HAX (michael@shellhost.home.englehorn.com)
02:26.04WIMPyThat's what I said :-)
02:27.50jeffspeff?
02:27.59jeffspeffWIMPy, here's the iptables i'm currently using http://pastebin.com/xTJfBNKS
02:28.04WIMPyjeffspeff: YOu probably just didn't get the call completed. 6/s is FAR too little.
02:28.09WIMPyWhich also means that a rate limit is pretty pointless :-(
02:28.30jeffspeffi saw that earlier, that rtp issue has been resolved.
02:29.23jeffspeffthe issue i'm having now is that the phones stop responding after an hour or so. if i turn off iptables, they all come back
02:29.41*** join/#asterisk mahlon (~mahlon@martini.nu)
02:30.14WIMPyAnd I'm not so sure it's a good idea to have all those rules independantly.
02:30.52jeffspeffwhat do you mean?
02:31.28WIMPyJust because someone get's blocked by one rule doesn;t mean ha can't continue with the others.
02:33.18jeffspeffwell, if he's trying to hack me via register attempts then i cover that with the TCP and UDP registry blocks, same for invites. is there a better way to do it?
02:34.15WIMPyAnd why are you DROPping attempts form one scanner while REJECTing those from another?
02:35.38WIMPyThe best solution would be a user space firewall, but I didn't try that, yet.
02:47.47*** join/#asterisk Dovid (~dovid@ool-45738930.dyn.optonline.net)
02:49.21WIMPyUsing --seconds after a --set should always be true.
02:50.49jeffspeffit's still a work in progress. i found the example with those reject rules on voip info site and thought that due to the UA strings they applied to helped block that scanner specifically or something
02:51.35*** join/#asterisk zapata (~zapata@2a02:b18:581:10:d1bc:6d52:76a1:579e)
02:51.50WIMPyIf it is to be effective, you will block legit users as well.
02:52.02WIMPyJust takes someone making a typo.
02:52.22jeffspeffand i'm ok with that since i configure all of the phones.
02:52.28WIMPyOr redialling too fast.
02:52.42jeffspeffthat's something i'm needing to tweak too
02:54.45WIMPyAnd you can still make calls with that 6/s limit?
02:54.52jeffspeffyeah
02:55.03jeffspeffi need to up that some
02:55.11WIMPywondes what the default bucket size is.
02:55.54jeffspeffi'm thinking i should remove that rate limit rule
02:57.10jeffspeffand if i set the other rules to only apply to --state NEW then that would solve the issue of the phone re-registering and someone redialing wouldn't it?
02:57.34[TK]D-FenderUDP = stateless
02:57.47jeffspeffthanks
02:57.59WIMPyiptables = not stateless
02:58.33WIMPyAnd no you shouldn't. That would completely disable them.
02:59.16jeffspeffah, because it wouldn't be considered new anymore after the first attempt
02:59.39*** join/#asterisk Maliuta (~nothere@unaffiliated/maliuta)
02:59.50WIMPyNot after Asterisk sent out the first reply.
03:02.03*** join/#asterisk Dovid (~dovid@ool-45738930.dyn.optonline.net)
03:04.19jeffspeffWIMPy, would it work better if instead of matching just REGISTER AND INVITE if i matched what * replies to bad register and invites requests with?
03:05.23WIMPyThat's what things like fail2ban do, just on a longer journey.
03:06.28WIMPyuses AMI to get the information, but it's still not realtime, off course :-(
03:07.53jeffspeffi have alwaysauthreject set to yes so any bad registers should always reply with the same thing right?
03:08.06WIMPyAnd yes, I do get false positives regularly. So the concept is definitely flawed.
03:08.11WIMPyyes
03:08.47jeffspeffwhat about the invites? are there any other sip methods other than registers and invites that i should protect against?
03:09.33WIMPyOPTIONS can give away clues about existing extensions, IIRC.
03:12.47*** join/#asterisk cyford (~support@c-73-137-1-6.hsd1.ga.comcast.net)
03:12.55WIMPySUBSCRIBE would also be a candidate.
03:13.51jeffspeffshould i just filter the entire sip rfc? lol
03:14.04WIMPyMaybe.
03:14.45WIMPydoesn't make any differeces.
03:14.49jeffspeffon a separate note, is there a way in sip to limit number of active calls for an individual peer/user/friend? or do you have to do that counting method in the dialplan?
03:16.26WIMPyThe COUNT* functions are the preferred way now.
03:16.42WIMPyBut I think the limits still work.
03:18.08jeffspeffwhere are those configured at?
03:18.26WIMPysip.conf
03:22.47*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
03:35.43*** join/#asterisk vader- (~Adium@pool-71-175-67-97.phlapa.fios.verizon.net)
03:39.07*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
03:54.53*** join/#asterisk azerus (~badass@unaffiliated/badass)
04:33.22*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
04:50.58*** part/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
04:55.42*** join/#asterisk azerus (~badass@unaffiliated/badass)
04:58.59*** join/#asterisk vader- (~Adium@pool-71-175-67-97.phlapa.fios.verizon.net)
05:02.58*** join/#asterisk nix8n82 (~AndChat56@2601:283:8201:d495:bd7e:2bd:956b:90ed)
05:10.25*** join/#asterisk drmessano (~nonya@pdpc/supporter/active/drmessano)
05:22.35*** join/#asterisk drmessano (~nonya@pdpc/supporter/active/drmessano)
05:27.01*** join/#asterisk elitas (~elitas@213.226.135.203)
05:28.13*** join/#asterisk azerus (~badass@unaffiliated/badass)
05:47.10*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
05:54.42*** join/#asterisk juned (~juned@202.131.119.122)
06:03.10junedHi Guys
06:03.31junedI am having some problem with System command
06:04.05junedI am posting data using curl and writing its response in one text file using System command
06:06.52junedhttps://paste.debian.net/311897/
06:07.13junedhere is the output of Asterisk processing
06:07.43junedand this is my dialplan command
06:07.43junedexten => h,n,System(echo "\nResponse ----\n${RESPONSE}\n=======================================================" >> ${LOG_FILE})
06:27.38*** join/#asterisk mokmeister (~quassel@95.45.41.45)
06:29.05*** join/#asterisk azerus (~badass@unaffiliated/badass)
06:30.04WIMPyEmbedding newline does not look like a good idea.
06:31.00junedHi WIMPy:  if remove \n will it solve my issue ?
06:31.42WIMPyNot sure what your issue is, but that looks like a potential issue to me.
06:32.19junedActually Response contains lots of html tags so i think its breaking somewhere and its not writing in file
06:33.00junedis there anyway  i can pass it as string something like "${RESPONSE}" ?
06:33.30WIMPyYes. That way.
06:33.47WIMPyBut that might be taken very literally again.
06:35.29junedlet me check with that ...
06:37.15junedas we already have response in "" this won't work i guess
06:37.28junedWIMPy: what do you suggest  ?
06:37.42WIMPyQuotes end up literal as well, usually.
06:38.09WIMPyThere's no need to nest quotes.
06:39.05junedOkay but that way its not working :(
06:41.06WIMPyPassing parameter can e a PITA. What exactely do you need to do?
06:44.57*** join/#asterisk bulkorok (~Adium@89.245.151.228)
06:44.57drmessanoThat looks so fundamentally flawed.. Why don't you use system() to write to specific lines in the file and use something like PHP to interpret the page
06:45.15drmessanoRather than dumping the whole thing with a giant echo
06:47.51juneddrmessano: if there something minor i am missing here then i would like to fix it first
06:48.45WIMPyMight be a good idea to find a good solution for the problem instead of fixing one that might not make sense anyway.
06:51.00junedWIMPy:  all right, can you suggest me anything to do the same ?
06:51.18WIMPyWhat exactely do you need to do?
06:51.56junedWIMPy: once call completes i am posting some data using curl
06:52.34junedand I want to write that response in some log file to trace the problem in future
06:53.14juneddrmessano: can you give small example to achieve this using php ?
06:53.57WIMPySo you post some data using CURL and only want to log the result, but you are not using any result otherwise?
07:06.29juned<PROTECTED>
07:06.44junedWIMPy: I am setting response like this
07:07.16WIMPyEither I'd call CURL via system and redirect directly to the log from there,
07:08.14WIMPyor if you want to save some resources, you can avoid calling external stuff altogether by using AMI.
07:08.35WIMPyBut that requires a little programming.
07:08.51juned:(
07:10.04junedif i call CURL using system command then how do i write result from there itself
07:10.35WIMPySame as you do with echo.
07:12.51junedexten => h,n,Set(RESPONSE=${System(CURL request)
07:12.56junedsomething like this
07:12.57juned?
07:13.28WIMPySystem is not a function. And teher's nothing to Set.
07:13.50WIMPyDid you read about dialplan basics? Either in the book or on the wiki?
07:14.29junedYeah read while ago...
07:15.59WIMPyYou only need System, nothing else.
07:19.08*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
07:24.54*** join/#asterisk bulkorok (~Adium@89.245.151.228)
07:30.08*** join/#asterisk azerus (~badass@unaffiliated/badass)
07:32.09*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:37.05junedWIMPy:  exten => h,n,System(curl command 2>&1 logfile.txt )
07:37.05junedI can do something like this correct ?
07:37.12*** join/#asterisk angryuser (~angryuser@LCaen-656-1-198-99.w193-251.abo.wanadoo.fr)
07:37.53WIMPyI#m missing the actual redirection, but otherwise, yes.
07:38.40junedohh okay i ll try
07:38.44junedThanks ....
07:40.54*** join/#asterisk sekil (~sekil@78.24.104.73)
07:44.40*** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de)
08:10.36wyoungWIMPY!!!!!!!1
08:11.39WIMPyHere!
08:13.36wyoungI am still having issues with registering with SIP.  If I don't reload asterisk every minute or so I cannot receive incoming calls.
08:14.06WIMPyAre you behind NAT?
08:14.12wyoungYes
08:14.20wyoungCisco router handles that
08:14.30WIMPyAnd the router is extremely shitty?
08:14.37wyoungIt is Cisco so yes :)
08:14.45wyoungOverpriced too
08:14.54WIMPyCisco challenged networking...
08:15.23WIMPyI never needed it, but isn't there a keepalive option in Asterisk?
08:15.45MaliutaLap~sipnat
08:15.45infobot[~sipnat] Quick guide on configuring Asterisk + SIP behind NAT: http://www.aocomputing.net/?p=3 otherwise check the wiki at http://www.voip-info.org/wiki/view/Asterisk+SIP+NAT+solutions .  Typically, you MUST configure these settings with appropriate values in the [general] section of sip.conf: nat, directmedia, externhost or externaddr, and localnet.
08:15.47wyoungMy raspberry PI is faster at routing than this Cisco one
08:16.11WIMPyRPis are real slow at networking.
08:16.16wyoungWIMPy: yes there is a keepalive option, and I have tried it
08:16.26wyoungWIMPy: Faster than this cisco
08:16.42WIMPyDoes the Cisco have some SIP ALG enabled?
08:16.50wyoungIt can only route at 10Mbit
08:17.01wyoungI have disabled all ofthe SIP crap on the router
08:17.03WIMPy(although I'd expext it to always fail then)
08:17.08wyoungand SIP VLAN
08:17.36wyoungI can pastebin asterisk and cisco router config if you think that will help
08:17.39WIMPyGet a decent router.
08:17.59WIMPyThat's probably faster and cheaper.
08:18.07wyoungNot entirely sure it is the router that is causing the issue
08:18.21wyoungplus customer won't be happy, they spent over $700 on it
08:19.27WIMPyIf they can spend 700$ on some challenging stuff, I guess they shold have a spare 30$ for somethign that works.
08:20.01WIMPytcpdump/wireshark are your friends to prove what's going on.
08:20.09wyoungCustomer logic is they have already spent $700 on a "good" (well known brand name) router, why should they spend anything else on it?
08:20.22wyoungwhat am I looking for on tcpdump / wireshark?
08:20.59WIMPySo they don't have to spend another 700$ for your time to figure how to make it work.
08:21.08WIMPyJust if you receive anything at all.
08:21.25wyoungI cannot see the call come in at all
08:21.57wyounghmmm i might be able to dump some packets on the router too, just need to look at reference manual again
08:22.13WIMPySo unless the ISP screwes things up, there's the router left.
08:23.22wyounghmm, possible, ISP is the largest telco here (for PSTN)
08:24.04wyoungI wouldn't put it past them
08:46.31*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
08:51.13*** join/#asterisk Dovid (~dovid@ool-45738930.dyn.optonline.net)
08:54.08*** join/#asterisk sekil (~sekil@78.24.104.73)
09:18.58*** join/#asterisk o-zone (~o_zone_@generic-nat1.unisi.it)
09:21.46o-zonehi all, i've got an issue with queues using LocalAgent
09:23.24o-zonein details, LocalAgents simply relay call signal to real extensions but, when someone answer the call, no audio
09:24.12o-zonei have an OpenSIPS router that forward to Asterisk for queue needs
09:29.57*** join/#asterisk yun1989 (5f5d86fa@gateway/web/freenode/ip.95.93.134.250)
09:31.01yun1989hello all ?
09:31.35o-zonehi yun1989
09:32.58*** join/#asterisk azerus (~badass@unaffiliated/badass)
09:47.35*** join/#asterisk Dovid (~dovid@ool-45738930.dyn.optonline.net)
09:49.29*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
10:38.25*** join/#asterisk krefik (krefik@agijo.eu)
10:42.50*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
10:47.49*** join/#asterisk bulkorok (~Adium@89.245.151.228)
10:54.21*** join/#asterisk italorossi (~Adium@177.193.104.31)
11:18.18*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:22.09*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
11:34.43*** join/#asterisk azerus (~badass@unaffiliated/badass)
11:42.28*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
11:48.04*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:59.40*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
12:00.49*** join/#asterisk italorossi (~Adium@187.60.66.11)
12:11.31*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
12:25.09*** join/#asterisk vandyk (~vandyk@191.187.221.171)
12:41.15*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
12:50.04*** join/#asterisk zerohalo (~zerohalo@2601:199:4200:d92e:bdee:a3d4:5038:af99)
12:51.23*** join/#asterisk ks3 (~ks3@205.142.197.104)
12:56.38*** join/#asterisk eofster (~eofster@213.61.153.26)
13:01.07*** join/#asterisk wizhippo (~wizhippo@64.201.57.7)
13:07.06*** join/#asterisk zerohalo (~zerohalo@2601:199:4200:d92e:bdee:a3d4:5038:af99)
13:15.15*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
13:15.49*** join/#asterisk qakhan (~qakhan@50-204-254-12-static.hfc.comcastbusiness.net)
13:21.33*** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de)
13:21.36*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
13:28.24*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
13:29.44*** join/#asterisk u0m3 (~u0m3@92.80.92.123)
13:34.23*** join/#asterisk MadHatter42 (~MadHatter@unaffiliated/madhatter42)
13:36.21*** join/#asterisk azerus (~badass@unaffiliated/badass)
13:36.39*** join/#asterisk vandyk (~vandyk@191.187.221.171)
13:40.01*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:42.10*** join/#asterisk WangDang_ (~wangdang@108.161.126.113)
13:43.47*** join/#asterisk Dovid (~dovid@ool-45738930.dyn.optonline.net)
13:49.24*** part/#asterisk juned (~juned@202.131.119.122)
13:58.38*** join/#asterisk evilman_work (~evilman@87.244.6.228)
13:59.32*** join/#asterisk kharwell (kharwell@nat/digium/x-kdmxtqqzssnbcpaz)
14:05.08*** join/#asterisk kannan (~chatzilla@1.39.60.116)
14:06.51kannanhello. In asterisk certified 1.8 , is it possible to use filters for custom columns in cdr_adaptive_odbc, the examples show only src and dst ?
14:11.19*** join/#asterisk Draecos (~Draecos@203-121-194-11.e-wire.net.au)
14:12.13WIMPyShow? Where? Asteris doesn't show anything. It just writes there.
14:13.03kannanWIMPy , i meant in examples in asteriskdocs
14:13.44WIMPydoesn't understand.
14:14.56kannanfilter <CDR variable> => <content> is syntac in cdr_adaptive_odbc.conf. can this be a custom column also?
14:15.18kannansamples and examples deal with src, dst or accountcode only
14:15.59*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
14:26.55*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
14:30.17*** join/#asterisk sekil (~sekil@78.24.104.73)
14:30.57*** join/#asterisk yrosen (~yrosen@sh.drk.sc)
14:32.09*** join/#asterisk kayfox (~kayfox@orca.zerda.net)
14:34.10*** part/#asterisk igcewieling (~ewieling@ip98-170-211-145.pn.at.cox.net)
14:36.22*** join/#asterisk NEOhidra (~quassel@87-126-95-79.btc-net.bg)
14:36.54*** join/#asterisk gringo (~gringo@unaffiliated/gringo)
14:48.55*** join/#asterisk rmudgett (rmudgett@nat/digium/x-vfvuanzuwbhqbskq)
14:52.07*** part/#asterisk NEOhidra (~quassel@87-126-95-79.btc-net.bg)
15:03.50*** join/#asterisk mjordan (mjordan@nat/digium/x-kgidjxgehjkbectd)
15:03.51*** mode/#asterisk [+o mjordan] by ChanServ
15:35.47*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
16:50.43qakhani am trying to connect 2 asterisk throught sip trunk. but it is keep saying wrong password. here is my config http://pastebin.com/sQwVtKqk
16:53.09[TK]D-FenderYou shouldn't be registering BOTH ends.
16:53.33[TK]D-Fenderin fact both are on FIXED IP's locally.. you shouldn't be registering AT ALL
16:55.07qakhan[TK]D-Fender you mean register =>
16:55.09qakhanright?
16:55.20[TK]D-FenderWhat else would I be talking about?
16:55.31qakhan:)
16:55.32[TK]D-FenderRegisting is when one side DOESN'T know where the other will be
17:18.43dan_jHi. I'm trying out imap voicemail storage for the first time. It seems to really slow down the startup of asterisk when there are a large-ish number of mailboxes as it seems to check them all before continuing with the load. Is there any way to get asterisk to do all that in a background thread so that it doesnt block the startup process?
17:18.57*** join/#asterisk cstk421_ (~cstk421@c-68-46-158-24.hsd1.mi.comcast.net)
17:19.44cstk421_having issues finding support for hylafax for use with elastix.  any channel
17:19.49cstk421_any channels you would suggest ?
17:19.52[TK]D-Fender#elastix
17:20.10cstk421_[TK]D-Fender: been there no one seems to know much about the fax functionality
17:20.24[TK]D-FenderThen no channel.  Hit their forums, etc
17:20.55cstk421_[TK]D-Fender: k
17:23.55qakhan[TK]D-Fender i removed the register now when i call from phone 3288 registered on server A to phone 000308004 registered on server B, call does not go through here is sip debug from server B
17:23.56qakhanhttp://pastebin.com/qM0mewV0
17:24.36[TK]D-Fenderbecause it is using the CALLERID as the username
17:24.44[TK]D-Fenderyou hsoul be setting FROMUSER in your peers.
17:25.10[TK]D-FenderAnd allowing the rpid to cover the CID part
17:35.41*** join/#asterisk jameswf (uid27319@gateway/web/irccloud.com/x-qufqbhfgjshnpjci)
17:37.28qakhanThanks [TK]D-Fender it is working now. but why there is SIP/2.0 401 Unauthorized
17:37.37qakhanin sip debug
17:37.58[TK]D-Fenderbecause it is a CHALLENGE
17:38.12[TK]D-Fenderit clearly is not the END of the conversation
17:40.46qakhanso can we ignore it?
17:40.49[TK]D-Fenderyes
17:40.55[TK]D-FenderIt clearly isn't stopping you
17:40.55qakhanok Thanks
17:41.33*** join/#asterisk eofster (~eofster@ip5b4063a6.dynamic.kabel-deutschland.de)
17:57.31*** join/#asterisk italorossi (~Adium@187.60.66.11)
17:57.38*** join/#asterisk jjrh (~jjrh@2607:f0b0:1:6e12:cd5f:22a:7b25:240e)
18:04.32*** join/#asterisk marlinc (~marlinc@ip2.weert.li.nl.cvo-technologies.com)
18:11.43*** join/#asterisk philfry (~albertk@50-200-136-34-static.hfc.comcastbusiness.net)
18:13.30philfryI'm having a problem with polycom phones where the do not disturb doesn't do anything. I'm really not sure of the best way to troubleshoot why it isn't working. Any idea what could be causing that not to work? I recently rebuilt/upgraded the phone server and hasn't worked since doing that. I compared the old configs and i don't see any differences.
18:20.56robmalFrom what firmware did you upgrade the phones?
18:22.07philfrywell some of the phones are running the highest available. I have a few 501s that are EOL and they are on 3.1.7. The only polycom phone that works is a VVX500 phone.
18:22.12*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
18:23.42robmalThe config syntax changed a lot after 3.X so you might want to check that.
18:24.06robmalAlso, export config from one of the phones that don't work and paste it somewhere.
18:28.26*** join/#asterisk nuken (~nuken@187.112.208.221)
18:28.50babakmjordan: Hi I read in dev mailing list you mentioned about David Lee patch for adding Redis to Asterisk, is it available for test ?
18:29.02[TK]D-FenderDND is normally never disabled in any sample config
18:29.13mjordanEr
18:29.17[TK]D-FenderSo you see it on the phone as "on", and it is NOT rejecting the calls?
18:29.19mjordanWhich post?
18:29.29babakmjordan: http://lists.digium.com/pipermail/asterisk-dev/2015-March/073344.html
18:29.47mjordan"David Lee has a patch up (that I *still*
18:29.47mjordanneed to write tests for, I'm way behind) that adds support for
18:29.47mjordanRabbitMQ."
18:29.55mjordansilly line breaks, sorry about that.
18:29.59mjordanRabbitMQ, not Redis.
18:30.12mjordan6 months later; still behind.
18:30.30mjordanBut those patches do exist, and they should be easy to apply. Note that what David wrote was for CEL/CDRs.
18:31.22babakmjordan:  I also found this: https://github.com/tic-ull/func_redis
18:32.02mjordanYou're more than free to try it; since it wasn't contributed upstream, I have no idea what it will do
18:32.23philfryso yeah i can set DND by using the feature code
18:32.34philfryI got it to kinda work with a soft key
18:33.03robmalOh, that.
18:33.26robmalOne of my favourite issues with polycoms.
18:33.28robmalhttp://community.polycom.com/t5/VoIP/Server-based-DND-using-FAC-NOTIFY/m-p/8042#M1080
18:34.38philfryoh yuck
18:36.21babakmjordan:  thx  will try ,it seems he asked for Code Review request: http://lists.digium.com/pipermail/asterisk-dev/2015-July/075029.html
18:37.28*** part/#asterisk nuken (~nuken@187.112.208.221)
18:37.50*** part/#asterisk SunGod (~SunGod@92.55.116.125)
18:38.19*** join/#asterisk igcewieling (~ewieling@ip98-170-211-145.pn.at.cox.net)
18:38.22mjordanAlas, that's not really how code reviews work in the Asterisk project, which is probably why he didn't get much feedback.
18:39.32mjordanGenerally, although everyone who participates in the project can decide what they'd like to do, most of us don't review code in other's repos.
18:39.33mjordanhttps://wiki.asterisk.org/wiki/display/AST/Code+Review
18:42.17babakmjordan: I will email this conversation for him, he may send a new code review request
18:42.33philfryis there a certain brand of phone that you guys recommend. I've mostly just used polycom and digium phones so far. We actually have issues with digium with the do not disturb as well but different issues.
18:44.54igcewielingphilfry: For our customers we use ony Polycom, except when we need cordless, then we go with VTech (I think).
18:45.20igcewielingphilfry: your DND issue is lack of sync between phone DND state and PBX DND state?
18:53.38*** join/#asterisk MadHatter42 (~MadHatter@unaffiliated/madhatter42)
18:58.03philfrywell from my understanding at some point asterisk changed from using sip to feature codes for DND? I could be wrong in my understanding. I think the polycom software is still trying to send them over sip. The only polycom phone working currently is a newer one.
19:00.46igcewielingphilfry: In my experience it is not possible to sync CF or DND status between the phone and the server.
19:01.41ks3You can use macros in your polycom config to set local DND and also send a feature code to server, iirc
19:02.22robmal^ The 'uglier' way
19:02.28igcewielingThe closest solution we came up with was to remap the polycom DND and CF buttons to *XX codes and make and use the idle screen and a php script on a web server to display the CF and DND state.   Horribly convoluted and we decided to live with the annoyance rather than try to push a rube goldberg-ish solution.
19:02.35philfryyeah i was sending the feature code using the soft key but the one thing i couldn't figure out is how to do it so when someone calls it goes to voicemail instead of them getting a busy signal
19:02.49igcewielingks3: that doesn't make the phone show "DND" on the display.
19:03.07ks3It does if you toggle local DND status as part of the config
19:04.11igcewielingks3: interesting, though still does not reflect the actual asterisk DND state, just a best guess.
19:04.13ks3Did it at my last job, don't have access to configs anymore but 99% sure we had it working both.  Unless, of course, the feature code didn't make it to server.  Or phone rebooted into a different state than what the server had.
19:04.28ks3Yep, definitely wasn't perfect.  But "mostly" worked.
19:04.49[TK]D-FenderExcept there is no such thing as "Asterisk DND state"
19:06.21igcewielingMy three biggest complaints about Polycom are 1) no CF / DND sync, 2) limited subset of xhtml on non-VVX phones, embarassingly crude displays on low end non-VVX phones.
19:08.13robmalWhat do you need on those non-VVX phones that hurts you the most? I've made a n-way conference setup with macros and some php to skip the built-in limit of 3/4 participants and so far the feedback is 'awesome'.
19:09.45igcewielingrobmal: *I* don't need more, but our customers get terribly confused between *67 (DND) SVC and the DND button on the phone.   Oh, fixed in the most recent release: once the phone loads the master directory once it never checks it again for updates..
19:10.17igcewielingthe fact you cannot edit the contact directory xml and expect the phone to pick up the changes.
19:11.00robmalAd.1 http://community.polycom.com/t5/VoIP/FAQ-Using-Enhanced-Feature-Keys-EFK-macros-to-change-key/td-p/5705 Yes you can ;-)
19:11.34robmalAd.2 I've made an ugly hack that emulates admin login to the phone's web panel and pushes the xml in their format :-) It works just fine.
19:14.02igcewielingrobmal: Remapping hardkeys is not tough
19:14.38igcewielingOur solution so far has been to deal with "we took off DND but the calls are still going to voicemail!!!!!" on a case-by case basis.
19:16.02igcewielingrobmal: define "pushes the xml in their format"?
19:16.07robmalWell, that's the solution we're using right now, but i think its ugly and plan on writing some asterisk module once i figure out how this monstrosity works.
19:16.18robmalOne sec.
19:19.05robmalhttp://pastebin.com/iXujhgjE
19:19.56igcewielingrobmal: indeed.  How do you get the phone to keep the local copy in sync with what the server has?
19:20.44igcewielingI think that Admin interface might be only available in firmware 4.x and later.
19:21.16robmalThe phones send updates to the value set in CONTACTS_DIRECTORY="/Dir/" so each phone sends /Dir/$macaddr.xml, i just push it into our db and it all stays consistent.
19:21.25robmalThis works on FV 4.0.8 now
19:21.29igcewielingWe have hundreds of phones which are too old to support 4.x  :-(
19:21.49robmalI'd love to help but i don't have any ;-)
19:22.06robmalAlso, the old admin panel was the worst shit imaginable.
19:22.40igcewieling*nod*  I stopped doing any work on them long before 4.x came out.
19:23.53robmalI'll ask tomorrow if anyone has some pre 4.x phones laying around.
19:27.02igcewielingMy best guess is 10% - 20% (100 - 200) of our phones cannot upgrade past 3.x.     I won't have much time to revisit the issue for a while, but I am curious what could be done on the old phones.
19:30.29robmalI'll check our 'don't-look-in-here' closet tomorrow, but afair there are only some old linksys spa942 there. If you're really interested i'll talk to my boss, i'm sure it's possible but we'll neet to do that boring NDA crap etc.
19:33.28robmalAlso: https://i.imgur.com/4N2T6eq.jpg In case you copied the pastebin.
19:34.53igcewielingrobmal: don't spent any effort, I ask only out of curiousity.
19:36.57robmalNo, i'd love to make this available for pre 4.X phones but i'm pretty sure i don't have access to any so i need to obtain one and have some reason for my boss to buy just one piece ;-)
19:37.28robmalThe latter part is much harder than figuring out how to push the config to the phone.
19:43.26robmalOk, 2 more brain cells engaged in this topic.
19:43.35robmaligcewieling: What firmware are you using?
19:44.10philfryyeah i didn't realize this problem was so convoluted. We have many 3.x phones that won't get 4.x.
19:44.29robmalphilfry: 3.1.7, right?
19:45.29robmalDamn, the 2 braincells were wrong, polycom software matrix won't allow me to downgrade my 335 or 650.
19:46.00philfryyeah that is what i have on the 501. I can check the firmware that I have on the 335, and 430 phones.
19:46.20robmalhttp://downloads.polycom.com/voice/voip/sip_sw_releases_matrix.html
19:47.22robmalLooks like i can't do anything with 3.X with my current hardware, i'll check Narnia tomorrow.
19:48.59igcewielingrobmal: most phones are running something close to the latest available for the phone.
19:49.10igcewielingrobmal: look at the polycom downgrader download
19:49.49igcewielingoh, wait.  are these SOUNDPOINT or VVX phones, robmal?
19:50.19robmalI've got it running on both, the one i pasted is for soundpont.
19:50.42*** join/#asterisk reveal (reveal@2401:7000:0:7::e376:fc6)
19:50.57igcewielingI'm pretty sure the soundpoints can be downgraded to 3.x, but the VVXs require firmware 4.x or later.
19:51.10philfryI noticed the SIP 450 does something completely different. You can try to enable DND from within features but it actually doesn't do anything.
19:51.39igcewielingphilfry: on polycoms DND's default action is to send back a busy when the call arrive to the phone.
19:52.16robmalYes.
19:52.17philfryoh okay
19:55.17robmaligcewieling: "The Matrix" (tm) says i can downgrade my 650 to even 3.0.4 but not 3.1.4, 3.1.6, 3.1.7. Please check your firmware and msg me, afair 3.X it's possible but a bit more complicated.
19:58.16igcewielingKey, Microsoft just called me to let me know I have a virus! 8-|
19:59.42philfryso would you recommend upgrading to 4.x or will that not fix anything? I do have some phones that support 4.x.
20:01.00robmalphilfry: You'll notice a huge difference in the web panel.
20:01.12robmalAlso: your provisioned config will stop working ;-)
20:02.14*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
20:05.55dan_jWhy would asterisk say  "No voicemail provider registered" repeatedly?
20:05.59dan_jI'm using IMAP
20:09.28*** join/#asterisk mac_ified (~mac_ified@67-9-150-210.res.bhn.net)
20:21.04*** join/#asterisk bipolar (~bipolar@offsite.guru)
20:23.29*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-nummmwiygrsveauc)
20:54.52*** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club)
20:56.04philfryokay stupid question...it appears there is an upgrader to upgrade polycom phones to 4.x. Is that correct? Do you need an account on connect.polycom.com to get it?
20:56.13*** join/#asterisk igcewieling1 (~ewieling@ip98-170-211-145.pn.at.cox.net)
20:57.50*** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club)
21:05.38*** join/#asterisk vader- (~Adium@50.232.174.194)
21:06.19vader-any of you guys have experience with the Polycom Soundstation IP 7000 phone? Does it always take forever to boot?
21:06.23*** join/#asterisk doome_ (~doome@77-234-67-131.pool.digikabel.hu)
21:06.54WIMPyAll IP phones take forever to boot.
21:07.52vader-this phone literally takes 5 minutes to boot
21:08.09vader-or longer
21:08.11WIMPyOk, sounds like a new record.
21:08.40WIMPyIs it really booting ot does it have a timeout reaching some configured server?
21:09.55igcewieling1vader-: I'll let you know when I finally get one working 8-|
21:12.20vader-it's booting and configuring
21:12.43vader-igcwieling Polycom's configuration files and compatibility matrixes are one of the most confusing
21:13.07*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
21:13.52philfryi know a lot of people despise digium phones but for the most part it has made my life easier.
21:14.16vader-i mainly run cisco 7940 phones
21:14.23WIMPySo far they were the slowest to boot.
21:17.31*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
21:24.33*** join/#asterisk cyford (~support@c-73-137-1-6.hsd1.ga.comcast.net)
21:27.13*** join/#asterisk wizhippo (~wizhippo@CPEc8d719031328-CM0c473de604b0.cpe.net.cable.rogers.com)
21:35.41*** join/#asterisk BBone_ (~Thunderbi@s75-157-233-55.bc.hsia.telus.net)
21:41.52*** join/#asterisk marlinc (~marlinc@ip2.weert.li.nl.cvo-technologies.com)
21:48.22*** join/#asterisk sgriepentrog (sgriepentr@nat/digium/x-ojmidkrgqnvtrkfg)
21:49.53*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
21:53.59*** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica)
22:08.03*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
22:22.28*** join/#asterisk karelk (~karel@31.10.129.139)
22:42.24*** part/#asterisk kharwell (kharwell@nat/digium/x-kdmxtqqzssnbcpaz)
22:47.21*** join/#asterisk doome_ (~doome@77-234-67-131.pool.digikabel.hu)
22:52.54*** join/#asterisk protem (~protem@unaffiliated/protem)
23:04.24vader-so i can't figure out why after rebooting this polycom phone, when you make a call you can't hear the person on the other end… they can hear you but you can't hear them
23:04.35vader-it's usually the first 1-3 calls have this problem
23:04.45vader-then after that I can make 30 calls and not have any issues
23:05.19WIMPy"Well, it works most of the time"
23:06.13*** join/#asterisk doome_ (~doome@77-234-67-131.pool.digikabel.hu)
23:06.18vader-ya that isn't good enough for our president who has been "embarrassed" by this phone during board of trustee meetings
23:06.28vader-so i have been tasked to correct the issue
23:08.54*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
23:11.21vader-here is the sip debug http://pastebin.com/UNFk1MpP
23:11.54vader-not sure if anyone can maybe see the issue
23:12.17vader-i just tried updating the firmware on the phone to see if it helped but no dice
23:12.56vader-im at 4.0.9 on the polycom firmware
23:13.41*** join/#asterisk Dovid (~dovid@ool-2f124364.dyn.optonline.net)
23:14.32*** join/#asterisk karelk (~karel@31.10.145.202)
23:19.12*** join/#asterisk talntid (~talntid@173-160-189-58-Washington.hfc.comcastbusiness.net)
23:19.39talntiddoes anyone know where to find actual working psql schema for asterisk 13? for things like realtime sip, voicemail
23:20.08talntidi thought it was included somewhere with the asterisk source
23:20.38WIMPyShould be somewhere in contrib
23:21.36rmudgettSee https://wiki.asterisk.org/wiki/display/AST/Managing+Realtime+Databases+with+Alembic
23:21.55*** join/#asterisk roswell (roswell@home.roswellsite.ru)
23:23.33talntidjust found that, rmudgett, thanks!! :)
23:54.08*** join/#asterisk AndyCap (~aoy@pdpc/supporter/sustaining/AndyCap)
23:58.19*** join/#asterisk jetlag (~jetlag@pool-71-168-195-144.cmdnnj.east.verizon.net)
23:59.38*** join/#asterisk fstd (~fstd@unaffiliated/fisted)

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