IRC log for #asterisk on 20191210

00:37.33*** join/#asterisk Chotizei (chotaire@unaffiliated/chotaire)
01:43.27*** part/#asterisk LiuYan (~NiHola@unaffiliated/liuyan)
01:46.14*** join/#asterisk dacod (~dacod@189.26.143.204.dynamic.adsl.gvt.net.br)
01:49.33*** join/#asterisk LiuYan (~NiHola@unaffiliated/liuyan)
01:50.39*** part/#asterisk LiuYan (~NiHola@unaffiliated/liuyan)
02:05.12*** join/#asterisk MICROburst1 (~Thunderbi@x4d0b6ede.dyn.telefonica.de)
02:42.54*** join/#asterisk teleprompter (uid385826@gateway/web/irccloud.com/x-avozrshqzppeohvj)
02:49.25*** join/#asterisk FH_thecat (~FH_thecat@75.11.25.212.ftth.as8758.net)
03:24.24*** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net)
03:24.24*** topic/#asterisk is AstriCon 2019 in Atlanta! http://www.astricon.net/ -- #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.29.2 (2019/11/21) 16.6.2 (2019/11/21) Standard: 17.0.1 (2019/11/21); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22
03:33.37*** join/#asterisk sysgrammer_moe (~sysgramme@d205-234-59-108.yt.northwestel.net)
03:50.35*** join/#asterisk moe__sysgrammer (~sysgramme@d205-234-59-108.yt.northwestel.net)
05:14.11*** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net)
05:14.11*** topic/#asterisk is AstriCon 2019 in Atlanta! http://www.astricon.net/ -- #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.29.2 (2019/11/21) 16.6.2 (2019/11/21) Standard: 17.0.1 (2019/11/21); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22
05:26.15*** join/#asterisk miralin (~Thunderbi@host-5-138-98-250.stavropol.ru)
05:48.47*** join/#asterisk war9407_ (war@2600:4040:4001:1e00::f7aa)
05:57.26*** join/#asterisk miralin (~Thunderbi@178.34.163.234)
06:37.09*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
06:55.18*** join/#asterisk sysgrammer_moe (~sysgramme@d205-234-59-108.yt.northwestel.net)
07:08.26*** join/#asterisk jeffspeff (~overyande@216.163.24.235)
07:35.56*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
07:52.10*** join/#asterisk jkroon (~jkroon@165.16.203.124)
08:07.19*** join/#asterisk defsdoor (~Andrew@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
08:21.21*** join/#asterisk pchero_work (~pchero@109.36.143.13)
08:23.03*** join/#asterisk cr1 (~cr@ip174-68-116-216.sd.sd.cox.net)
09:19.50*** join/#asterisk ketas (~ketas@0011-0000-0000-0000-d7dc-830e-07d0-2001.dyn.estpak.ee)
09:25.00*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
11:15.13*** join/#asterisk pchero_work (~pchero@109.36.143.13)
11:23.01*** join/#asterisk mbecroft (mb@ak2.becroft.co.nz)
11:35.43*** join/#asterisk pabe (~pabe@81.24.66.208)
12:19.17*** join/#asterisk Chotaire (chotaire@unaffiliated/chotaire)
12:30.50*** join/#asterisk miralin (~Thunderbi@178.34.163.234)
12:40.42*** join/#asterisk miralin1 (~Thunderbi@178.34.163.234)
12:55.25*** join/#asterisk DonAlex (~DonAlex@81.107.191.162)
12:56.19DonAlexHeya peeps. Can someone help me debug WTF is going on here? I am perplexed by the error that is not showing with verbose 9 on but prevents me from dialling out.
12:56.33DonAlexhttps://pastebin.com/0ez2Yexy
12:57.19DonAlexIt says syntax error: syntax error, unexpected '=', expecting $end; Input: but for the life of me I cannot see where in the stream it is seeing that ?
12:57.36DonAlexAm I blind ?
12:57.42sibiriathere are several variables that you declare but without passing a value
12:57.59sibiriaCDR(accountcode)=, CALLERPRES(*)= etc.
12:58.13sibiriaat least set them to an empty string
12:58.48sibiriaEMERGENCYCID=
12:59.02sibiriacomparisons and declarations, i mean
12:59.49SamotIt's a FreePBX problem.
12:59.55SamotI think someone opened a bug on it already.
12:59.57DonAlexO
13:00.22DonAlexis FALSE an empty string ?
13:01.21DonAlexI mean can I set EMERGENCYCID to FALSE  if it is not used?
13:06.56DonAlex*sighs* So I have to wait for FReePBX to fix it then ? Bugger. .
13:08.02SamotIt might already be fixed. Have you gotten the latest updates?
13:09.56DonAlexI am on FreePBX 14.0.13.12
13:10.24DonAlexSo yes I could upgrade to 15 I spose?
13:11.06SamotNo.
13:11.15DonAlexOnly that has just been released..so..
13:11.16SamotI asked if you had the latest updates...
13:11.23SamotNot if you've upgraded.
13:11.26DonAlexTo this.. yes..
13:11.33SamotAre you sure?
13:12.23DonAlexfwconsole ma showupgrades
13:12.23DonAlexNo repos specified, using: [standard,extended,unsupported,commercial] from last GUI settings
13:12.23DonAlexUp to date.
13:14.03DonAlexUnless there is something else I am missing ?
13:15.25SamotYou could enable the Edge repo and get updates from there. There are a lot of updates in the edge repo.
13:17.46SamotNow whether or not that fixes the issue. I'm not sure.
13:18.51DonAlexI am looking through the extension profiles and filling any ones that seem to want to not be blank with a not null field. Maybe that is the simplest solution so far.. Assuming that all the variable declarations are defined in the GUI.
13:20.27DonAlexhaha.. well I shifted the error.. Now I am getting all circuits are busy now ;)
13:23.00DonAlexOh what a rabbit hole.. *sighs*
13:24.06SamotOK well now show the issue after the change
13:25.19*** join/#asterisk dacod (~dacod@201.47.74.146)
13:32.37DonAlexTrying to debug now.. Still seeing some Set"($variable=)"
13:40.55DonAlexThe problem is tying the variable to the gui parameter not always obvious
13:45.04DonAlexI mean I cannnot see anywhere in the extension set up where Set(CALLERPRES(name-pres)=)" might be ?
13:49.31*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
13:52.34DonAlexAhhh I thnk I found the bug. It shows the correct string but the values are blank in the GUI so you think it is already set.. but you need to set them in the GUI as well.
13:53.49SamotNo, you shouldn't.
13:54.06SamotThe outbound callerid and emegerency callerid fields are not required fields.
13:54.12SamotThey can be blank.
13:54.14SamotIt's a bug.
13:54.24DonAlexhmmm
13:54.50DonAlexOh well.. Time for lunch I will look at it after perhaps..
14:21.02*** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-hamnnpkxvvyofvcu)
14:21.02*** mode/#asterisk [+o bford] by ChanServ
15:17.49*** join/#asterisk Janos (~Janos@201.204.94.76)
15:35.24*** join/#asterisk kharwell (uid358942@gateway/web/irccloud.com/x-bcklxgtrnhwqygzu)
15:35.24*** mode/#asterisk [+o kharwell] by ChanServ
15:45.41*** join/#asterisk martinvw (~martinvw@2003:a:422:3ba0:554c:f47b:519e:cfa6)
15:46.27martinvwIs it possible to use HASH() to create global hashes? And if so, can I define global hashes in [globals] in my extensions.conf?
15:48.30martinvw"HASH(foo,bar)=bar" in [globals] leads to "Setting global variable '~HASH~foo~bar~' to 'bar'", while "TEST(bar,foo)=foo" leads to "ERROR[28242]: pbx_functions.c:699 ast_func_write: Function TEST not registered", so it does look like Asterisk interprets HASH in [globals]
15:50.08*** join/#asterisk spatel (~spatel@171.61.9.63)
15:52.31martinvwI'm struggling to read from this hash though: neither ${HASHKEYS(foo)} nor ${HASHKEYS(GLOBAL(foo))} seems to work.
15:54.40*** join/#asterisk Janos (~Janos@201.204.94.76)
16:08.27*** join/#asterisk jkroon (~jkroon@165.16.203.109)
16:12.04*** part/#asterisk pabe (~pabe@81.24.66.208)
16:13.21*** join/#asterisk Helenah (~s98259@unaffiliated/iveeee)
16:20.33*** join/#asterisk pabe (~pabe@81.24.66.208)
16:32.18igcewielingWhen I'm using hash nothing technical works for me either.  8-|
16:34.31*** join/#asterisk hfb (~hfb@47.139.23.145)
16:47.36*** join/#asterisk MICROburst (~Thunderbi@x4d0b6ede.dyn.telefonica.de)
16:54.22martinvwseems to be a known bug that HASHKEYS won't work on global hashes :/ https://issues.asterisk.org/jira/browse/ASTERISK-24004
17:27.09*** join/#asterisk pchero_work (~pchero@109.36.143.13)
17:31.54sysgrammerHello, I am looking for someone to hire to help me with analog rhino DAHDI card... Please let me know...
17:37.00*** join/#asterisk Ai9zO5AP (~BQcdf9eiZ@41.140.102.75)
17:53.30*** join/#asterisk PiRATA (PiRATA@PiRATA.bnc.ircnow.org)
18:01.44*** join/#asterisk miralin (~Thunderbi@178.34.163.234)
19:19.56*** join/#asterisk miralin (~Thunderbi@178.34.163.234)
19:24.30*** join/#asterisk miralin1 (~Thunderbi@host-46-45-217-207.stavropol.ru)
19:27.28*** join/#asterisk miralin (~Thunderbi@host-46-45-217-207.stavropol.ru)
19:33.54*** join/#asterisk spatel (~spatel@171.61.9.63)
19:46.05*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
19:50.56sysgrammerany DAHDI experts in the house???
20:01.09*** join/#asterisk Heart_And_Chops (~Heart_And@S0106cc2de0099182.no.shawcable.net)
20:13.10nullr0utecan you post your question? maybe someone can help
20:17.01*** join/#asterisk Janos (~Janos@201.204.94.76)
20:32.27*** join/#asterisk miralin1 (~Thunderbi@178.34.163.234)
20:37.09*** join/#asterisk brian1001 (~brian1001@145.133.16.52)
20:37.35brian1001Hello everyone, i'm looking for nice open source hotel  billing managment solution for asterisk , does someone here has experience with it maybe?
20:42.44SamotI'm not really sure there is one.
20:42.53SamotWhat features does it need to have?
20:45.38*** join/#asterisk saint_ (~saint_@unaffiliated/saint-/x-0540772)
20:45.41nullr0uteIf there isn't one, then I see an opportunity for a developer
20:45.52brian1001just a 'check in' , check'out out feature
20:46.41SamotThat's the only feature?
20:46.53SamotHow does that manage billing?
20:48.30brian1001yes and indeed a billing feature based on how long someone called to a certain destination
20:49.08SamotSo it doesn't need to tie into an existing PMS application?
20:49.25brian1001no
20:49.52SamotHow many rooms?
20:50.01brian100115
20:51.50SamotI'm not really sure there is something that would be current.
20:52.08brian1001it amazed me but its indeed hard to find
20:53.47SamotThe fact there is a hotel charging for calls still amazes me.
20:55.36brian1001yes wish there was a good voip provider here with unlimited free calls
20:55.49SamotWhere is here?
20:57.12brian1001the netherlands
20:57.38SamotWell do they have a lot of usage already?
20:58.03SamotI really can't speak for that area of the world but with the amount of mobile phones in play...
20:58.29SamotThe need for call from your hotel room is really not a thing anymore.
20:58.31brian1001i think tehy just need 2 lines
20:58.44brian1001yes exactly Samot
21:02.21SamotI think you're going to have to prepare them for the fact this is going to cost money.
21:07.28electronic_eelI'm from Germany and here it depends very much on the kind of number you are calling how much it is gonna cost you. If you call a regular landline, it is nearly for free and lot's of providers offer flatrates. If you are calling a cellphone, it is a bit more expensive and usually you won't be able to get a true flatrate for it.
21:07.58electronic_eelI think it is very similar in the Netherlands
21:08.55electronic_eelSo if you wanted to offer free calls for your hotel guests, you'd have to block cellphone numbers, which wouldn't be a good service for your guests.
21:09.25SamotBut that's my point.
21:09.39SamotThis isn't 15 years ago. Pretty much everyone has a mobile phone.
21:10.29electronic_eelyes, and nobody sane is going to use a hotel phone for outgoing calls because they often charge ridiculous rates
21:10.57electronic_eelbut you need a phone with outbound capability to get/keep your stars as a hotel
21:12.24SamotBut at the end of the day if your month phone bill isn't crazy or even that high because guests aren't making calls...
21:13.04SamotDo you need a PMS just to manage rooms/checkin/checkout or do you need one that does that but can integrate to your PBX for billing of calls.
21:13.46electronic_eelyou could maybe offer free calls, but implement some kind of limit, like 30 minutes per day and room or something.
21:13.49SamotIf having all 15 rooms full for a weekend or whatever means you have to spend $50 in calls....
21:13.53SamotIt's worth it.
21:14.05SamotOr you do what they do here in the US
21:14.12SamotLimit the calling areas.
21:14.29SamotSome of my hotels don't let long distance calls happens.
21:14.36SamotJust local, toll free and 911
21:14.53SamotAnd they don't even charge for calls.
21:15.03SamotAnd they have unlimited calling.
21:16.46electronic_eelyeah, but sometimes it is just that the owner of the hotel is thinking conventional and it has always been this way...
21:23.27*** join/#asterisk jeffspeff (~overyande@216.163.24.235)
21:27.25*** join/#asterisk miralin (~Thunderbi@178.34.163.234)
21:43.12brian1001ty both i indeed explain them this
21:43.35brian1001just a limit on the outgoing calls will probably do the trick and no long distance calls
21:50.45*** join/#asterisk macaruchi (~macaruchi@148.0.56.130)
21:50.49macaruchiHi!
21:51.02macaruchiI need to use Postgres for using with asterisk CDR
21:51.29macaruchiMy question is i need to install ODBC for this or I can use directly libpq
21:51.54macaruchiWhen I use make menuselect I cant select CDR-PGSQL I get XXX
22:05.16*** join/#asterisk rwb (~Thunderbi@65.183.138.202)
22:05.24macaruchi?
22:09.01electronic_eelusually all the database accesses go through odbc
22:10.00electronic_eeldo you really want to use CDR? I prefer CEL
22:12.24*** part/#asterisk martinvw (~martinvw@2003:a:422:3ba0:554c:f47b:519e:cfa6)
22:24.16dabukalamOK. So I got hold of a Grandstream GXW 4108. And I have Asterisk on a raspberry pi. But I have to say the Grandstream web interface is... wow
22:25.02dabukalam(c) 2005 so it's 15 years old... I guess it makes sense
22:30.26electronic_eelyou are lucky that it works with a current browser. I had one old ups that required an IE 4 or something like that to work, no other browser worked with their borked javascript or whatever
22:32.40electronic_eelwas happy when it broke some years ago, good reason to throw it out
22:33.21electronic_eelneeded a win xp in a vm, just so I could access it
22:40.27dabukalamhah, I was worried I would have to do the same with this to get onto it
22:40.36dabukalamthey have some weird IP discovery script
22:41.04dabukalambut luckily it had DHCP enabled out of the box, so picked up an IP from my LAN
22:42.43dabukalamhttp://www.grandstream.com/sites/default/files/Faq/gxw410x_interop_asterisk.pdf
22:42.48dabukalamnow I'm looking at this...
22:43.06dabukalamI have a freshly installed asterisk running on a raspi on the same LAN
22:43.33dabukalamI just want to make a phone call out to test it but even that looks very complicated so I might go to bed and try it another time
22:49.51SamotYeah, the problem with it being 15 years old it is won't have anything about PJSIP.
22:50.02SamotSince Chan_SIP is deprecrated...
22:57.46electronic_eeldoesn't look like it needs some chan_sip specific stuff to me, should be straightforward to use with pjsip
22:59.52electronic_eeljust configure each channel as a separate sip account, just as they describe in the linked interop pdf
22:59.56sysgrammerhello all, I am stuck with a problem on an asterisk system I setup for a customer. I get no audio on the incoming analog lines.
23:00.03sysgrammerthe only was I can hear the IVR over the analog lines is by going to line DAHDI/8-2 and switching back to 8-1.
23:00.08sysgrammerI can switch betweek 8-1 and 8-2 by pressing the discconnect button for a quick second
23:01.18sysgrammerlater I foucn switching between channel 8-1 and 8-2 is called "three way audio"
23:12.57Reinhildelong distance barely costs me anything, except 1867, that's expensif
23:17.22dabukalamany idea if i need two-way dialling or one-way dialling? it tells me to refer to the FAQ on their site, but pretty sure the FAQ has changed quite a bit in the last 2 decades...
23:19.41Reinhildewhat does one way dialling do, and what does two way dialling do
23:19.48dabukalamsorry s/way/stage/
23:20.30dabukalamMaybe two-stage would support dialling out somewhere else once connected? I'm not sure
23:21.23dabukalamoooh maybe two-stage would support a dial tone once connected
23:21.30dabukalamand one-stage would just connect directly
23:22.00electronic_eeldabukalam: I'd go for the variant with a sip account for each line, that seems to be the simpler approach to me
23:22.25dabukalamelectronic_eel: yup I followed your advice
23:22.30electronic_eeland use pjsip instead of chan_sip
23:22.42dabukalamthe numbers in that pdf don't correspond to the methods
23:22.59electronic_eelthe pjsip-wizard makes configuring such stuff easier, no manual aor setup and so on
23:23.24dabukalamis that still governed by sip.conf?
23:23.40electronic_eelno, pjsip.conf and pjsip_wizard
23:23.49dabukalamahh, crap
23:27.09*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
23:28.00Reinhildeinstalls a very small telephone into clarjon1's skull
23:28.04Reinhilde... that was bad
23:28.28dabukalamelectronic_eel: so I just put the same things I put in sip.conf into pjsip.conf?
23:28.45Reinhildeno
23:30.33*** join/#asterisk Typhon (~Typhon@dslb-092-078-205-062.092.078.pools.vodafone-ip.de)
23:45.35*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)

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