IRC log for #asterisk on 20171028

00:00.38*** join/#asterisk jrabe (irc@janikrabe.com)
00:29.15*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
00:45.40*** join/#asterisk Penguin (~xwQ5kwYl6@our.systems.are.full.of.penguins.at.penguinsystems.net)
01:58.05*** join/#asterisk nix8n82 (~nathan@2601:283:8302:2f0d:1dcc:9dd5:6e8a:617b)
02:05.05*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
04:20.06*** join/#asterisk gerhard7_ (~gerhard7@ip5657ee30.direct-adsl.nl)
05:28.44*** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co)
05:32.55*** join/#asterisk opmrcl (~user@46.11.51.189)
06:20.20*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
06:48.34*** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co)
07:47.20*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
08:09.29*** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co)
08:15.57*** join/#asterisk DanB (~DanB@clt-195.192.206.120.ip-anschluss.net)
08:58.41*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
09:18.59*** join/#asterisk pchero (~pchero@109.70.54.56)
09:59.32nix8n82<PROTECTED>
10:01.34*** join/#asterisk tehgooch (~tehgooch@unaffiliated/tehgooch)
10:26.06*** join/#asterisk lankanmon (~LKNnet@CPE64777dd7e053-CM64777dd7e050.cpe.net.cable.rogers.com)
11:00.28*** join/#asterisk |stefan| (~stefan@65-233.soderhamn.com)
11:01.20*** join/#asterisk miralin (~Thunderbi@91.237.94.6)
12:06.24*** join/#asterisk nekz (~nek@165.255.103.149)
12:07.11nekzHi all. I was wondering somebody could help me out.
12:07.12nekzI'm an asterisk newbie and it's taken me a good 5 hours to get this to work.
12:07.12nekzI can dial 996700* to join a queue and my BLF key turns green.
12:07.12nekzI can dial 996700** to leave the queue and my BLF key turns red.
12:07.12nekzWhat I would like to do is combine the functionality of both dialplans into one with an IF statement.
12:07.12nekzIn other words I want to dial 996700 and it will either log me in or out of the queue depending on the DEVICE_STATE
12:07.12nekzThis is what I have so far:
12:07.13nekz[ext-local-custom]
12:07.13nekzexten = 996700*,1,Set(DEVICE_STATE(Custom:queuei)=NOT_INUSE)
12:07.14nekzexten = 996700*,2,Macro(queue-login,queue-6700,,Local/${SRCEXTENSION}@only-dialextension-q6700,hint:${SRCEXTENSION}@default)
12:07.14nekzexten = 996700**,1,Set(DEVICE_STATE(Custom:queuei)=INUSE)
12:07.15nekzexten = 996700**,2,Macro(queue-logout,queue-6700,Local/${SRCEXTENSION}@only-dialextension-q6700)
12:07.15nekz[hintcontext]
12:07.16nekzinclude = park-hints
12:19.49*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
12:22.24*** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-138.ph.ph.cox.net)
12:30.02SamotI don't see an IF statement
12:36.50nekzThat's what I needed help with. I might have something working now though. Just rebooting my box (Yeastar S20)
12:37.14nekzThis is my first time working with Asterisk - really enjoying it!
12:37.34SamotUhm.
12:38.09SamotHow do you stop it from overriding your changes?
12:40.52nekzAre you asking how I stop the S20 from ovveriding my changes? There is a custom extensions config file that I can add things into under /ysdisk/support/custom....
12:42.11SamotAnd how do you tie into it?
12:42.23SamotI haven't looked at the S series but the U series was rather limited
12:42.42SamotAnd well, I wouldn't trust their PBX systems as far as I can throw them.
12:43.19SamotOr their engineers
12:47.52nekzThis is my first time working with asterisk based boxes... It's for a very small site so it seemed ideal. Yeastar have locked the box down... It seems I will have to crack the root password if I want to do any extensive tie-in
12:48.05SamotRight
12:48.18SamotBecause you bought a pre-configured appliance.
12:48.32nekzyes. I understood the risks
12:48.33SamotThe appliance generates the dialplan
12:48.36SamotOK.
12:49.03SamotSo just be aware, your first experience with Asterisk isn't really your first experience with Asterisk.
12:49.17SamotThis is your first experience with Asterisk that someone else has done everything for you.
12:49.27SamotAnd you are working within *their* structure.
12:49.58nekzI know. I do understand. Why do you think I came here? Because they certaintly wern't going to help me do anything custom
12:50.16SamotWell that's another problem.
12:50.16nekzluckily i figured out I can put my custom config into /ysdisk/support/customcfg/extensions_custom.conf
12:50.22SamotGUIs aren't supported.
12:50.30SamotAppliances like this, aren't supported.
12:50.41SamotBecause they modified things.
12:50.52SamotThey generate dialplan no one is familiar with it.
12:51.03SamotIf we tell you to "Go change this" you can't.
12:51.24SamotWell you can, but you have to do it through the GUI and we can't know what the GUI is doing.
12:56.05nekzare you asking me to look for help elsewhere?
12:56.08SamotJust don't expect a lot out of them.
12:56.12SamotNo.
12:56.35SamotI'm just telling you, preconfigured GUI appliances/software doesn't get a lot of support here.
12:56.46SamotBecause the people who made it, did stuff we don't know.
12:57.01SamotThey make modifications.
12:57.08SamotThey change file structures.
12:58.22SamotPlus..
12:58.33SamotI've had two years of dealing with those guys..
12:58.42SamotTheir PBX systems are not the greatest.
12:59.04SamotThey tried to partner with me two years ago when they started to break into the US.
12:59.13SamotI gave them back PBX systems.
12:59.35SamotThey gave me free ones, I used one..
12:59.40SamotSent the rest back
12:59.42nekzall I was asking for was some help constructing with an if statement...
12:59.50SamotOK
12:59.56SamotGoToIf
13:00.04SamotOr IfExec
13:00.26SamotDon't they have a queue agent log in feature?
13:00.42*** join/#asterisk gerhard7_ (~gerhard7@ip5657ee30.direct-adsl.nl)
13:00.49*** join/#asterisk m33__44 (~mwega@p200300D47BC23C0098447B3104F462D8.dip0.t-ipconnect.de)
13:05.09SamotYes, yes they do
13:05.20SamotSo why are you writing a agent login feature when one already exists?
13:07.53nekzYes they do, but I wanted a BLF key to indicate whether the agent was logged in or not, and they had no support for that
13:08.04nekzI've managed to get this to work with your help, so thank you :)
13:08.08nekzexten = 996700,n,GotoIf($["${DEVICE_STATE(Custom:queuei)}"="INUSE"]?login:logoff)
13:08.08nekzexten = 996700,n(login),Set(DEVICE_STATE(Custom:queuei)=NOT_INUSE)
13:08.08nekzexten = 996700,n,Macro(queue-login,queue-6700,,Local/${SRCEXTENSION}@only-dialextension-q6700,hint:${SRCEXTENSION}@default)
13:08.08nekzexten = 996700,n(logoff),Set(DEVICE_STATE(Custom:queuei)=INUSE)
13:08.08nekzexten = 996700,n,Macro(queue-logout,queue-6700,Local/${SRCEXTENSION}@only-dialextension-q6700)
13:08.08nekz[hintcontext]
13:08.09nekzinclude = park-hints
13:08.09nekzexten = 996700,hint,Custom:queuei
13:08.20SamotUhm.
13:08.27Samotpark-hints if for Parking
13:08.34Samot*is
13:09.00SamotThat's the auto-generated context the Parking Lot generates.
13:09.12nekztheir documentation said to include it... Anyway what I wanted to do is working
13:09.20nekzso thank you for the assistance - i really appreciate it :)
13:09.21SamotOK.
13:15.25nekzI'm a software developer by trade... I'm writing an application to control the system through the AMI. So now the real fun begins :)
13:15.48SamotA closed system is probably not the best option for writing customization.
13:17.02m33__44I just read an article about setting up SIP with a HT503 on a raspi.... the question came to mind why is a HT503 needed? Wouldn't that be possible with a simple usb analog modem?
13:17.27Samotm33__44: What's going to do the conversion?
13:17.55SamotThe HT503 is an FXO Gateway
13:18.22SamotPeople use it to connect their POTS/phone line to the HT503 to talk SIP to their PBX or IP phones.
13:18.46SamotSomething has to convert that analog signal to SIP/digital.
13:19.14SamotIf you can figure out how to do it on a RasPi with just a USB analog modem, you'll be a hero.
13:19.23m33__44this is what asterisk SIP does - not?
13:19.37SamotSure.
13:19.44SamotIt doesn't convert signals though
13:20.00SamotThe HT503 is an FXO device.
13:20.06SamotIt's meant to connect to POTS lines.
13:20.12SamotRegular ole phone lines.
13:20.13m33__44I know
13:20.15SamotOK
13:20.19SamotThat's one side.
13:20.22SamotThe other side is SIP
13:20.26m33__44I is a comms engineer
13:20.31SamotSo you can connect to Asterisk, in this example.
13:20.32SamotOK
13:20.45SamotSo why are you asking if it is needed.
13:21.04SamotThe POTS to SIP conversion reason should be enough of an answer.
13:22.28m33__44so a modem can physically terminate an analog line
13:22.38SamotOK
13:22.40SamotSo again.
13:22.50SamotWhat. Is. Going. To. Do. The. Conversion?
13:23.32SamotHow are you going to take that modem signal and get it into Asterisk in a way Asterisk can process?
13:23.36m33__44if you ask that there is no piece of software in asterisk doing that by now
13:23.56m33__44thank that is an answer already
13:24.09fileit's up to the underlying hardware and a corresponding driver to do that work.
13:24.40Samotfile We shouldn't be having this type of conversation level with a comms engineer.
13:24.53SamotIf we have to explain that to a comms engineer we're in trouble.
13:24.56m33__44I was just naive to think if I can use an ISDN card...it may work with a modem as well
13:25.25fileif the chipset of the modem was capable of doing it, and a driver was written to utilize it, then yes
13:25.27m33__44technically I understand - but I DO NOT KNOW what asterisk has implemented
13:25.57Samot9:19:44 AM <Samot> It doesn't convert signals though
13:26.08SamotI thought that was pretty clear.
13:26.29SamotAsterisk hasn't implemented anything because it doesn't convert signals like that.
13:26.57m33__44ok
13:27.15SamotWhen you install ISDN/PRI/BRI/FXO/FXS cards into an Asterisk server..
13:27.17fileit'd also only be a fun adventure for someone if they were really interested in doing it
13:27.28SamotYou need something like wanpipe and DADHI drivers.
13:27.31fileFXO adapters are fairly cheap these days
13:27.39SamotLike I said..
13:27.57protonchrisfile: Do you have a FXO adapter that you would recommend?
13:28.00SamotIf someone can make a USB modem work directly with Asterisk on a RasPI, they'd be a hero.
13:28.04m33__44yep the HT503 is just 50bucks
13:28.16fileI don't use 'em
13:28.24Samot^^^^
13:28.58m33__44wel the raspi 3 has 4 cores...
13:29.15SamotOK.
13:29.27SamotI doubt you'll need 4 cores to write a driver
13:30.58m33__44well if I find some hero coding time...would be cool
13:31.14protonchrisfile: ok.  thanks anyway.
13:32.13*** join/#asterisk jkroon (~jkroon@165.16.204.171)
13:34.21protonchrisis looking for a adapter with 1 FXO and 1 FXS.
13:58.20*** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-138.ph.ph.cox.net)
14:03.08*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
14:30.41*** join/#asterisk Iamnacho (~Iamnacho@ip72-213-55-66.om.om.cox.net)
15:04.57*** join/#asterisk Typhon (~Typhon@ipservice-092-218-222-062.092.218.pools.vodafone-ip.de)
16:03.19*** join/#asterisk yoavz (~yoavz@white.blackit.io)
16:44.19*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
16:45.24*** join/#asterisk aness (~aness@77.40.158.100)
16:53.11*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
16:53.20[TK]D-Fenderprotonchris, SPA-3102 <----
17:02.55fauxallianceSipura Tempura, 'lightly battered SIP'
17:13.39*** join/#asterisk coppice (~chatzilla@host-89-243-25-157.as13285.net)
17:41.59*** join/#asterisk Dirk23 (Dirk23@diehildebrands.de)
18:01.17*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
18:04.41*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
18:17.09*** join/#asterisk DanB (~DanB@clt-195.192.206.120.ip-anschluss.net)
18:22.07*** join/#asterisk aness (~aness@77.40.158.100)
18:30.04*** join/#asterisk Dirk23 (Dirk23@diehildebrands.de)
19:00.21*** join/#asterisk UOL (~king@39.46.48.246)
19:00.33UOLsip_transport. Error processing 69 bytes packet from UDP 188.53.94.214:49450 : PJSIP syntax error exception when parsing '' header on line 1 col 1:
19:00.38UOLwhats that meaning?
19:01.29UOLeven firewall is off
19:06.48*** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt)
19:21.08UOLSamot
19:23.03Samot?
19:25.42SamotQuickly, please. I'm kinda in the middle of something right now.
19:31.13SamotUOL????
19:32.03voipmonksneezes amfeltec!
19:33.15voipmonkdreams of Piranha's eating raspberry flavored pi's
19:34.31fauxalliancepiranha with fricken laserbeams
19:34.46UOLsip_transport. Error processing 69 bytes packet from UDP 188.53.94.214:49450 : PJSIP syntax error exception when parsing '' header on line 1 col 1:
19:34.49UOLi have that issue
19:34.57UOLon x-lite
19:35.00UOLand zoiper
19:36.03fauxalliancei've been away for over four years, and the same silly avatars with the same stupid questions...
19:36.03SamotSo you're pinging me for help with your PJSIP issue?
19:36.11fauxallianceapparently
19:36.16SamotMe specifically?
19:36.19fauxallianceyes
19:36.20fauxallianceYOU
19:36.32UOL:D
19:36.50Samothttps://www.google.com/search?q=PJSIP+syntax+error+exception+when+parsing+%27%27+header+on+line+1+col+1%3A&rlz=1C1CHBF_enCA731CA732&oq=PJSIP+syntax+error+exception+when+parsing+%27%27+header+on+line+1+col+1%3A&aqs=chrome..69i57j0l2.1713j0j7&sourceid=chrome&ie=UTF-8
19:38.12UOLmore
19:38.17UOLhow can i transfer an call
19:38.37Samot3:25:42 PM <Samot> Quickly, please. I'm kinda in the middle of something right now. <-- Refer to this.
19:38.42UOLlike i got a call from 101 to 102 and i want to transfer that call to 103..
19:38.43SamotI really can't do this right now.
19:38.53UOLok.. take your time.. no issue.. :)
19:38.53fauxalliancedeposit another twenty-five cents to continue... says the COCOT
19:39.03SamotUOL: I have other things do to.
19:39.10SamotUOL: I don't really use PJSIP
19:39.29SamotUOL: The first result of that google search was a ticket in the Asterisk issues tracker about someone that had this issue.
19:39.35SamotHave you looked at any of that?
19:40.25UOLyes.. i search alot but didn;t found any solution... i also try with chan_sip.. but same error..
19:41.37SamotI wouldn't wait on me for help.
19:44.23UOLSamot thanks for your help.. i'll find a solution soon..
19:44.37SamotDid you read the issue in the issue tracker?
19:44.50SamotIf you haven't found that in your searches, then you are searching wrong.
19:45.01UOLyes..
19:45.33UOLwell.. i try with x-lite its failed.. but now i try with on anonther phone it works. but no voice... i think KSA banned SIP
19:48.01SamotYes, yes they do.
19:48.23SamotOr restrict it pretty heavily
19:50.39voipmonktry to encapsulate it with softether.org
19:58.07*** join/#asterisk aness (~aness@cm-84.209.56.255.getinternet.no)
20:08.20*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:09.10*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:09.55*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:10.42*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:11.32*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:12.17*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:13.10*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:13.55*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:14.45*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:16.31*** join/#asterisk tzafrir (~tzafrir@212.29.194.37)
20:23.52*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
20:47.13*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
21:33.04*** join/#asterisk setham (~setham@unaffiliated/setham)
22:01.49protonchris[TK]D-Fender: Thanks
22:03.03*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
22:40.45*** join/#asterisk ruied (~ruied@po2-84-90-121-174.netvisao.pt)
23:13.28*** join/#asterisk Oatmeal (~Suzeanne@gateway/vpn/privateinternetaccess/suzeanne)
23:34.29*** join/#asterisk Catatronic (~catatroni@199.241.146.163)

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