IRC log for #asterisk on 20150319

00:06.29*** join/#asterisk superscrat (~asanders@173-17-133-2.client.mchsi.com)
00:10.31*** join/#asterisk superscrat (~asanders@173-17-133-2.client.mchsi.com)
00:11.00*** join/#asterisk superscrat (~asanders@173-17-133-2.client.mchsi.com)
00:11.42*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
00:12.01*** join/#asterisk x1fa47 (d9d97d08@gateway/web/cgi-irc/kiwiirc.com/ip.217.217.125.8)
00:12.34x1fa47Hello, good night. Is this the appropriate place to make a small question about ForkCDR?
00:20.55robmalI might not know the answer but i'd like to know the question.
00:24.56*** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica)
00:33.42*** join/#asterisk JerJer (~Adium@asterisk/original-h323-guy/JerJer)
00:34.10*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
00:36.47v0ip-wolfHello, would anyone be able to help me out with a tls issue?
00:42.56*** join/#asterisk bkruse (~Adium@162.17.78.101)
00:48.07x1fa47Well, the question is... when I use ForkCDR to create a new CDR, then if I set the userfield with Set(CDR(userfield)=hello), then, the two CDR entries take the value hello for the userfield
00:48.39*** join/#asterisk UncleKiwi (~Kiwi@103.19.10.188)
00:48.52x1fa47so all the CDRs created using the ForkCDR (3, 4 or n CDR entries) get all the same value with just one Set(CDR(userfield)=hello) instruction
00:49.09x1fa47(I am using asterisk 13)
00:50.00x1fa47and what I want is to have forked CDRs with their custom userfield value, a different userfield value for every CDR, and not all the CDRs created with ForkCDR inheriting and sharing the same values
00:51.12x1fa47because for now, ForkCDR behaves in a way that it only creates exact copies of the same CDRs, having the instruction Set(CDR(userfield)=hello) an effect that affects all the CDRs, and not the one lastly forked
00:51.37UncleKiwihey guys, I have my asterisk server registered with my sip profiver from behinf a firwall using NAT ie no port forwarding in to the server. Anyway i got a pesky telesales thug that i was trying to block using the sip providers blacklisting tool and the calls keep comming in - they are saying that its not getting in via them
00:52.38UncleKiwibut i cant see how it would be gettin in - espechally seeing they were going throgh them until i black listed the number - then it just dissapeared from their call logs but the phonewas still ringing
00:52.58UncleKiwithey insist the calls are not comming in via them
00:53.14UncleKiwihow do i prove it where it came from
00:53.16UncleKiwiplease
00:53.28x1fa47can you use the CDR for that?
00:53.39UncleKiwiyeah i have cdr logs
00:53.43UncleKiwienabled
00:54.03UncleKiwibut i dont have detail regarding provider etc
00:54.08UncleKiwijust scr and set numbers
00:54.11UncleKiwidate and time
00:54.37x1fa47but you also have the channels, so you can see which provider was coming the call from by looking at the entry channel
00:54.55UncleKiwicrap i mayhev disabled that
00:55.06x1fa47are you using odbc?
00:55.16UncleKiwinah just files
00:55.18x1fa47I use adaptive odbc with mysql
00:55.37x1fa47the two fields that you need are "channel" and "dstchannel"
00:56.04UncleKiwido you think they could have come in direct
00:56.07UncleKiwi?
00:56.14x1fa47channel will codify a string that you can check to identify the provider that is comming with that call you want to block
00:56.33x1fa47what do you mean by "direct"?
00:56.58UncleKiwithe caller sends a call directly to my public ip address
00:57.27x1fa47you never allow unregistered access to your asterisk, so it should be a registered phone or provider
00:58.08UncleKiwiyeah
00:58.18x1fa47your provider or your users must be registered, and you must reject any other case
00:58.28*** join/#asterisk TheKlap (~TheKlap@24.178.28.178)
00:58.33UncleKiwiyeah i believe i have that configured
00:58.45x1fa47do you use SIP?
00:59.08x1fa47in sip.conf, it's something like allowguest=no
00:59.24UncleKiwiyeah i know - ill dounble check
00:59.39UncleKiwibut you would think i would have to have portfrowarding enabled
01:00.08*** join/#asterisk joako (~joako@opensuse/member/joak0)
01:00.51*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
01:01.07x1fa47you need port forwarding so that incoming calls that go to your router, will know where to send that
01:01.41x1fa47I think portforwarding is for the call, but you have a different problem here
01:01.59x1fa47your calls are working, the problem is that there are some "unblocked calls entering your system"
01:02.10x1fa47try adding those fields to your CDR
01:02.28x1fa47they will tell you which channel is the originator of the undesired calls
01:02.36UncleKiwii have found a cdr with thoes quality bits of info
01:02.38UncleKiwi:)
01:02.41UncleKiwiim checking it now
01:03.25x1fa47the format of that field is something like <technology>/<identifier>-<some random number>
01:04.00x1fa47this is from my cdr database -> "SIP/<a local telephone number here>-00000002"
01:04.06*** join/#asterisk bkruse (~Adium@162.17.78.101)
01:16.31*** join/#asterisk bkruse (~Adium@162.17.78.101)
01:21.46UncleKiwiwhere is the /var/log/asterisk/cdr-csv/Master.csv configured at
01:21.50UncleKiwiplease
01:22.17UncleKiwimaybe that is the raw data
01:22.20UncleKiwifor cdr
01:22.23UncleKiwi?
01:24.22robmalCDR night...
01:25.55robmalUncleKiwi: module show like csv
01:26.42UncleKiwithanks
01:28.50UncleKiwiany idea why the times in my cdr files seem to be out of wack
01:28.51*** join/#asterisk deranged (Bit@lolnerd.net)
01:28.57robmaldahdi
01:29.05robmalntp
01:29.20robmalold batteries
01:29.21UncleKiwione is perfect but the other is not
01:29.28UncleKiwisame box
01:29.39UncleKiwilittle bit odd
01:29.44UncleKiwishow the same calls
01:29.55UncleKiwijust the time is wrong
01:30.28robmalShow me.
01:31.21UncleKiwiactually its exacly 1 hr out
01:32.24robmalNon soviet countries have a thing called daylight saving time.
01:32.34robmalIt's on right now.
01:32.35UncleKiwihaha
01:32.37UncleKiwi:)
01:33.01robmalWait a few days, it should be ok by the end of the month.
01:33.03UncleKiwiprobably is that
01:33.39UncleKiwiim just trying to confirm a call was recieved from my voip provider
01:33.47UncleKiwiand it seems it has been
01:34.17robmalMeh, i skipped a part of the backlog, but can you confirm on which channel you recieved the call?
01:35.19UncleKiwiyeah i can see it followed by a number ( not a phone number )
01:35.52UncleKiwiSIP/channel-345345342
01:35.57UncleKiwilike that
01:36.29UncleKiwiis this enough to confirm that the call came in that channel
01:36.46robmalIt's enough to confirm that it came from a sip peer.
01:36.58robmalThe rest is in the cdrs.
01:38.01UncleKiwii can see this info by looking at this file /var/log/asterisk/cdr-csv/Master.csv
01:38.42UncleKiwiand the line that the number is on is the one that contains the sip channel stuff mentioned
01:39.46robmalWe had a situation a few days ago when the support/warranty help number for a major electronics seller was directed to our pbx. No configuration on our side changed, just pickup all, just the destination numbers were odd. Maybe check there?
01:45.22*** join/#asterisk bbryant (~dskjc@c-76-26-195-105.hsd1.sc.comcast.net)
01:45.25bbryant~itsp
01:45.26infobot[~itsp] An ITSP is an Internet Telephony Service Provider (or VoIP telephone company). They allow you to either SEND calls to the PSTN (this is called termination), RECEIVE calls from the PSTN (called origination), or both. Some offer fixed rates, others $/min. Enter ~itsplist-us (USA) or ~itsplist-ca (Canada) for a listing of popular ITSPs.
01:45.38bbryant~itsplist-us
01:45.38infobotHere are some popular ITSPs (USA) starting with the more respected ones: http://www.broadvoice.com, http://www.jnctn.com, http://www.sipstation.com, http://vitelity.net, http://voip.ms and http://flowroute.com
01:46.00robmal~itsplist-pl
01:46.08robmalMeh, as expected.
01:46.14robmal~itsplist-de
01:46.28robmal~itsplist-ru
01:46.32robmal~itsplist-nl
01:46.50robmalDamn, we have ITSP on the east side of the globe as well!
01:50.38*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
01:54.52*** join/#asterisk bkruse (~Adium@162.17.78.101)
01:55.17UncleKiwirobmal what part of the east are you from
01:55.32robmal.pl
01:56.17robmalIt's as eastern as NY is western.
02:00.22UncleKiwiso whats the best way to make money with asterisk
02:02.02bbryantUncleKiwi, run a call center maybe?
02:02.11UncleKiwihaha
02:02.15bbryantI don't know
02:02.18bbryantI've never thought about it
02:02.35robmalFind people who pay shitloads of cash for outgoing calls. Show them VoIP. Convince them to use it. Make their rates 100x lower. Convince them they need IP PBX. Sell them asterisk on some old dell server. Convince them they need IP phones. Polycom. Support. Repeat.
02:03.06mutilatorthat sounds exhausting
02:03.07UncleKiwii have been using it in people businesses to save them money . Yep robmal thats what I have been doing
02:03.40robmalThere are other ways, when your ITSP pays you for incoming calls...
02:03.51UncleKiwiyeah that helps
02:04.33*** join/#asterisk alexw (~textual@unaffiliated/alexw)
02:05.22UncleKiwii have been putting it into motels and hotels
02:06.38robmalSo, convince your client to pay a monthly fee up front, after a few months you'll know how much of it is not used, then talk with some itsp to pay you directly for incoming calls...
02:07.21UncleKiwiyeah i get paid by my itsp
02:07.34UncleKiwii should really make a monthly fee tho
02:07.38UncleKiwithat would help things
02:08.44*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
02:10.11robmalIt's usually win-win for the client. He gets a monthly fee with lower fees per minute as long he's below the limit... doesn't use all the minutes... so you can :-)
02:10.46UncleKiwiis this what you do for your job ?
02:11.03UncleKiwihow do you market - do you just knock on doors
02:11.53robmalI wish. My friends are doing this, i just support them to add new features to asterisk so i can eat old bread.
02:12.00robmalWith whiskey.
02:16.22*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
02:26.25Penguinrobmal: If you know of ITSPs in those regions/countries, feel free to list them.
02:27.16PenguinThe requirement is that they don't suck, though.
02:27.27robmalUhm.
02:27.37robmalYou'll check that, right?
02:27.55robmalBecause, tbh, i prefer girls.
02:29.29robmalBeside that, how can i confirm/verify that to add them to the list?
02:30.00PenguinUsually experience with such companies helps.
02:30.22robmalOk, what next?
02:44.45*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
02:45.27*** part/#asterisk bbryant (~dskjc@c-76-26-195-105.hsd1.sc.comcast.net)
02:51.14*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
02:55.24*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
03:16.25*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-snomcprycaodzqlg)
03:19.45*** join/#asterisk c0rnoTa (~c0rnoTa@109.188.125.11)
03:29.32*** join/#asterisk joako (~joako@opensuse/member/joak0)
03:30.57*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
03:37.51*** join/#asterisk Guest29519 (~saint_@c-71-59-68-185.hsd1.nj.comcast.net)
03:39.20*** join/#asterisk saint__ (~saint_@c-71-59-68-185.hsd1.nj.comcast.net)
03:49.49*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
03:58.21*** join/#asterisk alexw (~textual@unaffiliated/alexw)
04:06.46*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
04:44.34*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-245-69.hhui7.cht.bigpond.net.au)
04:47.47*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
04:48.58*** join/#asterisk bkruse (~Adium@24.42.207.11)
04:54.33*** join/#asterisk Leseratte (~florian@2001:470:70bc::1)
04:54.37*** join/#asterisk ruben23 (~OpenDIAL@112.198.77.175)
05:08.01*** join/#asterisk Demon_VoIP (~demon@109.60.135.186)
05:17.21*** join/#asterisk timahvo1 (~rogue@196.216.71.122)
05:22.32*** join/#asterisk joako (~joako@opensuse/member/joak0)
05:37.07*** join/#asterisk bkruse (~Adium@24.42.207.11)
05:54.29*** join/#asterisk alexw (~textual@unaffiliated/alexw)
06:05.47*** join/#asterisk Zer0legend (~ZerOlegen@75-121-152-79.dyn.centurytel.net)
06:22.41*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
06:47.53*** join/#asterisk tparcina (~tomo@212.92.200.41)
07:01.28*** join/#asterisk Vutral (~ss@mirbsd/special/Vutral)
07:04.36*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
07:05.32*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
07:09.13crocodilehunterGreetings Earthlings
07:09.44crocodilehunterAnyone want to talk about Cisco Voice certification?
07:09.48ruben23hi guys i have an existing dialplan for all extension i have to a voip trunk...but wanted to add 1 single extension then separate the trunk for it so i can monitor the usage of that extension only..is this possible somehow..?
07:14.12*** join/#asterisk ghostlines (~ghostline@82.201.93.50)
07:15.19eirirscrocodilehunter: cisco voice don't use asterisk. :)
07:15.31*** join/#asterisk ghostlines (~ghostline@82.201.93.50)
07:15.34eirirscrocodilehunter: I believe #cisco would be appropiate place for that
07:16.47ChannelZyes ruben23 just make an extension for it like anything else
07:17.16eirirsChannelZ: are you saying you can have two trunks to same sip provider? :P
07:17.35ChannelZhuh?
07:17.55ChannelZMaybe I misunderstand what he's asking.. but also yes, you could
07:18.38eirirsyes, and how would you then separate incoming calls? will it come in at both trunks, so you can setup patterns to match?
07:21.36*** join/#asterisk evil_gordita (robert@ip70-188-56-139.rn.hr.cox.net)
07:24.01crocodilehunterActually, I love VOIP and I my original game plan was to study Cisco to get an idea of the competition, and then cut their grass with asterisk. Unfortunately they've pulled the voice certification so I was thinking about doing the DCAP certification..
07:24.10ChannelZWell to start he made it sound like outgoing calls (but who knows until he comes back and clarifies).  For incoming, asterisk would only ever match one peer, presumably whichever it found first
07:27.14eirirscrocodilehunter: im running both cisco and asterisk, and personally I prefer asterisk, as cisco are alot less flexible
07:27.21eirirsjust some annoynaces
07:28.13ruben23ChannelZ:  sorry late reply, yes two trunk with same voip provider but different account, the dialplan is where im stock, anyone can help..please
07:28.29eirirscrocodilehunter: like, if you have extensions 90-99, and you call outbound numbers 900000000, cisco callmanager just calls 90, and I HAVE to set outbound call prefix, eg 0, and dial 09000000000 for it do call properly. I don't have the issue with Asterisk
07:28.37ChannelZYou need to explain what you mean
07:28.50ChannelZWhat "extension" are you wanting to track?  The local extension someone calling in is dialing?
07:30.43crocodilehunterI am certain that asterisk will blow cisco out of the water, one of the major advantages with asterisk is having complete access to the shell, but I was wondering about Digium certification. Will it teach me the fundamentals about gateways, signalling, etc.. or is it just from a asterisk perspective?
07:31.15eirirscrocodilehunter: I started with asterisk, and I recognized alot when I jumped on the cisco boat
07:31.24eirirs(no certifications here)
07:31.28eirirsat least in voice
07:32.24eirirscrocodilehunter: but ofcourse I had to figure out how to kick cisco call manager at the proper spot before it got working
07:34.37crocodilehuntereirirs: I can't believe how much money cisco charge for their products and licenses!! You're looking at $15,000 for <100 users...
07:35.15ruben23ChannelZ: i got extension 100-150 doing dialout and got incoming calls with no issue, they are set on the 1st account of my asterisk. user/pass registration
07:36.14*** join/#asterisk ghostlin_ (~ghostline@82.201.93.170)
07:36.18ruben23now i got 160 special created extension should be same capability inbound/dialout but i need to trace the cost of this extension particularly so i createed a new account on our voip trunk, but how do i separate the call of this dialout/inbound that it will pass to the second trunk
07:36.27ruben23or second account fo my voip i created
07:37.14eirirscrocodilehunter: that main reason im recommending asterisk for my customers
07:37.15ruben23without disturbing the existing dialplan
07:37.30eirirscrocodilehunter: or, one of the main reasons. :)
07:37.32ChannelZWell it depends what you mean by "track".  The CDR logs will tell you who called what, in either direction.
07:37.38*** join/#asterisk ghostlin_ (~ghostline@82.201.93.170)
07:38.04ChannelZWithout having to create a separate path
07:38.10eirirscrocodilehunter: if you are new, maybe you want to have a look at freepbx, its asterisk made easy with gui, maybe easier to start on
07:39.02ChannelZAssuming your "extension 160" device has a set caller ID, you can qualify extensions with /num like so:
07:39.08crocodilehuntereirirs: My One of my dreams is to offer open source solutions to customers! How are you doing with business? Much interest?
07:39.29ChannelZexten => 12345/160.1.NoOp(This is extension 160 dialing 12345)
07:39.42eirirscrocodilehunter: im like a potato, im offering anything, voip, network, servers,
07:39.50*** join/#asterisk alexw (~textual@unaffiliated/alexw)
07:40.02ChannelZFor incoming calls that dial extension 160, just add whatever logging/tracking/whatever in your existing extensions that cause whatever device 160 is to be dialed.
07:40.21ChannelZYou should already have dialplan for that
07:41.03ruben23yes create a new set of dialplan just for extension 160
07:41.14ChannelZBut honestly if you're just trying to track usage and don't need to actually do something specific with the calls, just look at the CDR log. It tells you everything you want to know.
07:42.05ruben23yes i already sugested that but they want separate account for the particular extension 160 since the rate for voip is also different
07:42.17ruben23do you hvae some sample config as guide somehow
07:42.31ChannelZWell just put that one device into a separate context that does whatever you want.
08:13.11*** join/#asterisk mirela666 (~mirko@212.200.146.242)
08:13.27*** part/#asterisk mirela666 (~mirko@212.200.146.242)
08:19.56*** join/#asterisk wicope (~wicope@237.74.134.37.dynamic.jazztel.es)
08:21.45*** join/#asterisk pchero_work (~pchero@109.70.54.56)
08:21.54*** join/#asterisk ZerOlegend (~ZerOlegen@72-160-218-223.dyn.centurytel.net)
08:27.08*** join/#asterisk alexw (~textual@unaffiliated/alexw)
08:27.11*** join/#asterisk rox (~rox@BSN-142-168-6.static.siol.net)
08:27.18roxHello
08:29.51roxI have a ZAP outside line and I have a number of office telephones also connected on ZAP. In my dialplan, when i get inbound calls from the outside line, I dial particular office telephones. For some reason, Asterisk has stopped forwarding the ALERTING message to the outside line, so callers don't get the ring tone. Does anybody have an idea, why would Asterisk not forward ALERTING message? The internal line does send the ALERTING message, there i
08:30.41*** join/#asterisk ruied (~ruied@159.159.37.188.rev.vodafone.pt)
08:30.43*** join/#asterisk sekil (~sekil@78.24.104.73)
08:38.46*** join/#asterisk ghostlines (~ghostline@82.201.93.50)
08:40.08*** join/#asterisk c0rnoTa (~c0rnoTa@109.188.125.13)
08:40.11*** part/#asterisk c0rnoTa (~c0rnoTa@109.188.125.13)
08:51.54*** join/#asterisk timahvo1 (~rogue@196.216.71.122)
08:52.05*** join/#asterisk MadHatter42 (~MadHatter@unaffiliated/madhatter42)
08:53.02*** join/#asterisk areski (~areski@80.174.128.5.dyn.user.ono.com)
09:06.30*** join/#asterisk Cust0sL1men (~CustosLim@unaffiliated/cust0slim3n)
09:12.52*** part/#asterisk rox (~rox@BSN-142-168-6.static.siol.net)
09:34.23*** join/#asterisk airjump (~Thunderbi@p20030070CE6DD118E83DD54FD7B9563D.dip0.t-ipconnect.de)
09:37.18*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
09:37.25*** join/#asterisk airjump1 (~Thunderbi@p5B0A3AB0.dip0.t-ipconnect.de)
09:50.28*** join/#asterisk pchero_work (~pchero@109.70.54.56)
10:16.28*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
10:24.21*** join/#asterisk airjump (~Thunderbi@p5B0A3AB0.dip0.t-ipconnect.de)
10:25.31*** join/#asterisk fling (~fling@fsf/member/fling)
10:28.40*** join/#asterisk DraZoro (~drazoro@105.210.145.69)
10:48.50*** join/#asterisk hehol (~hehol@2001:1438:1009:200:d0fa:fbb3:dc51:7f78)
10:49.48*** join/#asterisk airjump (~Thunderbi@p5B0A3AB0.dip0.t-ipconnect.de)
10:55.36*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
10:58.18*** join/#asterisk airjump (~Thunderbi@p5B0A3AB0.dip0.t-ipconnect.de)
11:00.31*** join/#asterisk CeBe (~CeBe@xd9bef11a.dyn.telefonica.de)
11:01.11*** join/#asterisk marus (Elite13751@gateway/shell/elitebnc/x-xaeqmcmxhefrhted)
11:06.55*** join/#asterisk DraZoro (~drazoro@105.210.145.69)
11:09.43*** join/#asterisk airjump (~Thunderbi@p20030070CE6DD118E9A8A0883E2457A8.dip0.t-ipconnect.de)
11:13.50*** join/#asterisk bipolar (~bipolar@offsite.guru)
11:15.30*** join/#asterisk Draecos (~Draecos@106-68-80-239.dyn.iinet.net.au)
11:20.27*** join/#asterisk areski (~areski@177.Red-83-47-130.dynamicIP.rima-tde.net)
11:22.15*** join/#asterisk airjump (~Thunderbi@p20030070CE6DD118E9A8A0883E2457A8.dip0.t-ipconnect.de)
11:24.06*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
11:28.07*** join/#asterisk sekil (~sekil@78.24.104.73)
11:29.45*** join/#asterisk airjump (~Thunderbi@p5B0A3AB0.dip0.t-ipconnect.de)
12:00.14*** join/#asterisk danjenkins (anonymous@nat/digium/x-cidotpfszzwkifil)
12:11.30*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
12:34.32*** join/#asterisk theron (~theron@199.201.64.130)
12:38.27*** join/#asterisk DraZoro (~drazoro@105.210.145.69)
12:39.25*** part/#asterisk DraZoro (~drazoro@105.210.145.69)
12:44.48Demon_VoIPChildren's question. How to escape text passwords in pjsip.conf? Found: https://issues.asterisk.org/jira/browse/ASTERISK-13170  Double quotes make password incorrect.
12:48.01*** join/#asterisk ipalmer (~IceChat77@host81-133-140-79.in-addr.btopenworld.com)
12:49.27ipalmerHi all, a nice easy one for someone, I'm using * 1.8 and strying to cut a variable but it doesn't return anything, can some tell me what's wrong with this exten => s,1,NoOp(${CUT(123#456,#,1)})
12:52.14Demon_VoIPfunc_cut.so loaded?
12:54.50ipalmerhow would I check that?
12:55.14ipalmerI can see it when i do a core show functions
12:57.00Demon_VoIPmodule show like func_cut
12:58.25ipalmeryeah, appears to be loaded
13:00.20*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
13:02.20*** join/#asterisk Draecos (~Draecos@106-68-80-239.dyn.iinet.net.au)
13:03.25*** part/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger)
13:03.54WIMPyipalmer: CUT takes a variable name, not a string as argument.
13:05.25*** join/#asterisk v0ip-wolf (~wilfred@cpe-74-66-14-8.nyc.res.rr.com)
13:06.30ipalmerWIMPy: thankyou, I was using a variable name but had it surrounded with ${xxxx} removed the ${} all ok cheers
13:07.33*** join/#asterisk mjordan (~mjordan@75.76.55.191)
13:07.33*** mode/#asterisk [+o mjordan] by ChanServ
13:23.23*** join/#asterisk Dovid (~Dovid@static-173-63-105-210.nwrknj.fios.verizon.net)
13:29.06*** join/#asterisk mjordan (mjordan@nat/digium/x-xgzdxtrkwkuitixi)
13:29.06*** mode/#asterisk [+o mjordan] by ChanServ
13:30.48*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:31.13*** join/#asterisk danjenkins_ (~anonymous@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
13:31.53Demon_VoIPIs there a way to escape text passwords in pjsip.conf?
13:33.18*** part/#asterisk ipalmer (~IceChat77@host81-133-140-79.in-addr.btopenworld.com)
13:43.37*** join/#asterisk bmurt (~brendan@8.39.115.8)
13:55.20*** join/#asterisk sommarnatt (~sommarnat@kungsbacka.oderland.com)
14:10.28freemanlsDemon_VoIP: database ? md5hashing in the C code?
14:10.41freemanlsor salting with sha-256 ofcourse
14:15.49*** join/#asterisk kharwell (kharwell@nat/digium/x-qejyeatpqgbvtvpe)
14:16.09Demon_VoIPfreemanls, md5 means that I know realm. I do not always know it
14:17.39Demon_VoIPi have plain text password for endpoint with outbound registration. My task to write it in pjsip.conf.
14:19.19*** join/#asterisk jiku (~jiku@113.193.187.146)
14:19.43*** join/#asterisk JerJer (~Adium@asterisk/original-h323-guy/JerJer)
14:24.46*** join/#asterisk superscrat (asanders@nat/digium/x-ybxmauiyzuzfqkwy)
14:27.33freemanlsi have looked into the pjsip.c
14:27.33freemanlssec.
14:27.53*** join/#asterisk putnopvut (putnopvut@asterisk/master-of-queues/mmichelson)
14:27.53*** mode/#asterisk [+o putnopvut] by ChanServ
14:29.29freemanlshttps://pastebin.freeswitch.org/24032
14:29.54freemanlsuser/pass: pastebin / freeswitch
14:30.08freemanlsDemon_VoIP: there you can see the snippet from pjsip c code
14:32.18*** part/#asterisk phonesimon (~Adium@c-98-235-166-204.hsd1.pa.comcast.net)
14:34.17*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
14:36.19Demon_VoIPfreemanls, Of course I read it. Because it helps to understand whether there is a possibility of escape characters in the password?
14:44.34*** join/#asterisk mjordan (mjordan@nat/digium/x-odojxtsvonouokmv)
14:44.34*** mode/#asterisk [+o mjordan] by ChanServ
14:44.36freemanlsDemon_VoIP: i believe it will accept anything once it is md5hashed
14:44.52freemanlscause basicly any string md5hashed doesnt need to be escaped
14:44.57freemanlsif that is what you mean
14:48.03Demon_VoIPfreemanls, md5 source format: "username:realm:password". In general case of endpoint with outbound registration I do not know his realm :(
14:49.10freemanlsi am not really sure what realm standsfor here
14:49.18freemanlscant help with that
14:49.41Demon_VoIPhttp://www.voip-info.org/wiki/view/Asterisk+sip+md5secret
14:50.57freemanlscould be asterisk by default
14:50.58freemanlsyep
14:51.55Demon_VoIPfreemanls, This realm is not realm of my server. I think it is realm of foreing sip server
14:52.19freemanlseven if that is so, you could always try asterisk
14:52.26Demon_VoIPWith endpoint/devices i can write md5. It is not probrlem
14:53.26Demon_VoIPfreemanls, I do not think so :) Md5 is irreversible encryption (hash).
14:53.55freemanlsyes kind of
14:54.08freemanlsbut the remote site is hashing with something
14:54.11freemanlsif they are hashing with asterisk
14:54.14freemanlswell you got it.
14:54.35freemanlsyou might be surprised if realm is somekind of configuration option that is defaulted to 'asterisk'
14:54.49freemanlson almost every asterisk configuration
14:54.50freemanlsi guess
14:55.10Demon_VoIPI almost never met such servers :)
14:55.12*** part/#asterisk mjordan (mjordan@nat/digium/x-odojxtsvonouokmv)
14:55.15*** join/#asterisk sgriepentrog (sgriepentr@nat/digium/x-qpzhkvttnfxeymfb)
14:55.16freemanlsi see
15:00.01*** join/#asterisk rmudgett (rmudgett@nat/digium/x-xxmuyfrvmbqjoebs)
15:03.43*** join/#asterisk ipengineer (~zconkle@static-71-252-134-63.dllstx.fios.verizon.net)
15:08.52*** join/#asterisk robmal (r@wporzo.pl)
15:09.30*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
15:18.38*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
15:18.41*** join/#asterisk mjordan (mjordan@nat/digium/x-rmgglbgazntdoggd)
15:18.41*** mode/#asterisk [+o mjordan] by ChanServ
15:22.15v0ip-wolfHello, can anyone help me on a tls issue, netstat -tupln does not show 5061, only 5060 not sure what I am missing.
15:22.15v0ip-wolfhttp://pastebin.com/QyNR2ZmV  (sip.conf)
15:28.00freemanlsv0ip-wolf: it sounds very strange to me to define ports in sip.conf
15:28.31v0ip-wolfI tried leaving the bindaddr = 0.0.0.0
15:28.44v0ip-wolfand asterisk still does not listen on port 5061
15:28.55PenguinGive me one minute and I'll help you with it.
15:29.06freemanlshttps://wiki.asterisk.org/wiki/display/AST/SIP+TLS+Transport
15:29.18freemanlscould it be that you have not setup a certificate ?
15:29.25freemanlstlscertfile=/etc/asterisk/asterisk.pem
15:29.46PenguinYou don't need to define the ports unless you are using NON-STANDARD port numbers.
15:30.38*** join/#asterisk wonderworld (~ww@ip-176-199-166-61.hsi06.unitymediagroup.de)
15:30.40v0ip-wolfeven when i dont define ports, netstat does not show 5061 as open, firewall is disabled
15:31.01Penguinudpbindaddr=0.0.0.0
15:31.03Penguintcpbindaddr=0.0.0.0
15:31.04Penguintlsbindaddr=0.0.0.0
15:31.49PenguinYou need to specify and provide tlscertfile and tlsprivatekey.
15:32.15PenguinI see you have the cert file, but not the private key.
15:32.45v0ip-wolfI put the key and cert into one pem file
15:32.53PenguinYou have to DEFINE it in sip.conf.
15:33.10v0ip-wolfi followed this http://remiphilippe.fr/sips-on-asterisk-sip-security-with-tls/
15:33.44PenguinClean up that stuff and reload the sip module.
15:33.48v0ip-wolfit says you can cat file.crt > asterisk.pem  then cat file.key >> asterisk.pem
15:34.00*** join/#asterisk joako (~joako@opensuse/member/joak0)
15:34.03v0ip-wolfok I will try that aslo
15:39.47v0ip-wolfupdated, softphone not able to register with tls and netstat -tupln does not show 5061 open.
15:39.47v0ip-wolfhttp://pastebin.com/Hn2J9zxR
15:40.36v0ip-wolfis there a way to check if asterisk has tls enabled? I am currently using centos6, and installed asterisk with "yum install asterisk"  (asterisk v 1.8)
15:41.03PenguinOn the asterisk CLI, run:  module unload chan_sip.so
15:41.13PenguinThen run:  module load chan_sip.so
15:41.20PenguinAnd pastebin EVERYTHING that comes out.
15:42.10*** join/#asterisk zekoZeko (~b@77.234.148.119)
15:44.39v0ip-wolfhttp://pastebin.com/UEe0CgZp
15:44.45*** join/#asterisk ghostlines (~ghostline@i191002.upc-i.chello.nl)
15:46.09PenguinWhat's that IP address on the last line?
15:46.22zekoZekohi everyone. I'm using touch monitor on * 11 to record phone calls. The problem I have is that even G.722-using calls get saved at 8kHz sample rate instead of 16. I thought touch monitor just saves the RTP traffic it passes without any re-sampling. How can I fix this?
15:47.44v0ip-wolfhhmmm , not 100%, might be gateway
15:50.11*** join/#asterisk drjfreeze (~Jim@rrcs-67-78-64-218.sw.biz.rr.com)
15:51.16drjfreezeI'm needing to track incoming calls from a PRI. I thought that the number being called would be tracked in the CDR, but it doesn't appear to be.
15:51.36drjfreezeIs there a quick way to get the original number dialed into the CDR?
15:54.09*** join/#asterisk danjenkins (~anonymous@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
15:54.25WIMPyUse th CDR function.
15:54.29WIMPy+e
15:54.57*** join/#asterisk pankid (~quassel@pan-cloud.nschoonover.com)
16:02.19*** join/#asterisk ghostlines (~ghostline@i191002.upc-i.chello.nl)
16:06.22pankidI need a gateway that will have 4 analog phones, and 3 sip phones. It will send traffic through an IAX to another asterisk server, but will have a failover route through a POTS carrier. What company should I be looking at? I asked digium, and they apparently do not have gateways that convert to POTS, only to sip.
16:11.43*** join/#asterisk danjenkins (anonymous@nat/digium/x-iuxzxuyylflctgkl)
16:19.02v0ip-wolfroot
16:19.05v0ip-wolfopsi
16:26.54*** join/#asterisk jiuweigui (~jiuweigui@unaffiliated/jiuweigui)
16:27.55*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
16:29.27*** join/#asterisk jetlag (~jetlag@pool-71-168-242-110.cmdnnj.east.verizon.net)
16:43.27*** join/#asterisk matt_ (~matt@ccpc-buzzer.bath.ac.uk)
16:51.15litnso we have a couple peers who go to voicemail that the phone is in use. I checked the peer status and everything looks fine. IP of the phone is reachable from the server. The phone can make calls out OK.
16:51.57litnbut when trying to call it it goes to voicemail. I compared settings to working extension and it's the same. I did a sip debug on it and it looks like the phone server never reached out to the phone, so it's not the phone itself
16:52.01litnanywhere else I can check?
16:52.15WIMPyA phone can be in use without you knowing.
16:55.01litnactually, I see that the ext isn't lsited in core show hints- could that be it?
16:55.05PenguinMaybe the phone is not registered.
16:55.07litnit's in sip show peers, but not in core show hints
16:57.05litnPenguin: if they are in peers, then they should be registered, right?
16:57.21litnWIMPy: but I didn't see any SIP traffic go to the phone, wouldn't that need to occur to see if it is busy?
16:57.33litnbut besides we have call waiting etc. and the phone is not in use
17:01.10WIMPyThen you need to look at the call.
17:03.23paulcIs the phone behind NAT? (and the router dropped the NAT mapping, so Asterisk can't "see" the phone when it tries to send a call that way?)
17:03.52litnit is behind a NAT but this is an internal to internal call
17:06.47*** join/#asterisk jetlag (~jetlag@pool-71-168-203-34.cmdnnj.east.verizon.net)
17:08.25*** join/#asterisk D-Boy (~D-Boy@unaffiliated/cain)
17:09.59litnWIMPy: is there any verbosity setting I can use to see if it's checking a DND-like database or something?
17:10.08*** join/#asterisk ipengineer_ (~zconkle@static-71-252-134-63.dllstx.fios.verizon.net)
17:10.25litnI verified the ext isn't in the DND db but maybe there is something similar going on
17:12.01*** join/#asterisk danjenkins_ (~anonymous@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
17:14.47litnwell I did database show, to get everything, and didn't see anything alarming about those extensions
17:15.10litnWIMPy: when you say look at the call, you mean RTP? I thought it sends SIP first?
17:16.57PenguinI'm sure he means look at the sip debug.
17:21.02litnyeah, so, I did look at sip debug, and it never reaches out to the other phone or says anything about why it would go to voicemail
17:21.41PenguinTurn up core verbose and enable sip debug.  Make a call to that phone.  Pastebin the entire output.
17:21.44litnlooking in our registry database there are a few things askew, some of the people are mismatched, and we're having some issues where calling one person is going to a different person, and I can see where its mismatched, /SIP/Registry/665                                 : 10.10.30.140:5060:3600:278:sip:665@10.10.30.140:5060
17:21.53litnthe 278 part should be 665
17:22.06litnwe just restored from a backup and we're having these issues so it could all be intertwined
17:22.58PenguinYou can delete that entry from the database and then restart asterisk.
17:23.44PenguinThe backup can store old (potentially wrong) information in the db.
17:24.42litnwould I actually need to restart asterisk? we have hundreds of people on the phone
17:24.53litncould I just delete any entries related to that person, and then restart their phone?
17:25.13PenguinThat might work.  It certainly won't hurt to try that.
17:32.41*** join/#asterisk coyo (~unf@unaffiliated/bandu)
17:35.38*** join/#asterisk jetlag (~jetlag@pool-71-168-197-68.cmdnnj.east.verizon.net)
17:36.27*** join/#asterisk bkruse (~Adium@2600:1005:b101:9352:580:8ed9:3c89:8ef8)
17:37.12*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
17:39.43*** join/#asterisk danrogl (~d.park@94.31.52.82)
17:43.28litnPenguin: definitely something funky going on with the database, it looks like deleting keys isn't working. It says removed, but when I get it again it shows the old value.
17:43.39litnare these dbs stored on the filesystem? it's sqlite right?
17:43.59*** join/#asterisk jetlag (~jetlag@pool-71-168-205-237.cmdnnj.east.verizon.net)
17:44.46PenguinThe DB is stored on the file system.  /var/lib/asterisk/astdb.sqlite3
17:53.50litnPenguin: something is definitely messed up with the database. So, doing "database show sip registry", there is no ext 512, right. If I do database get on it, it does return a value, the one that I had deleted,
17:54.09PenguinExtensions are not listed in the database.
17:54.26litnand if I look in with sqlite3 on the db file, it shows an entirely different value for that registry
17:54.44PenguinI did say to delete the value and restart asterisk.
17:55.43PenguinI know you said there are lots of calls in progress.  What is a typical call duration?
17:56.10litnI know. But that is an interesting descrepency, right? That there are different values in the sqlite3 table itself, in a DATABASE GET, and in a DATABASE SHOW
17:56.32litncall durations are around 3-10 minutes or so, it varies, this is a big office
17:56.42PenguinI don't think it's that odd.  If you had restarted asterisk and then it showed different values, I'd think that was odd.
17:57.10litnwould a sip reload not suffice at all?
17:57.29PenguinYou can't unload chan_sip if it is being used by the phones.
17:57.54PenguinThere's always the option of restarting gracefully.  It will not interrupt existing calls, but it will prevent new calls until all existing calls have stopped and then asterisk will restart.
18:00.00PenguinAnother option is restarting when convenient.  Existing calls will not be interrupted, new calls will be permitted.  If there is a moment when there are no existing calls, asterisk will restart.
18:01.24PenguinBut for a dreaded mid-day restart, I prefer graceful so it is more likely to happen sooner.
18:01.32*** join/#asterisk bkruse (~Adium@87.sub-70-193-74.myvzw.com)
18:08.32WIMPySounds evil.
18:08.46WIMPylitn: Do you have anything in the database, you want to keep?
18:09.36WIMPyTo be on the safe side, I'd stop Asterik, kill the entire DB and then restart it.
18:10.49*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-titakpnqcvptqkvh)
18:11.03PenguinThat's ideal if there's nothing important in the db.  I couldn't do that, though, because my device-extension association is in the astdb.
18:13.21litnWIMPy: I don't think so. When you say kill, if you move the file (like to .backup), asterisk will automatically recreate it?
18:13.37litnmy extensions and stuff are all in dialplan
18:13.42*** part/#asterisk v0ip-wolf (~wilfred@cpe-74-66-14-8.nyc.res.rr.com)
18:14.05WIMPyYes, it should create a blank one.
18:14.08litnthis keeps happening to more people- another person just reported noone can call them now, even though about 10 minutes ago they were working
18:14.20WIMPyJust as if you start it for the 1st time.
18:14.57litnI just wish asterisk showed me some kinda info about why it can't reach them
18:15.14litnwhether it's a db issue, phone issue, whatever, there's no information in the sip debug or normal log stuff
18:15.39WIMPyThat should mean that it has no idea where too look.
18:18.27litnone thing in common is these extensions aren't listed in dialplan hints (core show hints), but they are in peers
18:19.30PenguinIf there's no hint showing, then there's no hint configured.
18:20.50PenguinDid you ever increase the core verbose level, turn on sip debug, and then put a call to the problem phone?  I don't remember seeing the pastebin of it.
19:02.58*** join/#asterisk ThomasKeller (~Thomas@vmx.ethz.ch)
19:04.27*** join/#asterisk ThomasKeller (~Thomas@vmx.ethz.ch)
19:06.12*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
19:06.42*** join/#asterisk ThomasKeller (~Thomas@vmx.ethz.ch)
19:06.56*** join/#asterisk Leseratte (~florian@2001:470:70bc::1)
19:07.42*** join/#asterisk Chex (~Chex@swampjax.northnook.ca)
19:11.02*** join/#asterisk sgriepentrog (sgriepentr@nat/digium/x-cxbrelsfsrxxepml)
19:17.34*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
19:43.55*** join/#asterisk v0ip-wolf (~wilfred@2610:1c0:0:2:382c:a4f7:bed3:3218)
19:53.21*** join/#asterisk areski (~areski@80.174.128.5.dyn.user.ono.com)
19:57.15*** join/#asterisk bkruse (~Adium@206.sub-70-193-194.myvzw.com)
19:59.27*** join/#asterisk lbazan (~LoKoMurdo@fedora/LoKoMurdoK)
20:06.25*** join/#asterisk dlynes (~dlynes@69-165-169-47.dsl.teksavvy.com)
20:06.45dlynesIs there a freenode channel for Switchvox support?
20:07.12[TK]D-FenderNo, it's a closed corporate product they only support directly
20:07.35dlynes[TK]D-Fender: Thanks.
20:08.36*** join/#asterisk pchero (~pchero@0x555140b5.adsl.cybercity.dk)
20:15.02*** join/#asterisk ThatDamnRanga (~wiretap@unaffiliated/wiretap)
20:19.00*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
20:23.42*** join/#asterisk lorsungcu_ (uid65806@gateway/web/irccloud.com/x-odgtzbzydsykiaxg)
20:25.31*** join/#asterisk bkruse (~Adium@206.sub-70-193-194.myvzw.com)
20:30.50*** join/#asterisk gusto (~gusto@2a02:810d:a840:3c20:8219:34ff:fecf:17f0)
20:42.08*** join/#asterisk bkruse (~Adium@206.sub-70-193-194.myvzw.com)
20:43.49*** join/#asterisk sgriepentrog (sgriepentr@nat/digium/x-dxfumgkkyvpfsohf)
20:47.48zekoZekoshouldn't Monitor on a G.722 call record 16kHz sample rate WAVs?
20:48.19zekoZekoi just checked and it always saves at 8k.
20:48.46WIMPyIt records the format you tell it.
20:49.01phixWIMPy!!
20:49.27zekoZekoi'm using default - wav. I see now, might try wav16.
20:49.32WIMPyHere
20:49.58zekoZekoI thought it just records raw audio, depending on codec.
20:50.00*** join/#asterisk dtcrshr (~datacrush@unaffiliated/datacrusher)
20:50.17WIMPy'core show file formats'
20:53.37*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
21:09.23*** join/#asterisk sgriepentrog (sgriepentr@nat/digium/x-qfwvlcyfodivngil)
21:32.05*** join/#asterisk v0ip-wolf (~wilfred@urchin.nyi.net)
21:33.20*** join/#asterisk tzafrir (~tzafrir@bzq-218-28-58.cablep.bezeqint.net)
21:46.33*** join/#asterisk alexw (~textual@unaffiliated/alexw)
22:20.16*** join/#asterisk azerus (~badass@unaffiliated/badass)
22:34.53*** join/#asterisk zapata (~zapata@2001:470:1f0b:11bc:b127:536d:80cf:f208)
22:37.11zekoZekowhen using wav16 format I had to set MONITOR_EXEC and write an external script to merge the recordings
22:37.25zekoZekoit seems sox doesn't know what to do with "wav16" output format
22:46.54*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
23:24.21*** part/#asterisk kharwell (kharwell@nat/digium/x-qejyeatpqgbvtvpe)
23:47.00*** join/#asterisk mbowie (~mbowie@162.212.36.9)
23:53.08*** join/#asterisk JerJer (~Adium@asterisk/original-h323-guy/JerJer)
23:55.30*** join/#asterisk alexw (~textual@unaffiliated/alexw)

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