IRC log for #asterisk on 20200406

00:14.28*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
00:45.46*** part/#asterisk puzzola (~puzzola@unaffiliated/puzzola)
01:09.07*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
01:33.54*** join/#asterisk ruben23 (~ruben@49.149.110.51)
01:45.30*** join/#asterisk deavmi (~deavmi@165.0.49.28)
02:03.08*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
02:11.52*** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net)
02:11.52*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.32.0 (2020/03/12) 16.9.0 (2020/03/12) Standard: 17.3.0 (2020/03/12); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22
02:44.27*** join/#asterisk broccolistem (~anon@2607:f2c0:922c:7c00:8db5:b3f7:a7d6:d14e)
02:57.20*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
03:51.18*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
04:12.48*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
04:37.10*** join/#asterisk puzzola (~puzzola@unaffiliated/puzzola)
04:45.31*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
05:39.48*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
05:41.09*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
06:08.38*** join/#asterisk CatCow97 (~mine9@c-73-96-109-206.hsd1.or.comcast.net)
06:34.00*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
06:44.18*** join/#asterisk matrix1233 (~matrix123@185.61.186.147)
06:53.21*** join/#asterisk scampbell (~scampbell@mail.scampbell.net)
07:26.17*** join/#asterisk sekil (~sekil@178-223-3-39.dynamic.isp.telekom.rs)
07:26.48*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
07:29.19*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
07:29.41*** join/#asterisk BakaKuna (~user@ip56509c03.direct-adsl.nl)
07:41.29*** join/#asterisk hfb (~hfb@cpe-172-117-13-65.socal.res.rr.com)
07:55.47*** join/#asterisk hfb (~hfb@cpe-172-117-13-65.socal.res.rr.com)
08:23.27*** join/#asterisk ruben23 (~ruben@49.149.110.51)
08:27.09*** join/#asterisk hfb (~hfb@cpe-172-117-13-65.socal.res.rr.com)
08:39.50*** join/#asterisk hfb (~hfb@cpe-172-117-13-65.socal.res.rr.com)
08:48.12*** join/#asterisk DodgeThis (~DodgeThis@2001:818:df17:3000:bdd4:3223:71ea:864d)
08:51.57*** join/#asterisk BakaKuna (~user@ip56509c03.direct-adsl.nl)
08:56.31*** join/#asterisk lankanmon (~LKNnet@CPEb4fbe4e331bd-CM64777d632380.cpe.net.cable.rogers.com)
10:09.15*** join/#asterisk matrix1233 (~matrix123@185.61.186.147)
11:32.18*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
11:46.19*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
12:12.12*** join/#asterisk ruben23 (~rub_e@49.149.110.51)
12:18.45*** join/#asterisk matrix1233 (~matrix123@185.61.186.147)
12:33.30*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
12:35.51*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:18.19*** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-cpyzmuidblemiqxq)
13:18.19*** mode/#asterisk [+o bford] by ChanServ
14:08.36*** join/#asterisk velix_ (~velix@unaffiliated/velix)
14:22.37*** join/#asterisk kharwell (uid358942@gateway/web/irccloud.com/x-idqaklndulsfqpcp)
14:22.37*** mode/#asterisk [+o kharwell] by ChanServ
14:31.07*** join/#asterisk MLC (~MLC@63.249.40.11)
14:34.03*** join/#asterisk cresl1n (uid299068@asterisk/libpri-and-libss7-expert/Cresl1n)
14:34.03*** mode/#asterisk [+o cresl1n] by ChanServ
15:02.35*** join/#asterisk sekil (~sekil@178-223-3-39.dynamic.isp.telekom.rs)
15:11.06*** join/#asterisk derPlexus (~plexus@ip-178-203-131-93.hsi10.unitymediagroup.de)
15:22.59*** join/#asterisk scampbell (~scampbell@mail.scampbell.net)
15:35.53MLCI've been pondering the following idea. a) Is it feasible? b) Is it a good idea?  Idea: Leave one asterisk server in-house as a termination point for our POTS land lines and move the main asterisk server to the cloud. Maybe eventually port the POTS lines to VOIP.  Goals: 1) Eliminate MOH bandwidth usage to our office for calls waiting in the queue. 2) Take advantage of reduced latency between asterisk server and voip.ms. 3) Take advant
15:35.53MLCage of reduced latency and increased stability between asterisk and our application server. (We have a number of integrations between the two.)
15:41.51SamotHow does the MoH usage play into this?
15:41.56SamotAre you streaming it?
15:42.27MLCNot streaming, but it uses up RTP bandwidth between our office and voip.ms and a caller is waiting in the queue.
15:42.50MLClike right now, when we have 30+ waiting
15:44.34SamotThe amount of RTP bandwidth being used for 30 calls is the same regardless of where they are.
15:44.42SamotQueue or on a call.
15:44.49SamotIt's the same about of bandwidth.
15:45.04MLCyes, but if the phone server is in the cloud, it doesn't use up the bandwidth to our office, it is only used in the cloud.
15:45.18MLCOnly need to use the bandwidth to the office when the call connect to an agent
15:45.23SamotSure.
15:45.28SamotI'm not saying that's not a bad idea.
15:45.32SamotYou just wrapped in the MoH
15:45.41SamotAnd RTP bandwidth due to it.
15:45.43MLCunderstood
15:49.56MLCWhat would I do to pass the inbound calls on the POTS lines from the in-house server to the asterisk in the cloud?
15:51.23*** join/#asterisk hfb (~hfb@47.139.18.81)
15:54.04igcewielingThat should happen by default in most cases.
15:55.55MLCRight now those POTS lines enter at a context in my dial plan that puts them in the queue.  I assume that I need to do something to send those calls from that asterisk server to the one in the cloud?
15:56.27igcewielingAh, now a queue is involved.  I didn't realize that.
15:56.50MLCJust to keep things interesting!
15:57.06igcewielingWithout a queue, it would be something like Dial(PJSIP/peername/12125551212)
15:57.33igcewielingAnyway, I thought the queue was on the cloud server.
15:59.19MLCAnd I would set up the cloud server and endpoint in the pjsip.conf in the in-house server?
15:59.26MLC*as an endpoint
15:59.38igcewielingof course.  the remote server is an endpoint
15:59.49MLCmakes sense
16:00.25SamotOK
16:00.33igcewielingYour calls will be something like POTS -> localasterisk server -> hosted asterisk server -> ???? -> phone
16:00.47SamotWhy would you move the system to the cloud to save on bandwidth but then route calls back through the on-prem to the cloud back to the agents?
16:01.52MLCSamot: a) saves the MoH bandwidth when callers are in the queue.  b) less latency to voip.ms server and our application server.
16:02.13igcewielingMLC, not on your pots lines
16:02.14MLCMost of our inbound calls are VOIP, not POTs
16:02.24MLCPOTS is maybe 10% of the traffic
16:02.57MLCWould probably port the POTS to VOIP in this scenario
16:03.08igcewielingcan't you just call forward the pots lines to voip doing something like *72?
16:04.57MLCMaybe. Good idea. I had not thought about that.
16:05.40igcewielingTrying to keep pots lines when moving to "the cloud" is a dumb idea.
16:05.51MLCAgreed
16:07.10Kobazugh, linphone really doesn't do well with tcp/tls
16:07.41igcewielingAll softphones suck.
16:07.50Kobazi know
16:07.56Kobazmicrosip seems to handle it better
16:08.06SamotMLC: My point is, call comes in over POTS to on-prem, routes to cloud for the queue, you now have that going over the bandwidth
16:08.25Samot12:07:41 PM <igcewieling> All softphones suck. <-- This is highly incorrect.
16:08.26igcewielinghugs his Polycom VVX 6xx with a sidecar w 32 line appearances.
16:08.44KobazSamot: there are soft phones that don't suck?
16:08.45SamotAgain, and I'll keep saying this, I use the Bria and it works.
16:09.18igcewielingFine.  All free softphones suck, most non-free softphones suck.
16:10.29igcewielingKobaz: if you consider all the time you've spent on this, you could have purchased an inexpensive linksys/sipura/whaevertheyarecalledtoday instead and still come out ahead.
16:10.39Kobazno
16:10.40Kobazhaha
16:10.47MLCSamot: I agree totally. Moving from a voice T1 to VOIP was a big step for our management, so I'm taking it a bit at a time.
16:10.52Kobazthis is for like hundreds of people working from home
16:10.58Kobazi had one customer buy zoiper
16:11.00MLC+1 for Bria
16:11.04Kobazpretty decent results so far
16:11.23SamotI think I said this the other day during one of the all softphone sucks rants.
16:11.37SamotHaving Bria Enterprise was a blessing for what has happened.
16:11.54SamotPush services, provisioning, multi device setups for users.
16:12.05Kobazthat's about like 800 a month, rihgt?
16:12.09Kobazsomething like that
16:12.09SamotNope.
16:12.23SamotPer license.
16:12.26Kobazah
16:12.48igcewieling$2.95/month according to a a quick google search.
16:12.52Kobazah
16:12.59SamotDepends on the license.
16:14.30SamotAlso during all of this Bria Enterprise has 90 day licenses for now.
16:14.56SamotSo if I needed a temp license for the user that would never normally use Bria outside of being force to WFH, I can get 90 days.
16:16.43igcewielingfor 100 users, that is only $3,588 /year
16:20.04igcewielingKobaz: the "Zulu" softphone included with the distro isn't good enough for you?
16:20.32Kobazi duno, never used it
16:20.41Kobazincluded in what distro
16:20.53igcewielingThe FreePBX distro.
16:21.07Kobazoh, no we don't use freepbx
17:15.49igcewielingI have a mix of FreePBX and non-FreePBX boxes.  Working on plain Asterisk is much more interesting.
17:17.47*** join/#asterisk retentiveboy (~retentive@2001:558:6011:15:b870:e5eb:952c:5c65)
17:19.10*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:20a2:161a:f933:963c)
17:20.46*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
17:21.29*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
17:25.55*** join/#asterisk lankanmon (~LKNnet@CPEb4fbe4e331bd-CM64777d632380.cpe.net.cable.rogers.com)
17:31.35drmessano12:10:28 <igcewieling> Kobaz: if you consider all the time you've spent on this, you could have purchased an inexpensive linksys/sipura/whaevertheyarecalledtoday instead and still come out ahead. <-- LOL
17:32.02drmessanoWe've got 10k users and softphones have been indispensable
17:32.22drmessanoI hate to say this, for the boomers in the room
17:32.35drmessanoBut AoIP apps are the future
17:32.38drmessanoand the present
17:32.50drmessanoThere is no Microsoft Teams desk phone
17:33.18drmessanoNobody is buying out warehouses of desk phones for WFH
17:33.30igcewielingdrmessano: do you also do desktop support?
17:33.47drmessanoI do
17:34.29igcewielingI don't.  We are an ITSP/ISP/CLEC, not a desktop support company.
17:34.47drmessanoI don't support our phones
17:34.59igcewielingWe support our hardphones.
17:35.01drmessanoNext time you ask a leading question, adjust your aim
17:36.14drmessanoHowever, an end user with a headset is quite capable
17:37.02Samot1:34:29 PM <igcewieling> I don't.  We are an ITSP/ISP/CLEC, not a desktop support company. <-- You host PBX systems in the cloud for your end users, correct?
17:37.08*** part/#asterisk MLC (~MLC@63.249.40.11)
17:37.42drmessanoOh and as the goal post moves on quality
17:37.47drmessanoBecause it always does
17:37.59igcewielingSamot: only about 1/3 of them and they have hardphones.
17:38.20SamotOK but are they getting a hosted PBX that's is 100% on them?
17:38.34drmessanoWe're running LIVE broadcasts using those same headsets, with SIP, OPUS codec, and you really can't tell much of a difference
17:38.37SamotOr are they getting it as some variant solution to give them UCaaS?
17:39.08drmessanoour SIP client is a modified softphone, basically
17:39.21igcewielingSamot: no, we have not done anything with my idea of running individual FreePBX instances.   We currently have a Bicom PBXware MT for our Hosted service.
17:39.49SamotOK, so for those end users your answer for the WFH scenario is what?
17:39.55SamotCall Forwarding?
17:40.03SamotTake your phones home and good luck?
17:40.38igcewielingWell, they can take their hardphones home if they get a power supply for it.  They can forward to their cellphone (this is the most common) or they can use a Zulu or gloCom softphone.
17:40.58drmessanolol
17:41.01igcewielingI think we are up to something like 20 glocom licenses.
17:41.30igcewielingI doubt most of them have used softphones before.
17:41.46drmessanowow
17:42.00drmessanoSo you were completely unprepared for this?
17:42.28igcewielingI'm pretty sure more than 1/2 of our numbers are with customers who just want analog handoff to their current PBX.
17:42.36SamotI do have people that took their hardphones home because they can barely use those so Bria would have made their brains explode.
17:42.38SamotI get that.
17:43.37drmessanoThere's always "some", but those 10% are the 90% of your support calls, which you've already taken into account
17:45.41*** join/#asterisk deavmi (~deavmi@165.0.49.28)
17:45.49igcewielingThe vast majority of our users don't even know our support number because all support goes through one or two of the customer employees.
17:46.55igcewielingusually their IT manager or office manager.
17:48.06drmessanoSo you hate softphones, but since you don't touch endpoints anyway, you're really basing that on personal bias and not any sort of daily interaction
17:48.07drmessanoGot it
17:48.56igcewielingWe support the hardphones, the end users go through the local person in charge of phones for support.
17:50.15igcewielingthat local person sends the request off to our support
17:50.30SamotIn my case of being an ITSP/ISP/CLEC or any combo of those over the years, we've always managed the endpoints.
17:50.44SamotBYOD, sure go for it. It's all on you.
17:51.00SamotFully configured and interop'd phone to services, managed phone from us.
17:51.13igcewielingWe also manage the switches we install which the phones are connected to an the router we install
17:51.50drmessanoSo please explain your vast experience with softphones
17:55.18igcewielingEvery one I've tried sucked.  Every one we've deployed to customers was no longer used in 6 months.    For a while Sales tried pushing softphones, but went back to pushing hardphones pretty quickly.    It has been a couple of years since I've done much with softphones.
17:57.20SamotSucked how?
17:57.33igcewielingSince the start of the crisis we have had a lot more interest in softphones and have deployed a number of them to customers.
17:58.17igcewielingSamot: usually audio quality and dropped registrations
17:58.33SamotSo basically the same issues a hardphone over the Internet would have.
17:58.44SamotAll of which can be mitigated.
17:58.59igcewielingnot when I use a hardphone on the same internet connection
17:59.22SamotOutside of the fact it's a standalone device.
17:59.38SamotNot running as an app on something else that could be tweaked or modified.
17:59.55SamotPush services, Proxies, all these are able to help mitigate these issues.
18:00.03igcewielingCorrect, not running an app that needs to be tweaked or modified.
18:00.18igcewieling8-|
18:00.57igcewielingIn any case, I'm sure you have plenty of advice for Kobaz
18:01.20drmessanoDropped registrations?
18:01.43drmessanoSo the computer is unstable
18:03.07drmessanoI would think if the computer is too unstable to support keeping a softphone registered and has sound issues, then it's not stable enough for them to actually do other work
18:04.06*** join/#asterisk aness (~aness@2a02:fe1:3103:2100:c4f4:7667:83ad:60ec)
18:05.45*** join/#asterisk defsdoor_ (~Andrew@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
18:06.04*** join/#asterisk gtjoseph_ (~gtjoseph@unaffiliated/gtj)
18:06.04*** mode/#asterisk [+o gtjoseph_] by ChanServ
18:07.48*** join/#asterisk pvoigt_ (~Linux@unaffiliated/pvoigt)
18:08.09*** join/#asterisk koltrast_ (d8e7a909@h77-53-57-114.cust.a3fiber.se)
18:11.35*** join/#asterisk dougquaid (dougquaid@gateway/vpn/privateinternetaccess/dougquaid)
18:20.28*** join/#asterisk crandon (~smuxi@catv-178-48-162-171.catv.broadband.hu)
18:21.58*** join/#asterisk deavmi (~deavmi@165.0.49.28)
18:22.37KobazSamot: all of which?
18:22.43KobazSamot: 99% packet loss can be mitigated?
18:23.03crandonHi, I'm a total newbie to asterisk. I managed to set it up to handle sip calls between 3 peers (gate, usera, userb). They can call each other with video and this works fine. Now, I created and extension 'family' like this: exten => family,1,Dial(SIP/usera&SIP/userb,10)
18:23.08SamotNo, audio issues and dropped registrations can be.
18:23.17SamotI didn't say anything about packet loss.
18:23.23KobazI believe that falls under audio issues, heh
18:23.25SamotOr poor internet connections.
18:23.33SamotSo does NAT
18:23.37KobazJust send max bitrate opus and pray
18:23.42crandonWhet gate calls family, both phones ring and if any picks up, the call is estabilished, but only audio works, video does not any ideas?
18:24.17Kobazcrandon: are both ends offering a common video codec? is video enabled in the endpoints?
18:24.27Kobaz!debug
18:24.32Kobaz~debug
18:24.32infobotACTION DeBuggers $1
18:24.38Kobazisnt there a bot thing
18:24.50Kobazit's been a while... but anyway
18:25.05Kobazcrandon: dpaste.com   sip debugs, and wireshark pcap preferable
18:25.14Kobazand/or tcpdump. doesn'
18:25.18Kobazt matter, either one
18:26.00crandonKobaz: yes. Otherwise even peer to peer would not work. BTW: should there be a 'family' peer set up with video enabled as well?
18:26.34Kobazcrandon: not necessarily, depends on the endpoints
18:26.48Kobazpossibly, i could imagine certain endpoints could transcode
18:27.19Kobazcrandon: 'peer'  so are you using chan_sip?  have you collected your sip debugs yet?
18:28.01Kobazspeaking of video. i've noticed that vp8 through asterisk over wifi has really bad quality
18:28.04SamotThe call is going to be established. It is then up to the receiving endpoint of that call to tell it to use video.
18:28.16SamotSo there's going to be a re-INVITE that updates the SDP.
18:29.52drmessano14:23:38 <Kobaz> Just send max bitrate opus and pray <-- Doing that already..  Works great
18:30.05crandonKobaz: I'm googling how to do it right now, and testing how adding the family peer changes the situation
18:30.11Kobazdrmessano: hah nice
18:30.15drmessano14:03:08 <drmessano> I would think if the computer is too unstable to support keeping a softphone registered and has sound issues, then it's not stable enough for them to actually do other work
18:30.45Kobazdrmessano: i remember being thoroughly impressed when digium did the 50% packet loss demo at astricon
18:31.04Kobazdrmessano: people work in some pretty unstable environments
18:31.05drmessanoAll of these nighmare scenarios with softphones are predicated on issues that would otherwise make all of their other work impossible
18:31.30Kobazi've been roped into cleaning out a 100+ malware infestation because they couldn't actually download the soft phone app because the browser kept crashing
18:31.42Kobazbut they were otherwise working 'just fine'
18:32.18SamotI had someone complain audio was chopping.
18:32.23drmessanoIs "just fine" their assessment or their actual productivity?
18:32.24SamotI had someone complain audio was choppy.
18:32.30crandonlinphonec reports Media streams established... (video) regardless if I add a family peer to sip.conf
18:32.41Kobazlinphone, fun
18:32.44Kobazjoin the club of issues
18:32.47SamotTurns out numerous systems were infected and not only was the audio choppy, normal Internet sucked.
18:32.59Kobazlinphone's tcp/tls handling seems wanting
18:33.11Kobazi'm having issues with one out of every 15 calls just timing out
18:33.26crandonKobaz: oh yeag, I've been strugling with it for 2 days now. Now at least the p2p call works between android linphone and linux client.
18:33.30Kobazand then if the user leaves their phone running for a few hours, they wont receive calls
18:33.34drmessanoBecause a hard phone is only going to be marginally better under 90% of these arguments
18:33.36Kobazcrandon: try MicroSIP
18:34.05Kobazi like linphone as a concept, but i need to download the source and start fixing shit
18:34.20crandonKobaz: I need a cli client or some simple sdk for one end as it will be a 'doorbell'
18:34.28Kobazpjsip cli client
18:34.38Kobazsdk... use asterisk as a UA
18:35.49crandonKobaz: but wouldn't that would require to run asterisk on the 'doorbell' or expose the camera/microphone some way, so that asterisk could access it?
18:36.03Kobazi dunno
18:36.09Kobazi have no idea how you have this set up
18:36.55drmessanoWhat's the difference between running Asterisk on the "doorbell" or a cli app/some other SDK?
18:37.04crandonKobaz: I haven't, but the idea was to have a RPI at the gate, asterisk at home, and android devices as the in/oo-home devices.
18:37.31drmessanoSo put Asterisk on the RPI as the interface to the gate
18:38.54Kobazyup
18:39.04Kobazdoes a dual ethernet pi exist yet
18:39.48Kobazhttp://www.industrialberry.com/ethernetberry-v-1-1/
18:39.52Kobazi guess you need to add on
18:39.58crandondrmessano: that's how I understood one of the options proposed by Kobaz, but the reason I'm hesitant to do so is, that it's connected to an untrusted network and connects via VPN home, so in order to let the Android devices register to it I'd need to get them through my home router, to the vpn server to the raspberry
18:40.18drmessanoYou don't need to let them register to it
18:40.38crandondrmessano: how would I be able to notify them?
18:40.38Kobazyou can firewall the crap out of it
18:40.40drmessanoAsterisk is a telephony toolkit, not just some SIP registrar/PBX
18:40.54drmessanoYou can run Asterisk on the RPI and inside if you want
18:41.07drmessanoYou asked for a CLI/SDK for the doorbell
18:41.08Kobazyup, i got asterisk running on the pi once
18:41.13drmessanoAsterisk suits this role
18:41.32crandondrmessano: ah you mean to use a 3rd party registrar instead of using asterisk as one?
18:41.40drmessanoDude no
18:42.26drmessanoAsterisk+RPI for the doorbell, then whatever you planned to run inside for the Android devices
18:43.12drmessanoYou asked for a CLI/SDK for the doorbell <-- The answer to that one was *Asterisk*
18:43.24drmessanoYou said you planned to put Asterisk in the house for the Android Clients
18:43.27drmessanoSo still do that?
18:43.28crandondrmessano: ah ok, so even 1 asterisk as a UA on the raspberry and 1 asterisk as PBX/registrar on the VPN server, or wherever.
18:44.03drmessanoYeah, you can run Asterisk in more than one place.  It's free
18:44.04crandon(or even use a 3rd party registrar on the internet)
18:46.05drmessano*shrug*
18:46.11drmessanoWhy not just stick to Asterisk
18:46.27crandonThe reason I'd like to use asterisk (as a B2BUA) is that I'd like to be able to call a group of accounts, which any could answer the call. So the question is, if the current situation is related to the client (linphonec) in which case using asterisk on the PI could be a solution, or it's related to my PBX/SIP registrar config, in which case it wont help
18:47.01drmessanoLinphone is always a problem
18:50.17Kobazthe linux linphone works pretty well actually
18:50.29Kobazthe new version of linphone is supposed to include g729 by default as well
18:51.10crandonOk, I added a logger line, increased verbosity and turned on sip debugging. Captured all port 5060 traffic on the asterisk machine. Anything else?
18:52.11Kobazpretty good for now
18:53.57crandonand the configs: extensions.conf, sip.conf
18:55.54crandonhere you go: https://drive.google.com/open?id=1YvXshge2oZzjhQHx4cKXX8m_b7ejDsIM
18:55.54crandonI was lazy to modify names. So: usera=loci, userb=kata, family=nemeth
18:56.07*** join/#asterisk retentiveboy (~retentive@c-73-43-121-243.hsd1.ga.comcast.net)
18:56.22crandongate is gate I didn't lie about that one :)
18:57.07retentiveboyhttps://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard says an identify object is created and a match is added for each remote host but I'm not seeing those objects with `pjsip show identifies`
18:57.28retentiveboywhat else controls creation of those object?
18:57.45crandonAll config modification are pretty much at the bottom of both files
18:58.55crandonAnd the log contains: gate -> nemeth, which is dispatched to loci and kata, and eventually answered by loci
18:59.02retentiveboyduh, rtfm....  nevermind.
19:00.35crandongate = linphonec, loci,kata = linphone for android, video codec is set to VP8 (as that's the only video codec the linux linphone supports (h264 would be significanlty better))
19:02.40*** join/#asterisk led_belly (led_belly@gateway/vpn/protonvpn/ledbelly/x-06903193)
19:03.27crandonall peers are on the same lan: asterisk=192.168.0.42, gate=0.4...
19:07.49*** join/#asterisk derPlexus (~plexus@ip-178-203-131-93.hsi10.unitymediagroup.de)
19:07.54*** join/#asterisk guerby (~guerby@april/board/guerby)
19:12.03*** join/#asterisk deavmi (~deavmi@165.0.49.28)
19:12.28crandonKobaz, drmessano: did you manage to take a look at it?
19:14.01drmessanoI'm getting prompted to download from google drive, so no
19:14.44crandonErr, how would you like to get it?
19:15.00drmessanoPastebin works fine
19:17.27crandonsip.conf: http://dpaste.com/2FC7SR6 extensions.conf: http://dpaste.com/3BWHQWZ
19:19.31drmessanoAn allow without a disallow doesn't make sense
19:21.31drmessanoSo if you need to force vp8, I you should disallow others or disallow all and allow vp8 and your preferred audio codec
19:22.01crandonlogs: http://dpaste.com/38582M0
19:22.17drmessanoso do disallow=all then allow=vp8,opus
19:23.45Samotallow is ignored if there is no disallow
19:24.00crandonNo change.
19:24.14crandonI mean I've changed it, but the situation is still the same.
19:24.32drmessanoShow a log after you've changed it
19:25.09drmessanoYour SDP's are a mess
19:26.10SamotAlso turn off debug
19:26.15SamotThat is totally not needed
19:26.20Samotcore set debug 0
19:26.28Kobazheh yeah, i said sip debug. not core debug
19:29.29crandonNew logs: https://pastebin.com/usMBdRNs
19:30.06crandonOk, I turned core debug off now.
19:30.25drmessanoYeah post a new call npw
19:30.30drmessanoNot reading that other mess
19:32.19crandonhttps://pastebin.com/PNKP0QLi
19:33.50crandonNow it seems, that the initiating end is not hanging up, when it is initiated from the called party. I don't remember seeing this before. Also I think this is new as well:
19:33.50crandon2020-04-06 21:31:39:812 ortp-error-Failed to parse SDP message.
19:34.07crandonThis is from linphonc (gate)
19:34.28crandonSorry, got to go now, will keep this open and check back in an hour our so.
20:07.06crandonI'm back.
20:07.15crandonAny ideas?
20:09.37SamotI still don't see a sip debug
20:09.47SamotThat doesn't contain "core debug" output.
20:11.16crandonThe last one should be it. At least I ran core set debug 0, reload and re-ran the call
20:13.13SamotIt's not.
20:13.18SamotIt starts with debug output.
20:14.27Kobazheh
20:14.29Kobazkill it!
20:21.27*** join/#asterisk Penguin (~xwQ5kwYl6@our.systems.are.full.of.penguins.at.penguinsystems.net)
20:28.24crandonNew one now copied from the console: https://pastebin.com/sX6G2mZ6
20:28.44crandon(after restarting asterisk via systemd)
20:33.07crandonThis is from logfile and contains only sip related info (as far as I can tell): https://pastebin.com/A0sab3Xk
20:38.25*** join/#asterisk Micc (~Micc@c-24-18-201-121.hsd1.wa.comcast.net)
20:39.12MiccIs this a good place to ask questions about sipml5 and asterisk webrtc setup?
20:39.22*** join/#asterisk salviadud (~rgonzalez@189.207.212.148)
20:40.56Samot[Apr  6 22:25:12] WARNING[21313][C-00000001]: channel.c:5579 set_format: Unable to find a codec translation path: (vp8) -> (opus)
20:40.56Samot[Apr  6 22:25:12] WARNING[21313][C-00000001]: channel.c:5579 set_format: Unable to find a codec translation path: (opus) -> (vp8)
20:41.51MiccIs SIPML5 even a good library to use for WebRTC now? Is CyberMegaPhone better as a starting point for getting WebRTC/Asterisk working?
20:42.21*** join/#asterisk deavmi (~deavmi@165.0.49.28)
20:42.45MiccI have the SIPML5 live demo working, but it's kinda screwy. It takes 5-10 seconds before it even sends the invite to asterisk. Not sure if that's a configuration issue or aa SIPML5 issue.
20:45.29KobazMicc: dump a capture locally
20:45.38Kobazsee if sipml is actually sending anything when you think it is
20:45.50Miccgood idea.
20:45.52Kobazif you dont see the packets, it's not sending them
20:46.36MiccI was trying to step through the code. I suspect it's doing some ICE or TURN thing.
20:46.51Miccwireshark should be easy to verify that theory.
20:46.58crandonwith disable=all and vp8,opus I don't even have sound in p2p connection.
20:49.00Micccrandon, I noticed sound issues as well, but I suspect it might be using a different sound device. For example I believe it's picking a different microphone.
20:49.04crandonSamot: I'm sorry, but this is not saying me anything beside, my p2p test result and the above are likely connected. So far the only combination that provides both audio and video is not setting disallow all _and_ setting allow=vp8. (without setting allow=vp8 I have sound, but no video)
20:49.51Micccrandon, sorry I'm new to the conversation. ignore what I said. sounds like you've got something else going on.
20:49.57SamotYou need to allow an audio codec as weel
20:49.59Samotwell
20:50.12Samotallow=opus&vp8
20:50.20Kobaz,
20:50.26Kobazor does & work too?
20:50.36crandonvp8/opus is not giving audio  (allow=vp8,opus as suggested earlier)
20:51.30*** join/#asterisk Madomokhtar (~Madomokht@197.246.42.114)
20:51.35Madomokhtarhello
20:51.38Madomokhtarneed help
20:52.12*** part/#asterisk Madomokhtar (~Madomokht@197.246.42.114)
20:52.15MiccI figured out my problem. It was trying to lookup ICE servers. In expert mode set to [] and it is instant fast.
20:52.25Kobaznice
20:53.19MiccI'm about to see if my codecs give me working audio.
20:54.17SamotHonestly, off the top my head I can't remember.
20:55.13crandonSamot: so allow=vp8,opus leads to video but no audio (with disable=all)
20:55.56crandonThis is the combination that was used to produce the pastbin logs
20:57.57SamotOK then try something that isn't opus.
20:58.05Samotlike ulaw/alaw
20:59.10*** join/#asterisk Janos (~Janos@201.204.94.76)
20:59.12MiccI have partial audio. My main machine doesn't seem to be playing anything from my laptop, but I can hear everything on my laptop from my main machine. So I'm guessing my desktop is trying to play the audio out the wrong device or something.
20:59.35MiccI'm using allow=opus,vp8,vp9,h264
21:03.25crandonSamot: Unable to find a codec translation path: (vp8) -> (ulaw) same for alaw
21:04.22Miccwhen I do rtp set debug on I can see packets being sent that say "(via ICE)" but I don't think I have an ice server unless asterisk is one by default?
21:04.59crandonSamot: pcm works.
21:05.14MiccI see a lot of these messages filling my screen too: SRTP protect: replay check failed (index too old)
21:05.27MiccI suspect that's unrelated though.
21:07.28crandonOk, so disallow=all allow=vp8 allow=pcm result in a working p2p audio and video call, however calling the 'group' extension and picking it up on the same phone as before results in sound only and no video
21:07.42crandonWould a new sip debug output help at this point?
21:10.15Kobazalways
21:11.17MiccDoes it not work on Microsoft Edge? I get an error about createPeerConnection
21:12.09crandonThis is driving me now not even peer call works with pcm...
21:19.58crandonIf i'm omitting any codec configuration vp8 and ulaw is selected by the peers (as reported by phone client), but setting allow=vp8,ulaw results in channel.c:5579 set_format: Unable to find a codec translation path: (ulaw) -> (vp8)
21:23.27*** join/#asterisk deavmi (~deavmi@165.0.49.28)
21:24.31MiccI can only get one side to work at a time. I feel like this is a bug with sipml5 but I can't be sure. Only the one who places the call can hear the other person. Which ever device answers the call does not get audio but the microphone works.
21:27.14Miccaudio only call works, but when I do video only the one placing the call can hear audio.
21:31.18Miccdoes the 'simple-bridge' basic-bridge not support audio and video?
21:32.22Miccoh a video call I can see they both join the bridge twice. Only once for each with audio call.
21:33.12MiccThat makes sense. Maybe I should try other audio codecs.
21:34.20MiccHow can I see which codecs a call is using? I used to be able to do sip show channels is there a similar command for pjsip?
21:36.13MiccI see pjsip show channels but I can't tell what codec is being used.
21:36.17*** join/#asterisk chandoo (~chandoo@pool-100-1-166-161.nwrknj.fios.verizon.net)
21:38.35crandonOk, so it seem the working combination with disallow all is to have alaw first and only after that vp8
21:38.49crandonat least for the p2p call.
21:39.42crandonBut video is just not working with 'group call'.
21:46.16*** join/#asterisk CarlosTico (~CarlosTic@107-134-203-65.lightspeed.wlfrct.sbcglobal.net)
22:08.48SamotHow are you doing this group call?
22:18.48*** join/#asterisk matrix1233 (~matrix123@185.61.186.147)
23:19.29drmessanoIt's been a few hours.. do all softphones still suck?
23:23.56Miccdrmessano, lol, We've been using SessionCloud, it had a lot of bugs, but it's gotten a little less suck. The QR Code provisioning is pretty slick.
23:24.27drmessanook
23:24.38MiccI'm trying to find out if all webrtc with asterisk sucks.
23:24.44Miccand it seems it does suck.
23:25.46drmessanoWell, don't ask in here
23:26.00SamotHrm.
23:26.00drmessanoYou'll get a few good answers from the developers, sure
23:26.05SamotHere we go again.
23:26.05fileit works fine, we use it every day and Sangoma products use it
23:26.07MiccIs there a better channel for that?
23:26.08Samot^^^^
23:26.12SamotWebRTC works fine.
23:26.24fileit's just not "plug and play" and SipML5 is not something we use, I've had better experience with JsSIP
23:26.24SamotIt is used by numerous people.
23:27.11SamotThis is getting into the realm of logic that IPv6 or VPNs must be used to solve NAT issues.
23:27.14drmessanoStick to chan_sip, hardphones, and PRI's if you want stability.  AKA the B.O.O.M.E.R. Stack
23:27.16Miccyeah, appr.tc/ seems to work fine with webrtc, but nothing seems to work 100% with asterisk.
23:27.33SamotMicc: That's because Asterisk is a toolkit.
23:27.39SamotBy default, it's a blank slate.
23:27.46SamotYOU have to make it do what YOU want.
23:28.22filethe Wazo guys also are using WebRTC with Asterisk for video conferencing and such
23:28.27drmessanoOh and only on bare metal, because VMs are kind new
23:28.34SamotI know it's always referred to as a "Software PBX" because that's the primary use case for it but it's not.
23:28.43MiccI just need one good starting point and I'll get there. But both the tutorials on the wiki leave some things out.
23:31.01MiccWhat channel would be best for help with WebRTC? I need to get something setup that will work with modern browsers on any platform, windows/mac/linux/android
23:33.52fileI don't have an answer for that because there's tons of moving parts and it depends...
23:34.15fileWebRTC is just layers of technology in a browser combined with a Javascript API to actually use it
23:34.34fileor a library from Google which can be used in native applications
23:34.55fileit doesn't even define a signaling layer, like SIP, so there's libraries that add that and help out - such as JsSIP
23:34.59filesome of which include examples
23:35.26filethen there's the Asterisk side, which is kind of independent in a way but has its own configuration
23:35.58fileit's all just ways to build things
23:42.51*** join/#asterisk matrix1233 (~matrix123@185.61.186.152)
23:45.53*** join/#asterisk led_belly (led_belly@gateway/vpn/protonvpn/ledbelly/x-06903193)

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