IRC log for #asterisk on 20131230

00:03.46ChannelZin
00:06.28*** join/#asterisk amizraa (~amizraa@gateway/tor-sasl/amizraa)
00:13.54*** join/#asterisk TimeRider (~steve@timerider.plus.com)
00:20.03*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
00:29.56*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
00:48.32*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
00:49.04*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
00:54.32*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:00.05*** join/#asterisk jasonwert (~w3rt@75-134-81-98.static.aldl.mi.charter.com)
01:04.49*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:12.03*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:12.50*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:15.27*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:23.36*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:26.54*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
01:27.29*** join/#asterisk lpmusic (~lpmusic@reddy.denetron.net)
01:31.31*** join/#asterisk eyesec (~eyesec@ppp118-209-172-253.lns20.mel6.internode.on.net)
01:31.50eyesecHas anyone used the Chinese FXO/FXS cards from ebay in their Asterisk boxes??
01:32.37*** join/#asterisk threesome (~threesome@ip-94-113-13-143.net.upcbroadband.cz)
01:33.47[TK]D-Fender"the chinese" precludes there being a multitude of actual manufacturers as though it was a singular state-run plant
01:34.44ChannelZThe clones from china send all your calls to the chineese government
01:37.53eyesecohh right though to APT1? haha
01:38.15*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:38.30eyesecCan you recommend a good manufacturer? Sorry I'm a real Asterisk noob
01:39.19eyesecSorry they seem to look the same as if they're coming from one factory
01:39.51[TK]D-FenderWhat are your actual needs?
01:39.54MaliutaLapshudders
01:39.59ChannelZThey probably are
01:40.06*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:40.13MaliutaLapI shelled for a Digium TDM400 when I started with *
01:40.23eyesec4 FXO ports
01:40.32eyesecfor 4 POTS lines
01:40.42eyesecExpensive?
01:40.46MaliutaLap1 FXS, 1 FXO. It's now got two of both and I only need 1 FXS :)
01:40.57MaliutaLapish, but at the time I had the money
01:41.23MaliutaLapI was still surprised to see second hand module going for like $100 on ebay
01:41.38MaliutaLapmakes the card look like $600 or something
01:41.48eyesecThere are just so many copies it's hard to know which is which
01:41.54[TK]D-Fenderhttp://www.telephonydepot.com/Catalog/Sangoma/B600D-Analog-Voice-Card
01:41.56eyesecebay.com/itm/tdm400p-asterisk-card-fxo-card-tdm400-for-voip-ip-pbx-/150517307956
01:42.27[TK]D-FenderOr http://www.telephonydepot.com/Catalog/Digium-TDM410P
01:42.28eyesecI'm basically just worried about getting it working and then the echo issues
01:42.38MaliutaLapif you found a card that took the digium modules I could do you a decent deal on the two fxo units
01:42.51ChannelZI have a TDM800, 7 years old, software EC... not had a problem
01:43.05[TK]D-Fendereyesec: Correct.  Get one of the el-cheapo's and you're playing Russian Roulette for service on a Chinese knock-off.  Oh the irony
01:43.13MaliutaLaplike $60 inc postage ($10 will get you express post anywhere in .au)
01:46.34eyesecThanks for your help
01:47.00[TK]D-Fendereyesec: Aussie?
01:47.09eyesecYerp!
01:47.38[TK]D-Fendereyesec: Then if you care last I heard your telco's were nasty as far as what they'll allow you to use on their lines (certifications-wise)
01:47.57[TK]D-FenderTelstra IIRC was one of the worst
01:48.02eyesecIt's actually not for here
01:48.24eyesecI'm setting it up in Asia.. where nobody gives a F**K
01:48.39*** join/#asterisk Qwell (~north@pdpc/sponsor/digium/Qwell)
01:48.40*** mode/#asterisk [+o Qwell] by ChanServ
01:48.41*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
01:49.05eyesecthat's interesting about telstra though!
01:49.55*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
01:50.02[TK]D-FenderThis is somewhat dated second-hand info so I would go verify exactly what the state of affairs is.  I know AU CID & CDS is tricky....
01:50.08[TK]D-Fender~cds
01:50.08infobot[~cds] Call Discconect Supervision is a service placed on analog lines to be able to signal you that that the calling party has hung up.  This is typically done either by a momentary battery cut, or by a polarity reversal on the line.
01:50.38eyesecohh okay
01:52.26*** join/#asterisk jasonwert (~w3rt@71.89.137.28)
02:02.22*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:04.14*** join/#asterisk smirker (~x@CPE-60-228-93-204.lns8.woo.bigpond.net.au)
02:04.17*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:05.27*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:06.28*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:09.02*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:09.52*** join/#asterisk LiuYan (~LiuYan@211.154.128.133)
02:13.35*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:19.55*** join/#asterisk bkruse (~Adium@24.42.229.8)
02:24.56*** join/#asterisk Dpunkt (~Dpunkt@p57A4F649.dip0.t-ipconnect.de)
02:25.09*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:27.35*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:29.11*** join/#asterisk Wiretap (~wiretap@unaffiliated/wiretap)
02:29.37*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
02:32.49*** join/#asterisk hayden_ru (~hayden_ru@95.31.40.59)
02:33.23*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:41.14*** join/#asterisk lpmusic (~lpmusic@reddy.denetron.net)
02:42.19*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:46.25*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:52.48*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:56.54*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
02:59.59*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
03:00.35drmessanoweee
03:00.51*** part/#asterisk lkthomas (~lkthomas@n218250150072.netvigator.com)
03:01.42*** part/#asterisk jgowdy (~bt@cpe-76-176-91-127.san.res.rr.com)
03:04.38*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
03:13.37*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
03:20.45*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
03:22.11*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.175)
03:22.24*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
03:26.11*** join/#asterisk Wiretap (~wiretap@unaffiliated/wiretap)
03:35.12*** join/#asterisk jasonwert (~w3rt@75-134-81-98.static.aldl.mi.charter.com)
03:49.33*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
03:53.21*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.125)
03:53.32*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
03:56.55*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
03:58.03*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
04:00.46*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
04:02.09*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
04:17.06*** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2)
04:26.26*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
04:33.10*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
04:39.40*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
04:43.32*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
05:20.30*** join/#asterisk lvlinux (~n1gg@adsl-98-86-118-43.tys.bellsouth.net)
05:28.12*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.125)
06:04.37*** join/#asterisk lpmusic (~lpmusic@reddy.denetron.net)
06:15.52*** join/#asterisk timahvo1 (~rogue@197.237.174.93)
06:21.05*** join/#asterisk timahvo1 (~rogue@197.237.174.93)
06:22.04*** join/#asterisk vlad_starkov (~vlad_star@109.188.124.125)
06:36.00*** join/#asterisk gazprom (~gazprom@gateway/tor-sasl/gazprom)
06:54.05*** join/#asterisk hayden_ru (~hayden_ru@80.250.214.230)
07:00.46*** join/#asterisk hayden_ru (~hayden_ru@80.250.214.230)
07:12.24*** join/#asterisk bjornts (~BTS@it010226.klientdrift.uib.no)
07:12.49*** join/#asterisk hayden_ru (~hayden_ru@80.250.214.230)
07:13.57*** join/#asterisk gerhard7 (~gerhard7@77-172-47-159.ip.telfort.nl)
07:18.34*** join/#asterisk prasha (~prashant@123.236.189.20)
07:37.49*** join/#asterisk yoavz (yoavz@yoavz.net)
07:43.44*** join/#asterisk jhlavacek (~jirka@78.208.220.3)
07:44.45*** join/#asterisk vlad_starkov (~vlad_star@109.188.125.165)
07:45.17*** join/#asterisk hayden_ru (~hayden_ru@80.250.214.230)
07:46.39*** join/#asterisk mirela666 (~mirko.bra@iecommailer.itaf.eu)
07:57.17*** join/#asterisk hardwire (~hardwire@cl-101.anc-01.us.sixxs.net)
08:01.41WIMPyIt smells like someonw weed in te channel.
08:02.38ChannelZThat might have been me. I was cold.
08:06.34mirela666is stonned
08:59.08*** join/#asterisk Faustov (user@gentoo/user/faustov)
09:25.49*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
10:00.57*** join/#asterisk Vutral (~ss@mirbsd/special/Vutral)
10:04.33*** join/#asterisk afournier (~admin@mx1.wisp-e.com)
10:06.00*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
10:18.18*** join/#asterisk gerhard7 (~gerhard7@77-172-47-159.ip.telfort.nl)
10:20.54*** join/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
10:20.57*** part/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190)
10:26.37*** join/#asterisk hayden_ru (~hayden_ru@80.250.214.230)
10:27.06*** join/#asterisk whizzi (~whizzi@82-171-3-8.ip.telfort.nl)
10:35.38whizziI have an odd situation with Asterisk 11.6.1 and incoming SIP. It seems to me Asterisk is random choosing a context where to deliver when having multiple logins on the same endpoint
10:39.15whizzihttp://pastebin.com/Qu0LSJae is a part of my sip.conf
10:41.06whizziIn 80% of the cases, a called number (which should end in cust2 for example) ends in the first context, and being send to the context incoming (where it will actually will end in this customer)
10:41.48whizziin the other 20%, an incoming phone call for cust1 ends in the context of cust2
10:41.53*** part/#asterisk LiuYan (~LiuYan@211.154.128.133)
10:42.33whizzijust immediately it goes to cust2-inkomend while it should be ending in cust1-inkomend (preferred) or even incoming (where it will be switched anyway)
10:42.45whizzidoes anyone have an explanation for this?
10:43.24whizzithe current solution is not really the best, sending all [customers] to context=incoming
10:43.40whizziwhich allows customers to steal each others nr
10:47.09*** join/#asterisk kaldemar (~kaldemar@unaffiliated/kaldemar)
11:07.05*** join/#asterisk davlefouAMD (~david@197.15.37.45)
11:16.11*** join/#asterisk lpmusic (~lpmusic@reddy.denetron.net)
11:32.21*** join/#asterisk calum_ (~calum_@cpc4-harg5-2-0-cust371.7-1.cable.virginm.net)
11:42.23*** join/#asterisk lpmusic (~lpmusic@reddy.denetron.net)
11:43.21*** join/#asterisk LiuYan (~LiuYan@222.125.137.85)
12:02.46*** join/#asterisk Runedhand (~Shadowhan@78.188.50.22)
12:02.51RunedhandHello people.
12:03.01eyesechello!
12:03.13RunedhandWow that was fast. I'm not used to an instant response!
12:03.27ChainsawWe have efficient greeters.
12:03.32ChainsawThey're expensive, but it's worth it.
12:03.35RunedhandHahahaha
12:03.38RunedhandIndeed.
12:03.40eyesecHaha I just happened to be looking through the previous chat
12:03.58eyesecwe sure are!
12:04.07RunedhandI have a question.
12:04.27ChainsawRunedhand: Please proceed.
12:05.12RunedhandI'm using Asterisk 1.8, I'm connecting to AMI and I can't remember (or find any reference to) the event that's fired when a caller leaves the queue after hanging up.
12:06.50RunedhandI guess it started with "Queue" and I just can't find anything.
12:06.51RunedhandOh wow.
12:07.12*** join/#asterisk gringo (~gringo@unaffiliated/gringo)
12:07.27eyesecSorry, I'm a newbie
12:07.35*** join/#asterisk mirela666 (~mirko.bra@iecommailer.itaf.eu)
12:07.41RunedhandNo worries, so am I.
12:07.50ChainsawRunedhand: Does "manager show events" have it?
12:08.03RunedhandHang on, let me see.
12:09.06Runedhand>OriginateResponse     ParkedCallGiveUp      ParkedCallTimeOut
12:09.54RunedhandCould be ParketCallGiveUp?
12:10.08*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
12:10.18RunedhandNo, it can't. No reference to queues.
12:13.08*** join/#asterisk timahvo1 (~rogue@197.237.174.93)
12:18.05*** join/#asterisk RypPn (~RypPn@rosscom.co.uk)
12:21.11whizziRunedhand: I may be wrong here, but my guess is that it just ends in a exten => h,1,
12:22.19whizzithat's how I see it here in my configuration. It sends to Queue and the next line is in my case going to a Macro(hangup-call)
12:26.32RunedhandWell, I'm not sure. I just need the event's name so I can simply hook it up to a handler.
12:26.33Runedhand:/
12:30.33*** join/#asterisk eduardonunesp (~eduardonu@187.103.104.42)
12:30.47eduardonunesphi everybody
12:31.25RunedhandHello there.
12:31.42eduardonunespsomeone have experienced a consumption of 10gb with asterisk ?
12:31.58RunedhandDefinitely not me.
12:32.07eduardonunespi think that is too much
12:32.17eduardonunespseems like a leak
12:32.27whizziunless you record all your phone calls ;)
12:32.44eduardonunespi'm talking about ram memory
12:33.05RunedhandSounds like a waterfall than a leak, imho.
12:33.17whizzithat's a flood even
12:33.22whizzi10GB is extremely much
12:33.25whizzimemory
12:34.08whizziI use 240MB memory here
12:34.12eduardonunespyeah i fear that
12:34.27whizzi962 sip peers [Monitored: 778 online, 183 offline Unmonitored: 1 online, 0 offline]
12:34.55RunedhandWow, that's a lot of numbers there, whizzi.
12:35.08tuxx-sounds like a tsunami!
12:35.09whizzithat includes queues, recording of conversations, CDR processing etc etc
12:35.14eduardonunespwow
12:35.35eduardonunespi'm using asterisk 1.4.44
12:36.48whizzieduardonunesp: you should consider upgrading to Asterisk 1.8 or asterisk 11
12:37.23eduardonunespwhizzi, yeah i now that, but that is a operation very complicated
12:37.39whizzieduardonunesp: I'm aware of it, I've did it a few times ;)
12:37.49eduardonunespi'm just inherits that server from another guy
12:37.52whizziso you know, Asterisk 1.8 -> 11 is fairly easy
12:38.17RunedhandWait, hang on. I'm not on 1.8
12:38.23RunedhandI'm on 11 or something.
12:38.34whizzi1.4->1.8 is really a tough one, especially if you use deprecated commands
12:38.39Runedhand11.3.0
12:39.09eduardonunespwhizzi, yeah it's really tough
12:39.11whizziI'm running this high-usage system on 11.6.1 at the moment
12:39.29whizziprobably update it to 11.7 soon
12:39.58RunedhandSo, is there a place I can see the whole list of events?
12:40.20whizziif only somebody could explain why my incoming calls seems to end up on random contexts
12:40.51whizziRunedhand: http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-11.7.0-summary.html
12:41.11whizzior even http://downloads.asterisk.org/pub/telephony/asterisk/releases/
12:41.33eduardonunespwell thanks i will consider upgrade that server soon
12:41.41RunedhandYeah, but these are changelogs. <_< I need AMI Events.
12:41.56eduardonunespbut i will check all deprecates first
12:42.00RunedhandYou know, ones like "QueueMemberAdded".
12:42.20whizziah, sorry.. my bad
12:42.40Runedhandvoip-info.org doesn't really help.
12:42.55eduardonunespthere is a huge list in voip-info
12:42.56whizzihttp://www.voip-info.org/wiki/view/asterisk+manager+events ?
12:43.11*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.162)
12:43.23RunedhandYeah, that doesn't have what I'm looking for.
12:43.28coreyf1513Runedhand: https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+AMI+Events
12:43.52eduardonunespyou did ! is that
12:43.54RunedhandQueueCallerAbandon. Thanks a bunch coreyf1513.
12:44.10whizziI wonder who's in charge of voip-info since it seems to have stopped updating since 1.8.x
12:44.25Runedhandwhizzi, I've got no idea, but it's a shitty site anyway.
12:44.29RunedhandBad layout.
12:44.38whizziit's just very old
12:44.46whizziit used to be a good informative site
12:44.59whizzibut nowadays it's better to look on wiki.asterisk.org anyway
12:45.03RunedhandIt's stuck between the awesomeness of '90s and the modernness of '10s.
12:45.17whizzi:D something like that
12:45.19RunedhandNo flame gifs, but no jquery either.
12:45.33whizziat least I can still visit it with my 1995 browser
12:45.51RunedhandI visit it once every month.
12:47.22whizzikinda odd of voip-info that they have a massive banner of 3CX promoting a Easy to Install&Manager Software PBX for windows
12:48.29eduardonunespit's a tsunami of banners
12:51.25*** join/#asterisk Draecos (~Draecos@58-7-60-116.dyn.iinet.net.au)
12:58.13*** join/#asterisk lpmusic (~lpmusic@reddy.denetron.net)
12:59.36*** join/#asterisk blee (~blee@50-88-4-82.res.bhn.net)
13:03.15*** join/#asterisk hayden_ru (~hayden_ru@80.250.214.230)
13:06.07*** join/#asterisk generalhan (~generalha@about/windows/staff/generalhan)
13:10.09*** join/#asterisk Neoti (~Thunderbi@cpc5-nott16-2-0-cust33.12-2.cable.virginm.net)
13:12.48Chainsawwhizzi: It's probably working very well for them. "...none of these examples work, stupid Asteris... ah, 3CX you say?"
13:14.12whizzilol, probably :P
13:16.30*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
13:22.03*** join/#asterisk Weezey (~ohno@i.am.weezey.com)
13:36.16*** join/#asterisk vk4akp (~vk4akp@c114-77-243-39.ipswc3.qld.optusnet.com.au)
13:36.53vk4akpGreetings Oh Great Asterisk Guru's!
13:37.59*** join/#asterisk spengler1 (~spengler@pool-74-106-240-211.bltmmd.fios.verizon.net)
13:38.03vk4akpI have a question that begs your attention.
13:38.58spengler1i have 4 pots lines ; is there any logic that will allow asterisk check line availability and dial out on the first available line?
13:40.18vk4akpI used to use VoXaLoT a few years ago. But now it is gone. :( Is there a way to still get an inbound VoIP connection to Asterisk without VoXaLoT? And also still support Sipbroker codes?
13:42.46WIMPyspengler1: Put them in to a grou and dial out the group.
13:46.08eduardonunesphi
13:46.25eduardonunespi'm just look at htop and we have many agi calls
13:46.42Chainsawspengler1: And if those lines are analog, make sure they are set up for disconnect supervision.
13:47.14spengler1yes they are analog
13:47.16eduardonunespwhizzi,
13:47.30eduardonunespRunedhand, whizzi , ping
13:47.38whizziwhut?
13:47.42spengler1when you say disconnect supervision do you mean busy count?
13:47.59eduardonunespi'm just look at htop and we have many agi calls
13:48.21WIMPyspengler1: No. a way for yor interface to detect that a call has ended.
13:48.37eduardonunespeach consumes an average of 220M
13:48.42WIMPyLike e.g. polarity reversal.
13:49.00Runedhandeduardonunesp, I won't be much of help, I just use AMI to gather info for the front end. :/
13:49.01eduardonunespwhizzi, so i have counted at least 40 agis calls
13:49.08spengler1WIMPy ; i did configure it for busydisconnect=yes
13:49.33whizzieduardonunesp: what kind of agi-calls are they? agi-mysql? agi-php?
13:49.34WIMPyspengler1: That's said to be dangerous.
13:49.43eduardonunespRunedhand, thanks, we are using AGI with PHP to make many things
13:49.49eduardonunespwhizzi, agi-php
13:50.08RunedhandMaybe you should check your php scripts, then.
13:50.18spengler1WIMPy ; yes i was reading that.  i coupled it with busycount=3 to avoid premature disconnects
13:50.31whizzieduardonunesp: What Runedhand said
13:50.41*** join/#asterisk mjordan (~matt@75.76.55.191)
13:50.41*** mode/#asterisk [+o mjordan] by ChanServ
13:50.53whizziprobably your PHP is waiting for input or just hangs somehow
13:50.55RunedhandMaybe you forgot to call $asterisk->disconnect();
13:51.07WIMPyspengler1: Check with your telco what they can offer.
13:51.09eduardonunesp$asterisk->disconnect ?
13:51.12eduardonunespfor each agi call
13:51.17spengler1WIMPy ; i installed the system today ; everything seems to be working great so far ; since telephony is so important to this company i chose POTs for the reliability
13:51.20whizziRunedhand: It should not use that much memory then ;)
13:51.30RunedhandOnce you're done, you should disconnect.
13:51.55whizzieduardonunesp: also check your php.ini for timeouts and things ;)
13:52.03whizzimemory limit
13:52.03Runedhandwhizzi, if he forgot, and that opened a thousand agi-php stuff, it's possible.
13:52.52whizziagree, if we're talking thousands, then sure ;)
13:53.32eduardonunespwhizzi, default_socket_timeout = 60
13:53.40eduardonunespwhizzi,  in php.ini
13:54.42whizziand memory-limit ?
13:54.48eduardonunespwhizzi, someone put a huge limit
13:54.53eduardonunespwhizzi, of 1024
13:56.19spengler1WIMPy ; so my outbound context would look like this exten => _9.,1,Dial(DAHDI/g0/${EXTEN:1}
13:57.23whizzieduardonunesp: I'd just check the agi scripts, it's hanging somewhere there
13:57.58*** join/#asterisk protocoldoug (~doug@unaffiliated/protocoldoug)
13:58.16eduardonunespwhizzi, yours too ?
13:58.18*** join/#asterisk thecardsmith (~doug@unaffiliated/protocoldoug)
13:58.50whizziwell, memory limit could be much less
13:59.02whizzi1024M is kinda much for simple text scripts
13:59.11whizzi64MB is usually enough
13:59.13*** join/#asterisk thecardsmith (~doug@unaffiliated/protocoldoug)
13:59.38eduardonunespwhizzi, sure, but i'm informed that exists some reports in system that consumes too much
13:59.46*** join/#asterisk creativx (~creadurex@226.62-97-205.bkkb.no)
14:00.37*** join/#asterisk geeksteve (~geeksteve@emh-nat.poundbury.com)
14:02.12*** part/#asterisk mjordan (~matt@75.76.55.191)
14:03.21*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
14:04.47whizzieduardonunesp: it's not good agi-scripts use that amount of memory. So something in that code is wrong in some way, could be the closing-issue (asterisk->disconnect(); ) or something else (loops? DB queries taking too long)
14:04.51*** join/#asterisk smirker (~x@CPE-60-228-93-204.lns8.woo.bigpond.net.au)
14:05.32eduardonunesp$asterisk->disconnect is a call from php-agi, right ?
14:05.32WIMPyspengler1: Possible, if you want to cut off the first digit.
14:05.44*** join/#asterisk amessina (~amessina@2001:470:c1dc:7779:d6be:d9ff:fe8d:7c1e)
14:06.16Runedhandeduardonunesp, yes
14:06.36RunedhandWhatever the name of the php-agi instance is.
14:06.46Runedhandcan be $ast, $foo whatever.
14:06.49eduardonunespRunedhand, the system using a library from phpagi project
14:07.08eduardonunesphttp://phpagi.sourceforge.net/
14:07.15RunedhandWe use the same.
14:07.25eduardonunespso i'm looking for disconnect
14:07.35eduardonunespand haven't found
14:07.49Runedhand$astman = new AGI_AsteriskManager();
14:08.00RunedhandThis is my variable for asterisk stuff.
14:09.55eduardonunesphere we have a mix of phpagi and zend
14:10.18*** join/#asterisk sekil (~sekil@78.24.104.73)
14:10.21RunedhandBrb.
14:10.41eduardonunespso i've searched in sources looking for disconnect statement, and nothing
14:11.04eduardonunespi think the problem must be much database calls in AGIs
14:13.08eduardonunespneed to take a break for lunch, come back in a bit, thanks
14:13.28whizzior fix it both ;)
14:13.35whizzi$astman->disconnect(); should be doing the trick then at the end of the AGI-script
14:15.38*** join/#asterisk JonathanD (~JonathanD@freenode/staff/jonathand)
14:23.06*** join/#asterisk brad_mssw (~brad@shop.monetra.com)
14:23.19*** join/#asterisk jasonwert (~w3rt@75-134-81-98.static.aldl.mi.charter.com)
14:26.20*** join/#asterisk davlefouAMD (~david@197.15.87.125)
14:28.08RunedhandI don't know how your php-agi works then.
14:28.19RunedhandWithout connection and disconnection functions, it seems a bit weird.
14:28.49WIMPywonders if you guys are talking about the same thing at all.
14:31.40*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
14:32.25Runedhandeduardonunesp:
14:32.39Runedhand$astman->connect();
14:32.39Runedhand$astman->database_put("QPENALTY/".$kuyrukno, "dynmemberonly", "no");
14:32.39Runedhand$astman->disconnect();
14:42.41*** join/#asterisk _Corey_ (~chatzilla@50-200-184-54-static.hfc.comcastbusiness.net)
14:44.59*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.162)
14:50.16*** join/#asterisk amessina (~amessina@2001:470:c1dc:7779:d6be:d9ff:fe8d:7c1e)
14:50.16*** join/#asterisk protocoldoug (~doug@unaffiliated/protocoldoug)
14:50.16*** join/#asterisk vk4akp (~vk4akp@c114-77-243-39.ipswc3.qld.optusnet.com.au)
14:50.16*** join/#asterisk hardwire (~hardwire@cl-101.anc-01.us.sixxs.net)
14:50.16*** join/#asterisk Wiretap (~wiretap@unaffiliated/wiretap)
14:50.32*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
14:56.01*** join/#asterisk felipealmeida (~user@179.210.237.70)
14:56.41*** join/#asterisk lpmusic (~lpmusic@reddy.denetron.net)
14:58.43*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
15:01.54*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.162)
15:03.09*** join/#asterisk Qwell (~north@pdpc/sponsor/digium/Qwell)
15:03.09*** mode/#asterisk [+o Qwell] by ChanServ
15:06.16*** join/#asterisk afournier (~admin@mx1.wisp-e.com)
15:07.38*** join/#asterisk scouture (~scouture@c-24-128-197-17.hsd1.ma.comcast.net)
15:11.11*** join/#asterisk TimeRider (~steve@timerider.plus.com)
15:15.28*** join/#asterisk seraphie (~erin@24.96.64.240)
15:15.55*** join/#asterisk zerick (~eocrospom@190.187.21.53)
15:16.48*** join/#asterisk mjordan (~matt@nat/digium/x-qvzhypauysvveyym)
15:16.48*** mode/#asterisk [+o mjordan] by ChanServ
15:22.31*** join/#asterisk BinaryMaster (~IceChat9@rrcs-97-76-15-66.se.biz.rr.com)
15:22.58BinaryMasterQuestion is there a way to watch traffice to and from a specific peer only?
15:23.14eduardonunespRunedhand, but this is for the AMI client, ins't ?
15:23.35Runedhandeduardonunesp, that's for AGI.
15:23.42RunedhandPHPAGI, to be specific.
15:23.43*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
15:23.53eduardonunespRunedhand, right, let me see
15:24.47*** join/#asterisk gerhard7 (~gerhard7@77-172-47-159.ip.telfort.nl)
15:27.37eduardonunespRunedhand, i don't see any disconnect line in sources for PHPAGI
15:27.58RunedhandTry calling it from a php file.
15:27.59eduardonunespRunedhand, only a function with name disconnect, which closes a socket
15:28.12RunedhandYeah, that's the one.ç
15:28.27RunedhandYou should disconnect your webserver from asterisk once you're done
15:29.35eduardonunespRunedhand, there is no web server connections made to asterisk, they are made from dial plan when call a AGI function
15:29.54RunedhandWell... I can't help with that then. :/
15:30.28eduardonunespRunedhand, like exten => s,1,AGI(script.php)
15:31.17eduardonunespRunedhand,  no problem, i appreciate your effort
15:31.49RunedhandSorry. :(
15:32.04eduardonunespRunedhand, so is possible that problem is too much db calls in scripts
15:33.13RunedhandCould be.
15:35.07BinaryMasterQuestion: Any ideas what to look for if a remote "NAT" peer can connect to the Asterisk server can call another peer on the system but there is no audio
15:35.50*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
15:37.38eduardonunespBinaryMaster, int's a problem with Reinvites ?
15:39.01BinaryMasterI'm not sure I have way too much out put in the console to isolate the two peers
15:39.26geekstevedo a tcpdump of the sip traffic, make sure the SDP looks sensible
15:40.17BinaryMasterokay
15:42.08BinaryMasterapparently they can initiate a call to me but I am unable to initiate to them
15:42.56*** join/#asterisk phr0zen (~phr0zen@blk-7-133-0.eastlink.ca)
15:43.43PenguinNo audio is almost always misconfigured nat settings in asterisk, SIP ALG on a router, or nat settings being enabled on the phone.
15:43.55BinaryMastereverything was working earlier today, but our Internet provider changed our ip addresses since then we have had the problems
15:44.15PenguinFix your externaddr value in asterisk.
15:45.52BinaryMasterI don't see where that setting is
15:45.59Penguinsip.conf
15:46.10PenguinIt's part of configuring asterisk for use with nat.
15:47.45BinaryMasterwould that have been auto configured if I was using freepbx
15:47.53Penguin~freepbx
15:47.53infobot[~freepbx] FreePBX is unable to be supported here. It is made up of complex dialplans and scripts which can't be easily supported by people who aren't deeply involved. Try joining #freepbx and asking there
15:48.02PenguinNo clue.
15:48.36BinaryMasterawesome, I hate that I'm the one in charge of this stupid phone system
15:48.46phr0zenfor free pbx, install the module 'asterisk sip settings'
15:49.17phr0zenfrom there you can configure all of your NAT settings including internal and external networks
15:49.22geeksteveprobably in sip_nat.conf, but depends on who did it and where really
15:49.31geekstevecould be in sip*_custom.conf
15:49.43Penguinbinarymaster: I think phr0zen and geeksteve are willing to help you in #FreePBX
15:50.00BinaryMasterThank you
15:50.00whizzigrep *your old ip address* /etc/asterisk/*
15:50.05geekstevealso works
15:50.22geeksteve:)
15:50.34whizzichange that, reload sip in asterisk and you're good to go
15:50.45geeksteve+1, that's the most likely cause
15:51.19Penguinwhizzi: If it is configured by FreePBX, that may not be what he should do.
15:51.39whizziagree, but it's the quick solution
15:51.59whizziand only if his ISP only changed IP-address
15:51.59geeksteveand if the option wasn't obvious in a gui, then it's probably been done by hand
15:52.44phr0zenthe freepbx option is found in the module "asterisk sip settings" which then adds the external ip to "sip_general_additional.conf"
15:52.51BinaryMastersweet found it
15:52.57BinaryMasterthank you guys!!!!
15:53.13geeksteveno prob. just make sure it's not in a file with 'do not edit' type comments in it
15:53.17geeksteveor it may be nuked by the gui
15:53.34geekstevethey're usually obviously labelled if that's the case
15:53.41PenguinWe don't have those types of files in asterisk, so you're discussing it in the wrong channel.
15:54.06geeksteveIt's an asterisk based system, and it's not like it's so busy we're disrupting other conversations ;)
15:54.25whizzihe left already
15:54.37geekstevenot suprising, probably running for cover
15:54.41phr0zenlol
15:54.50phr0zeni do need some help over in freepbx :)
15:55.11WIMPyI have an Indali which is based on Asterisk. Do O get support for that here too?
15:55.28WIMPyI
15:55.50whizziI guess if the question is really in Asterisk, I don't see why not
15:56.07*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
15:56.10geekstevenever heard of it, but i'm sure we'll give it a go
15:56.28whizzispeaking of Asterisk, I still have a very strange issue
15:57.16whizzihttp://pastebin.com/Qu0LSJae
15:57.18WIMPyNo, the only thing Asterisk related thing is that I have NFI what Version it is.
15:57.46whizzimy incoming phone calls seem to go to random contexts
15:58.18PenguinThen the call is not matching the peer entry.
15:58.37geekstevemmmkay.. could it be that sip.prov.nl (for example) resolves to multiple addresses?
15:58.45WIMPyIt's matching the host which is identical.
15:58.52Penguinwhizzi: You have multiple entries with the same host.
15:58.54geekstevecould try defining by IP. never found asterisk to be great where dns is concerned
15:59.05geeksteveguessing that's where he's sanitised it
15:59.08whizzisip.prov.nl point to 2 addresses
15:59.09geeksteveinsanely :P
15:59.12geekstevehmm
15:59.15Penguinwhizzi: You can't do that.
15:59.20geekstevetry static config of those IP addresses as different peers
15:59.25geeksteve[peer1]
15:59.27geekstevehost=123.123.123.123
15:59.31geeksteve[peer2]
15:59.35geekstevehost=234.234.234.234
15:59.36PenguinYou have THREE peers with the same host.
15:59.37geeksteveand the rest the same
15:59.38PenguinThree.
15:59.46PenguinNot one or two, but three.
16:00.02whizziit's a Kameleo server
16:00.07whizzisip.prov.nl
16:00.10PenguinYou can't do that.
16:00.33PenguinThat system isn't using a username, I'm sure.
16:00.39geeksteveasterisk will resolve the dns entry once at reload, so it'll work for one IP
16:00.47geeksteveyou need to define each IP as a peer
16:00.51geeksteveand hope they dont change them ;)
16:01.07Penguingeeksteve: He has THREE peers with the same host and the host resolves to TWO different addresses.  It's not going to work.
16:01.13geekstevei see that
16:01.17geeksteveand that's why i'm telling him how to configure it
16:01.34PenguinIf they only have two addresses, you can't configure three peers that way.
16:02.00whizzishall I scare you even more then
16:02.08geekstevei never said to make three. i said he needs as many peers as they have IP addresses
16:02.31geekstevewhizzi: scare me
16:02.41whizzi287 entries
16:02.55geeksteveO_o
16:02.57geeksteveuh
16:03.03whizzi[st-x2-custID]
16:03.22whizzicontext=custID-inkomend
16:03.27whizzitype=friend
16:03.29geeksteveif it's only a single carrier you have, have a peer that matches everything, then restrict with iptables instead? would have to do some fun dialplan to sort that out though...
16:03.30geekstevenot the best idea
16:03.32whizzihost=sip.prov.nl
16:03.47geeksteveis the host= really the same for them all? what's the intention there?
16:03.50Penguintype=friend is supposed to try to match by username first, ip/port second.  Be very sure your proxy is passing the username correctly.
16:04.05*** join/#asterisk BCS-Satori (~BCS-Sator@2001:470:e169:860:6e3b:e5ff:fe38:da53)
16:04.11geekstevei'm confused why you have 287 peers for a single carrier
16:04.18geekstevewhat's that for exactly?
16:04.21whizzimulti-tennant system
16:04.31geeksteveyou doing a peer per number or something?
16:04.40geeksteveor is every tennant being the same ip?!
16:04.44Penguin287 customers, probably
16:04.50geeksteveindeed, but with the same host?
16:04.53Penguinone single proxy
16:04.55whizzicorrect
16:04.58geeksteveeek
16:05.07geekstevegoing to need something better than IP to match on then
16:05.16whizziI haven't made this, I'm only the one who's going to improve it
16:05.16Penguin(1003.50) <Penguin> type=friend is supposed to try to match by username first, ip/port second.  Be very sure your proxy  is passing the username correctly.
16:05.20geekstevei'd do a single peer for the proxy, then identify on something else (CLI if you control that?)
16:05.53geekstevedepends what elements the end user controls, if they can edit username/cli then you're boned lol
16:06.00PenguinIdentify by command line interface?  Weird.
16:06.07whizzioutgoing works perfectly
16:06.10geeksteveCLI - calling line identification
16:06.15Penguin~cli
16:06.15infobotcli is probably a Command Line Interface, the best form of interface around, of course  Call-Level Interface, originally developed by SQL Access Group, but now known as Microsoft's ODBC standard. an x86 assembly instruction  Common Language Infrastructure (See mono or .net)
16:06.22geekstevei believe americans add a D to the end as well
16:06.32whizziok, here's the whole situation
16:06.32geeksteveless common in the uk where i happen to be
16:07.09whizzi1 SIP provider (using Kameleo and failover etc etc)
16:07.12geeksteveok
16:07.18BCS-SatoriDoes the http server in asterisk work in 11.7.0?  I am trying to work on phoneprov but in my http.conf file I have enabled=yes with the bindaddr and port but when I do a http show status after asterisk restart it says the server is disabled.
16:07.21PenguinDid you ensure that your proxy is passing the user name correctly?
16:07.26whizzisip.prov.nl has 2 IPv4-addresses
16:07.30whizziPenguin: Yes :)
16:07.45PenguinThen there shouldn't be any more problem.  type=friend matches by username.
16:08.03whizzievery customer has his own whole context-party of they're own
16:08.28geeksteveexcept using dns for something with two IP addresses, might stuff things up
16:08.28whizziand they can add or remove peers and users
16:08.33geeksteveok
16:08.35PenguinI'm not very familiar with Kamailio, so I wouldn't know what to have you check for those settings.
16:08.50whizziI can't login to that machine.. I wish I could
16:09.10whizziwhat I do see, is Asterisk responding in a strange way
16:09.13geekstevewell a good first step is to do a sip trace, and make sure *you* can tell the calls apart
16:09.20geeksteveif you can, then asterisk will  be able to eventually
16:09.28geeksteveif you cant - then you need more identifying info :S
16:09.30PenguinSince you've identified the calls going to multiple, seemingly random, contexts, that says to me that you are matching on host and not user name.
16:09.55whizzioutgoing works, customers use their own peer and that's perfectly seperated
16:10.08PenguinThen we don't need to talk about that part of it.
16:10.13whizziexactly
16:10.22whizzimy problem is with the incoming part
16:10.30PenguinYou've mentioned it several times already, though.
16:10.38*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
16:10.54*** part/#asterisk LiuYan (~LiuYan@222.125.137.85)
16:10.58whizziLet's say, I have customer 1 who has phonenumer 12345
16:11.01PenguinDo you have more than one peer entry by the same name?
16:11.03geekstevemake sure sip show peers shows the right IP - i.e. the right one of the two. i'm uncertain what a peer with right username but wrong IP would do
16:11.08whizziPenguin: No
16:11.24whizzigeeksteve: yes, that's all fine :)
16:11.29geekstevehmm ok
16:11.50whizziSo, I call nr 12345 and expect to go to context=cust1-inkomend right ?
16:12.03whizzisince cust1 also has that phone number
16:12.10geekstevedoes it mis-direct to the same context each time, or is it acutally random?
16:12.23whizziit's actually random
16:12.50whizziIf I call 12345 I have approx an 80% chance I'll end in context=incoming
16:13.25whizziwhich is good, I'll throw the number to the context=cust1-inkomend anyway and that works
16:14.00whizzibut, when the machine is busy (I'm talking about > 30 open channels), there's a chance my nr actually gets into ... context=cust2-inkomend
16:14.07WIMPyAnd the way to do it.
16:14.26WIMPyIf you have multiple numbers on one ITSP, you need extensions, not contexts.
16:14.49geekstevehe has, seperate peers each hits a context
16:15.17whizziand per customer (cust1 in this example), there's an extension 12345 =>
16:16.02WIMPyWe,, you could do one peer per ip and number. But apart from being a lot of peers I see no benefits.
16:16.38whizzithe only working solution now is that I throw everything into context=incoming
16:16.43whizziwhere it will be seperated
16:16.52PenguinIf asterisk cannot match on the user name, it will match on the host.  The host is always the same.  It is clearly matching on the host and it matches a random peer entry each time.  Go fix your kamailio server to send the username.
16:16.58geeksteveis there a downside of doing it in one context?
16:17.08geekstevepick out on some other attribute, and then push to contexts?
16:17.23whizziit allows customers to steal each others nrs geeksteve
16:17.41whizziif cust2 has 98765 as nr
16:17.58WIMPyHow so?
16:18.00whizziand cust1 randomly chooses to put 98765 as incoming extension
16:18.17whizzicust1 will receive it's phonecall
16:18.34WIMPyWhy can they set up ranom incomming numbers?
16:18.47whizzibecause they all end in the same extension
16:18.50whizziincoming
16:19.16whizzithe extension incoming includes all customers/*/extensions.conf
16:19.33*** join/#asterisk newtonr (~newtonr@nat/digium/x-sduuzpygiizrzyex)
16:19.34*** mode/#asterisk [+o newtonr] by ChanServ
16:19.54geekstevedont define customer numbers in the shared context then
16:20.06geekstevedo that in the customer one, which you goto based on a suitable attribute
16:20.20geekstevei'd really look at sip traces and make sure the users are identifyable
16:20.26WIMPyI'd go and think about what users should be able to configure.
16:21.12geeksteveindeed, some sort of sanity checking for extension creation would be wise anyway
16:21.13*** join/#asterisk thecardsmith (~doug@unaffiliated/protocoldoug)
16:21.57PenguinOr just fix the kamailio server and move on to something else.
16:22.08whizzigeeksteve: that is actually one of the things which are happening
16:22.56whizzigeeksteve: the problem is that for some reason, asterisk seems to think the incoming peer is full or so and just throws it at a random context
16:23.21eduardonunespworth using the dundi ?
16:23.22PenguinAre you not paying attention or what?
16:23.31Penguin(1016.52) <Penguin> If asterisk cannot match on the user name, it will match on the host.  The host is always the same.   It is clearly matching on the host and it matches a random peer entry each time.  Go fix your  kamailio server to send the username.
16:23.34geeksteveoh back in your box
16:23.38whizziPenguin: I'll definately look into that Kamalio-server, that could explain it a lot
16:23.39PenguinREAD and UNDERSTAND what I am telling you.
16:23.54whizziI am mate ;)
16:24.40PenguinIf the kamailio server sends the user name on each call, the problem will be solved.
16:24.58whizziaye, that's the only explanation
16:25.09eduardonunespanyone here already used DANDI ?
16:25.10WIMPyWhat problem?
16:25.15eduardonunespops DUNDi
16:25.34PenguinHe's using type=friend.  That tells asterisk to match calls on the USER NAME.
16:25.41WIMPyThe only "problem" I see are wrong expectations.
16:26.09PenguinBut if the user name is not there, asterisk will match by IP/port.  In this case, the host is the same on all the peer entries.
16:26.10WIMPyeduardonunesp: Ask real questions, not meta questions.
16:26.17PenguinSo asterisk is doing what it is supposed to be doing.
16:26.36whizziI never doubt Asterisk, I only doubt the configuration ;)
16:26.58WIMPyBeginners mistake
16:27.20whizzibut Penguin has a point, I'll do some traces and see what I actually get from those Kamilio machines
16:27.40eduardonunespWIMPy, sorry i heard about DUNDi, and i want to know if worst using asterisk with cluster configuration
16:27.51whizziit would immediately explain why Asterisk is matching on hostname (cause that's what it's doing) instead of username
16:28.37PenguinI have the same problem with an ITSP.  I want to have multiple accounts on asterisk, but the ITSP does not send username information.
16:29.00WIMPyThere are many ways to do clusters, althoug I guess you want a grid.
16:30.06whizziPenguin: ok, than I think I found the explanation I was looking for
16:30.12whizzithanks for your advice all :)
16:30.56*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
16:31.31whizzianyway, my boss is not paying me for this so I'll head off home.. I'll probably be around tomorrow again here to see if I also can help people with the knowledge I have :)
16:33.21*** join/#asterisk bulkorok (~Benjamin@gw1.pinguin.ag)
16:34.21*** part/#asterisk bulkorok (~Benjamin@gw1.pinguin.ag)
16:35.15BCS-SatoriDoes the http server in asterisk work in 11.7.0?  I am trying to work on phoneprov but in my http.conf file I have enabled=yes with the bindaddr and port but when I do a http show status after asterisk restart it says the server is disabled.
16:35.49eduardonunespWIMPy, i want to make an experiment of make more then one machine with asterisk act like one machine
16:36.01eduardonunespWIMPy, ins't a cluster conf ?
16:36.13Penguinbcs-satori: If you find that it does not work, file a bug report.
16:36.36WIMPyA cluster is a bunch of machines running one operating system.
16:37.53phr0zengonna ask here as freepbx is kinda dead, but it is an asterisk function that i am inquiring about (i can get the freepbx specific stuff later)
16:37.59phr0zenI have a questions regarding call recording after transfering.  Currently if I take and inbound queue call, the call records as it is supposed to.  I then transfer the call to another queue, but the recording does not stop, it continues to record.  What I want, is for the initial call to record, then stop when transfered, then record if the second queue is set to record.  i did some googling and am not sure if I am on the right path here, but
16:37.59phr0zenwould setting AUDIOHOOK_INHERIT from yes to no accomplish this?  (found in extensions_additional.conf)
16:38.02eduardonunespWIMPy, cluster are usually connected to each other through fast local area networks ("LAN"), with each node (computer used as a server) running its own instance of an operating system.
16:39.03Penguinphr0zen: That's what AUDIOHOOK_INHERIT does.  It makes Monitor or MixMonitor keep recording.
16:39.15WIMPyeduardonunesp: That's what used to be called grid computing.
16:39.23*** part/#asterisk whizzi (~whizzi@82-171-3-8.ip.telfort.nl)
16:39.36PenguinSet(AUDIOHOOK_INHERIT(MixMonitor)=yes), for example
16:40.02PenguinRemove the Set() or change the value to no.
16:40.27eduardonunespWIMPy, ok, my doubt is about the perform and configuration of DUNDi
16:40.29tm1000anyone using pjsip in A12?
16:40.34ChainsawIs it a semicolon for comments in sip.conf? Doesn't seem to like hashing out a register statement...
16:40.41Chainsawtm1000: Still on A11 here, sorry.
16:40.57Penguinchainsaw: Yes, semi colon for commenting in almost every asterisk config file.
16:41.04ChainsawPenguin: Very good, let's try that.
16:41.05eduardonunespWIMPy, is really perform as one super server
16:41.07filetm1000, occasionally
16:41.18tm1000file: didnt want to bother the all mighty Josh ;-)
16:41.25eduardonunespWIMPy, making a bunch of machines seems only one asterisk server
16:41.27tm1000using pjsip show endpoints
16:41.30filetm1000, pfft
16:41.37tm1000and seeing: Invalid 1
16:41.50tm1000but I dont know if that means invalid config or invalid because no endpoint is connected
16:41.51phr0zenso here is the scenario, caller1 -> queue1 -> answered by agent1 (caller1 and agent1 recording now).  agent1 -> conference call to queue2 with caller1 (warm transfering) -> caller1 and agent1 still being recorded -> agent2 answers the call, agent1 hangs up -> caller 1 and agent2 still being recording in same file
16:41.51WIMPyeduardonunesp: You probably wat to look at dynamit realtime as well.
16:42.06filetm1000, you can never have an invalid config
16:42.08Penguinphr0zen: You don't need to repeat.  I gave you the answer.
16:42.17tm1000file: http://pastebin.com/2Qga7TAf
16:42.25phr0zenwas just clarifying to make sure we are on the same page, sorry
16:42.35phr0zenwe do transfers a bit differently for this particular scenario
16:42.36filetm1000, that's the device state
16:42.48tm1000file: so since no endpoint is connected it says invalid?
16:42.49filetm1000, uno momento
16:43.02Penguinphr0zen: It does not inherit by default, so delete the Set() that is doing it.  Or change the value to no.
16:43.11phr0zenok perfect
16:43.11eduardonunespWIMPy, sorry i don't get it
16:43.11filetm1000, https://issues.asterisk.org/jira/browse/ASTERISK-23065 might be what you are hitting
16:43.33phr0zeni think freepbx does do that by default (i did not change that), which confused me a bit since i thought it was default no
16:43.33Penguinphr0zen: You can stop recording and restart it on a different call leg.
16:43.48Penguinphr0zen: I don't speak FreePBX.
16:44.07phr0zeni know, that is why i was just asking about the asterisk function and not specifically freepbx
16:44.13PenguinIn asterisk, it is not set until you set it.
16:44.15WIMPyeduardonunesp: You probably want to store the Asterisk configuration in a central database.
16:44.30phr0zenpenguin:  thanks again, i will try setting that to no and see how it goes
16:44.37eduardonunespWIMPy, yes
16:44.53filetm1000, could be extended to general device state incorrectness on initial start
16:44.57eduardonunespWIMPy, and distribute the load
16:47.14Penguinphr0zen: core show function AUDIOHOOK_INHERIT
16:48.46*** join/#asterisk Qwell (~north@pdpc/sponsor/digium/Qwell)
16:48.47*** mode/#asterisk [+o Qwell] by ChanServ
16:54.04*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
16:59.03*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.162)
16:59.07phr0zenthanks penguin
17:02.12*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
17:16.31*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
17:19.23*** part/#asterisk geeksteve (~geeksteve@emh-nat.poundbury.com)
17:32.18*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
17:32.21Penguinluckman212: Please fix your connection.
17:35.57*** join/#asterisk Qwell (~north@pdpc/sponsor/digium/Qwell)
17:35.57*** mode/#asterisk [+o Qwell] by ChanServ
17:40.04*** join/#asterisk italorossi (~italoross@187.60.66.11)
17:43.45*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
17:43.55Penguinluckman212: Please fix your connection.
17:51.20*** join/#asterisk navaismo (~navaismo@189.191.246.129)
17:59.59*** join/#asterisk Juggie (~Juggie@unaffiliated/juggie)
18:00.22*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
18:01.24*** join/#asterisk eduzimrs (~eduzimrs@mail.aytycrm.com.br)
18:02.21eduzimrshi, anyone knows how can i monitor a sip trunk with my voip provider?
18:02.47eduzimrsmaybe using sip signaling
18:03.13*** join/#asterisk cmendes0101 (~cmendes01@office.phone.com)
18:03.42tm1000file: thanks. I havent actually tried to register an enpoint yet. So when I get to that point I'll look through that ticket
18:05.09*** join/#asterisk jpoz (~jpoz@ec2-184-169-152-1.us-west-1.compute.amazonaws.com)
18:05.46*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
18:07.00newtonreduzimrs, what do you mean by monitor? what do you want to know or do with the SIP trunk?
18:08.46eduzimrs@newtonr, sry i mean i´d like to monitor with zabbix, but im trying to find out how to do it by using sip signaling, which i believe is the best and trusted way
18:11.28phr0zeneduzimrs:  look into this perhaps?  http://www.communig8.com/articles/67-technical/149-using-zabbix-to-monitor-asterisk-sip-trunks
18:11.33phr0zeni just googled what you asked lol
18:12.44newtonreduzimrs, I am not familiar with Zabbix. However I just googled as phr0zen did and found at least five or six useful looking sources of information on your question including the link phr0zen provided
18:13.43eduzimrsphr0zen, ok but, there are many providers that does not use registration and block icmp, thats why im asking its not easy that way
18:14.24eduzimrsusing SIP signaling i be sure that the response will always came
18:16.20*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
18:16.42phr0zennot sure then, might be a question for your provider
18:16.45*** join/#asterisk dumby (~dumby@204.246.140.162)
18:19.49*** join/#asterisk bitfury (~bitfury@unaffiliated/bitfury)
18:20.10_Corey_eduzimrs: We use sipsak with Nagios in the manor you describe.  I believe it uses an OPTIONS message and times the response.  You should be able to do something similar.
18:21.29eduzimrs_Corey_, ill try this out tks
18:24.05eduzimrs_Corey_, can u paste the arguments passed to sipsak ?
18:24.56_Corey_eduzimrs: Sorry, I wasn't the one who set it up and would have to research it over here.
18:29.03*** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2)
18:30.02eduzimrsok
18:37.26*** join/#asterisk ChannelZ-Wk (~bobm@spark.idolum.com)
18:45.22jeffspeffwhat's a good (preferably free) tool or suite to pen-test my asterisk box?
18:46.33ChannelZ-Wkmmmhehmm penetration mmheh hehmmheh
18:46.43jeffspefflol
18:47.05ChannelZ-WkPut your system on the public internet.  People will test it for you
18:47.20jeffspeffyeah, i know that.
18:47.31jeffspeffbut i'd rather not foot the bill if they make it in
18:47.39jeffspeffjust a personal preference
18:48.29ChannelZ-Wkyou can play with sipvicious
18:49.20jeffspeffi tried putting that on my laptop, but couldn't get it to run
18:49.37jeffspeffi forget the error. and yes, i had python installed and in the system path
18:49.50jeffspeffi just figured that sipvicious maybe wasn't a good tool
18:50.02ChannelZ-WkBut I'd say turn off allowguest if you don't need anonymous calls, make sure your peer names aren't stupid (like "100") and have good secrets if you use dynamic peers, and run fail2ban to keep an eye on things like multiple failed registrations, etc.
18:51.19*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
18:51.21jeffspeffwell, peer names aren't 100, but they are the exten numbers. and fail2ban is what i'm working on setting up. i wanted a way to test it out though
18:53.52ChannelZ-WkWell I get that extension numbers for peer names makes it easy to write lazy dialplans, but it's not necessarily the best idea.  All day long I see registration attempts using numeric names
18:54.08ChannelZ-WkIn any event I can throw some bogus registrations your way
18:54.50jeffspeffbut after your 2nd failed attempt, your ip gets blocked
18:55.24ChannelZ-WkIsn't that the point?
18:55.45ChannelZ-WkYou said you wanted to test it
18:55.48jeffspefflol, yes
19:11.52*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
19:11.52*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
19:21.42*** join/#asterisk Neoti (~Thunderbi@cpc5-nott16-2-0-cust33.12-2.cable.virginm.net)
19:21.51*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
19:24.47bsdiceI see about 10 port 5060 scans a day
19:25.00bsdicefrom all over the map
19:28.08*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
19:32.53*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
19:33.16*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
19:37.31*** join/#asterisk vk4akp (~vk4akp@c114-77-243-39.ipswc3.qld.optusnet.com.au)
19:37.50*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
19:38.21*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
19:41.24*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
19:43.54ChannelZ-Wkyeah I get a ton on the weekend.
19:45.12*** join/#asterisk jhlavacek (~jirka@87.89.218.63)
19:51.35*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
19:54.05*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
19:54.20PenguinI have a huge network blacklist, so attempts on my asterisk have been reduced.
19:55.33WIMPyI hardly see any attempts any more.
19:55.46WIMPyBut I filtered the friendly scnaner.
19:55.55bsdicePenguin blacklist using ipset blacklisting entire countries? I plan to do that
19:56.07bsdiceblock China, Russia, the Khazaks for good measure too
19:56.31bsdicewell actually 5060 is already blocked, because machine is doing stateful UDP
19:56.59bsdicewhich times out after 180 secs, qualify=50 to get 3 attempts for keepalive into that interval
19:58.29bsdicemachine logs blocked attemps anyway (and drops packet)
19:58.30PenguinI keep network and address lists with ipset.  I haven't done it by country on this firewall, but I did do that on a web server recently.
19:58.50PenguinI have whitelist and blacklist for both specific addresses and network.
19:58.50bsdiceyou block entire subnets from whois then?
19:58.53PenguinYes.
19:59.00bsdicethat's what I did with SMTP
19:59.19bsdiceCrystone SE spammers were really getting on my nerves
19:59.46bsdiceapparently this hoster does not care about spammers so they flock there
19:59.55bsdicejust blacklisted entire subnets
20:00.12PenguinI did get tired of doing whois after a while and started blocking /16 if I saw several different addresses from various third octets.
20:00.29bsdice212.19.32.176/28                554 Sorry, too much spam from you. Please contact us by phone (+49xxx) to resolve issue.
20:00.44PenguinI've got at least one /10 in the list, too.
20:01.31PenguinIt's annoying and I get tired of them.  I guess I should take the country list from the web server's firewall and apply it to the voip network's firewall.
20:01.33bsdicewhat an epidemic
20:01.44*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
20:01.58bsdicedo you have to allow 5060 udp inward for clients?
20:01.59PenguinI'd guess that would kill off a bunch more.
20:02.20bsdiceI just allow 5061 TLS TCP
20:02.44PenguinIt's not only phones on the outside, but also needing to keep it open for ISN.
20:03.01bsdice~isn
20:03.01infobotit has been said that isn is ITAD Subscriber Number (see 'itad'). An ISN is a method of dialing SIP URI's via a standard keypad on a telephone. Because of the alphanumeric nature of SIP URIs, it is difficult to dial them via the keypad on your phone. The use of ISN numbers simplifies this by utilizing DNS lookups to map the ISN number to a domain. See http://www.freenum.org for more information.
20:04.11PenguinI guess I could do away with that.
20:04.28PenguinOr, actually, just firewall off all those other countries anyway.
20:04.37PenguinThey don't need to call here via SIP URI.
20:05.05bsdicewhat country are you in
20:05.37*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
20:06.09PenguinUSA
20:06.26ChannelZ-WkPHONE RACIST!
20:06.44PenguinI don't speak Chinese anyway.
20:07.08bsdiceMandarin :)
20:07.41ChannelZ-Wkmy 'AHOLES' table has grown fairly large
20:12.43*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
20:15.57*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
20:19.47Penguin1035 networks added to the network_blacklist.
20:20.27*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
20:21.21PenguinNow it takes a really long time to load the configuration.
20:22.31*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.143)
20:23.05PenguinIf I can apply multiple lists, maybe I should break that down into several lists separated by country.
20:24.12ChainsawOr whitelist instead of blacklist.
20:25.01PenguinBlock everything and whitelist a select few?
20:25.38PenguinDamn, it's taking a REEEEEEEEEALLY long time to load up.  It still isn't done.
20:27.02WIMPyLooks like you're crossed the line where it makes mire sense to just pull the plug.
20:27.12ChainsawPenguin: That's what I do, yes.
20:27.23ChainsawPenguin: I don't do it in software though.
20:28.40ChannelZ-WkI'm only at a couple hundred, ~100 of which are 'permenant' from a DB.. the others are dynamic, from SIP drive-bys and spam
20:31.30*** join/#asterisk tzafrir (~tzafrir@bzq-218-28-58.cablep.bezeqint.net)
20:35.50PenguinI was maintaining the list on the border firewall plus whatever fail2ban was doing on the asterisk box.  I wanted to change fail2ban's behavior and make it update the border firewall, but I couldn't come up with any good way to do that.
20:38.28*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
20:39.36ChannelZ-Wkmake the ban action call something on the other machine.. a script or something, or ssh a command
20:40.33PenguinIf only it were that simple.
20:40.49PenguinI could do that, but then it would not be stored in the configuration.
20:41.13*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
20:42.00PenguinI suppose with the proper scripting it could be added to the configuration.  I would just have to edit the config file inline to add the lines.
20:44.09ChannelZ-WkPart of my firewall gets generated from a database. My AHOLES table.  A script lets me easily add an IP or block with a comment, which adds to the iptables table and shoves it in the database for future reloads
20:44.47PenguinI'm using Vyatta, and everything needs to be maintained in the config.boot file.
20:45.47PenguinI'm told to not run any of the vbash commands via ssh, so I can't just add rules like I would on the console.
20:46.30*** join/#asterisk Vutral (~ss@mirbsd/special/Vutral)
20:47.14*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
20:48.59ChannelZ-WkSucks for you!  I even look at the table packet counter prior to reloading and update a hit counter in the database so I can purge oldies.
20:49.28ChannelZ-Wkponders lunch
20:49.47PenguinIt just takes more maintenance rather than having it done automatically.
20:49.54PenguinIt could be worse.
20:59.08PenguinI also have to "sed 's/^/            network /' /tmp/block.tmp" before I feed it to that config file.
21:02.31*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
21:18.26*** join/#asterisk bipolar (~bipolar@24.229.96.76)
21:25.44*** join/#asterisk lpmusic (~lpmusic@162.213.1.4)
21:27.16*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
21:33.30*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.143)
21:39.32*** join/#asterisk Vutral (~ss@mirbsd/special/Vutral)
21:44.05*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
21:49.21*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)
22:03.21*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
22:09.32*** join/#asterisk vk4akp (~vk4akp@c114-77-243-39.ipswc3.qld.optusnet.com.au)
22:13.13*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.106)
22:16.07*** join/#asterisk fonewiz (~fonewiz@cpe-173-174-255-129.satx.res.rr.com)
22:27.50*** part/#asterisk scouture (~scouture@c-24-128-197-17.hsd1.ma.comcast.net)
22:29.09*** join/#asterisk vk4akp (~vk4akp@c114-77-243-39.ipswc3.qld.optusnet.com.au)
22:35.14*** join/#asterisk vlad_starkov (~vlad_star@109.188.127.106)
22:51.49*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
22:54.32*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
22:58.29*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
23:05.50*** join/#asterisk theron (~theron@69.63.185.56)
23:15.33*** part/#asterisk mjordan (~matt@nat/digium/x-qvzhypauysvveyym)
23:25.42*** join/#asterisk vlad_starkov (~vlad_star@91.206.59.133)
23:27.20*** join/#asterisk vlad_sta_ (~vlad_star@109.188.127.106)
23:47.53*** join/#asterisk vk4akp (~vk4akp@c114-77-243-39.ipswc3.qld.optusnet.com.au)
23:53.12*** join/#asterisk hayden_ru (~hayden_ru@0896410724.static.corbina.ru)

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