IRC log for #asterisk on 20180503

00:18.41*** join/#asterisk infobot (ibot@rikers.org)
00:18.41*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.21.0 (2018/05/01), Standard: 15.4.0 (2018/05/01); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
00:55.42*** join/#asterisk aness (~aness@cm-84.209.48.16.getinternet.no)
01:18.11*** join/#asterisk jocthbr (~salci@138-122-44-143.host.cicloti.com.br)
01:18.46*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
01:58.12*** join/#asterisk visip (~visix@gateway/tor-sasl/visip)
02:28.43*** join/#asterisk paulgrmn (~paulgrmn@184.75.212.68)
02:48.31*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
02:55.32*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
03:27.39*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
03:37.05*** join/#asterisk s-mutin (~s-mutin@85.234.114.134)
03:39.07*** join/#asterisk rpifan (~rpifan@2600:1:d118:d7f7:d07b:dcc4:13af:8c6e)
04:39.52*** join/#asterisk gtjoseph (~gtjoseph@unaffiliated/gtj)
04:39.56*** mode/#asterisk [+o gtjoseph] by ChanServ
05:21.41*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
05:38.46*** join/#asterisk miralin (~Thunderbi@194.8.128.51)
06:15.20*** join/#asterisk snadge (snadge@unaffiliated/snadge)
06:47.22*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
07:21.46*** join/#asterisk snadge (snadge@unaffiliated/snadge)
07:31.52*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
07:34.39*** join/#asterisk UncleKiwi (~UncleKiwi@unaffiliated/unclekiwi)
07:46.54*** join/#asterisk sibyakin (~sibyakin@188.162.228.153)
07:54.15*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
08:59.36*** join/#asterisk Eloy (~Eloy@89.101.24.185)
09:01.21*** join/#asterisk visip (~visix@gateway/tor-sasl/visip)
09:30.38*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
09:49.33*** join/#asterisk jkroon (~jkroon@105.4.3.144)
09:51.58*** join/#asterisk snadge (snadge@unaffiliated/snadge)
09:56.18*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
10:14.36*** join/#asterisk snadge (snadge@unaffiliated/snadge)
10:27.03*** join/#asterisk snadge (snadge@unaffiliated/snadge)
10:29.21*** join/#asterisk defsdoor (~defsdoor_@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
10:31.47*** join/#asterisk ganbold (~ganbold@173.244.215.173)
10:37.28*** join/#asterisk sibyakin (~sibyakin@188.162.228.153)
11:00.05*** join/#asterisk lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com)
11:03.26*** join/#asterisk snadge (snadge@unaffiliated/snadge)
11:16.50*** join/#asterisk Sepultura (~Sepultura@unaffiliated/sepultura)
11:18.05*** join/#asterisk snadge (snadge@unaffiliated/snadge)
11:32.11*** part/#asterisk ani- (~molgrum@unaffiliated/molgrum)
11:32.20*** join/#asterisk Sepultura_ (~Sepultura@unaffiliated/sepultura)
11:38.57*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
11:44.18*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
11:58.47dritskallepjsip - is there an equivilant to the last line of chan+_sip "sip show peers" to get a total/off/on?  i cant find anything.. parsing or event/log/update seems like lots of work
12:02.50*** join/#asterisk sekil (~sekil@static-150-83-100-159.thenetworkfactory.nl)
12:07.07Samotpjsip show endpoints
12:07.11Samotpjsip show aors
12:07.15SamotThere are quite a few.
12:16.37SamotAm I missing something? I'm have a switch send back a 408 after 1XX replies and Asterisk treats it like a 408 before 1XX replies and considers it "Busy/Congested". If I send back a 480 which Asterisk has listed as "No Answer from User",  same issue. Asterisk considers it BUSY. I'm sure because 480 means BUSY/DND.
12:17.08SamotSo I can I get Asterisk to just accept a standard "No Answer" without the Dial() timer expiring?
12:17.18Samot-I
12:18.08*** join/#asterisk snadge (snadge@unaffiliated/snadge)
12:19.29SamotI'm also kinda finding it where that Asterisk also considers a 483 as a "No Answer from user (user alerted)".
12:19.40Samot483 is Too Many Hops, it means it never made it to the user.
12:19.45SamotSo the user would not have been alerted.
12:22.32*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
12:24.40*** join/#asterisk K0HAX (~michael@28.139.154.104.bc.googleusercontent.com)
12:26.14*** join/#asterisk nighty__ (~cp@s229123.ppp.asahi-net.or.jp)
12:33.19dritskalleSamot: yeah buut pjsip show/list endpoints/contacts dont give totals.. seems dirty having to parse output
12:34.57SamotWell Endpoints probably isn't the right choice.
12:35.09SamotYou can have 1 endpoint but 20 contacts.
12:35.27SamotWith PJSIP you need to look at the contacts an AOR has.
12:35.34SamotChan_SIP is 1:1
12:36.11dritskallein my case all contacts are 1 for 1..  i can do   list contacts for online users and list endpoints for all users - then a bunch of manual parsing stuff wich is rather annoying
12:36.18SamotOK
12:36.34SamotThe fact you are using it 1:1 doesn't mean it should automagically just report on that
12:36.39SamotIt's a 1:many thing.
12:36.46SamotLook at the other PJSIP options.
12:36.57Samotpjsip show <tab>
12:37.12dritskallei am just looking for a quick way to get counts.. all users, online/offline users
12:37.39dritskallethis application only allows one contact per endpoint - with replace
12:38.01SamotOK.
12:38.07SamotThat doesn't matter.
12:39.33dritskallethe output of the pjsip show commands are annoyingly formatted for parsing
12:39.50SamotOK.
12:39.55SamotThat is what you have to work with.
12:40.00[TK]D-FenderGo look at AMI then
12:40.01SamotOr AMI commands
12:40.21SamotAsterisk is a tool kit.
12:40.28SamotIt's up to those using it to do what they want with it.
12:41.43*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
12:42.05Samotpjsip show aors will show all the AORs and how many online contacts they have.
12:42.06dritskalleactually - maybe AMI is a good idea
12:42.25Samotpjsip show contacts will output all the online contacts with their AOR
12:43.30SamotI don't think this is very hard.
12:43.34SamotYou have a 1:1 setup.
12:43.43SamotSo how many Endpoints/AORs do you have?
12:43.53SamotVs. how many contacts are online.
12:44.26SamotAMI or using the CLI commands, you're parsing data that is outputted to you.
12:45.40*** join/#asterisk snadge (snadge@unaffiliated/snadge)
12:47.09*** join/#asterisk sekil (~sekil@static-150-83-100-159.thenetworkfactory.nl)
12:47.41dritskallei never used AMI - was assuming it format the data in some structured way or no?
12:52.23[TK]D-FenderDon't assume
12:52.34[TK]D-FenderThat's why they invented documentation
12:52.51[TK]D-FenderAnd actual usage + eyes
13:04.09dritskallerelevant docs not all that easy to find..  did a test with ami PJSIPShowEndpoints and it is structured better than show commands for sure
13:08.10*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
13:11.37[TK]D-FenderYeah docs are a little lighter, so that's what testing is for.  Every command has its own way of presenting.  AMI doesn't truncate like the "show" commands often do, and gets you more info typically.  This is so you can more properly scan the activity on your server to have something solid to act on.  "Show" commands are often quick dumps for basic stuff so the focus was on other avenues
13:12.41*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:12.56fileAMI is for applications, CLI is for human eyes
13:13.23[TK]D-FenderCLI sometimes comes with its own spoon ;)
13:13.38dritskalle:p
13:16.14*** join/#asterisk snadge (snadge@unaffiliated/snadge)
13:25.10*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:34.00nttHello, it is possible to read all extensions in a ring group using agi (phpagi)? (Obviously I know the ring group number)
13:35.36sibiriaare ring groups an asterisk thing at all?
13:37.14sibiriaif your "group" is just a set of channels stored in a variable, you can obviously read that variable over AGI
13:39.05sibiriaif it's implemented via the DIALGROUP function you should be able to read that as well
13:39.16sibiria(at least i think you can read a DIALGROUP)
13:41.58[TK]D-Fenderntt, No.
13:42.18[TK]D-Fenderactually .... depends on a point of view
13:43.15[TK]D-FenderAGI offers nothing in terms of interfacing with Asterisk.  Ring Groups are a dialplan construct invented by FreePBX's GUI.  The closes you could get is to use your script to directly look at the FreePBX DB tables and process that
13:43.44ntt[TK]D-Fender: thank you. The problem is that I'd like to avoid one db query each time a call arrives
13:44.06[TK]D-FenderThen code accordingly
13:44.32nttI have to notify through an api when a call arrives and which phones are ringing
13:44.57[TK]D-FenderThat'll be trickier....
13:45.10[TK]D-Fenderespecially if you have concurrent phone calls trying to ring
13:45.12nttmy idea is to use a custom destination (with freepbx) as inboud route and implement [my-trigger] in extensions_custom.conf
13:45.20nttis this approach correct?
13:45.35[TK]D-FenderI could dial 400 and while it's ringing another call comes in and hits a ring group that 400 is a member of.
13:45.43[TK]D-FenderI can't assume the ring-group is why
13:46.55[TK]D-FenderThis sounds like a solid case for custom dialplan tagging the created channels so they can be tracked and an AMI tracker for the ringing status capture
13:47.30nttok... but I'm trying to "store" the channel to I know when a call is answered or when a call hangs up without answer (example: RECEIVING CALL FROM xxx on CHANNEL SIP/conv-0828xxxxxxx-in-00000062)
13:51.31*** join/#asterisk snadge (snadge@unaffiliated/snadge)
13:52.56[TK]D-FenderI just gave you the path
13:57.00[TK]D-FenderYou might be able to avoid AMI if you aren't looking to see it in run-time, only logged results.  This would be by dialing nested local channels with macros on answer and having the local channel track immediate dial failures (phone DND, call setup failure) that prevented ringing, etc
13:57.16[TK]D-FenderDoesn't actually confirm they rang though
13:57.29[TK]D-Fenderonly if enough time passed before someone answered.
14:02.03*** join/#asterisk sebastienthiry (~Thunderbi@109.134.212.7)
14:02.19*** join/#asterisk kharwell (kharwell@nat/digium/x-dazuednrdkmwbtvg)
14:02.19*** mode/#asterisk [+o kharwell] by ChanServ
14:05.07*** join/#asterisk rwb (~Thunderbi@74.85.159.242)
14:21.36*** join/#asterisk lonepurplesmurf (~lonepurpl@cpe-172-74-29-54.nc.res.rr.com)
14:21.50lonepurplesmurfWhat keys do I need to receive to verify this?  http://downloads.asterisk.org/pub/telephony/certified-asterisk/asterisk-certified-13.18-cert3.tar.gz.asc
14:21.52lonepurplesmurfthanks
14:33.13Samotlonepurplesmurf: Do you have a support contract or any sort of an agreement with Digium?
14:33.13[TK]D-FenderYou shouldn't be running Cert unless you're paying Digium for a support contract
14:33.20SamotIf the answer is no, then cert is the wrong choice.
14:34.04*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
14:34.04*** mode/#asterisk [+o cresl1n] by ChanServ
14:35.56SepulturaHallo by default Asterisk is using UDP?
14:36.16SamotDepends on what it is doing.
14:36.23SamotFor SIP, yes.
14:36.30Sepulturaand IAX?
14:36.34SamotYes.
14:36.40[TK]D-FenderIAX is only UDP
14:36.45SamotBecause those are the standards.
14:36.46SamotAnd that.
14:37.56Sepulturaafaik FreePBX let you choose SIP over TCP
14:38.11SamotYes.
14:38.14SamotYou could.
14:38.22SamotBecause SIP works over TC
14:38.24SamotBecause SIP works over TCP
14:38.31SamotBut that is not the standard default.
14:39.14SamotYou can do SIP over TCP, TLS, WS, WSS
14:40.53SamotBut that's just the signalling.
14:40.58SamotThe RTP is always UDP.
14:40.59SepulturaTLS is a transport layer?
14:41.14SamotYes.
14:41.20SamotJust as it always has been.
14:41.42*** join/#asterisk rmudgett (rmudgett@nat/digium/x-vrceuvwnlgltxqjx)
14:41.42*** mode/#asterisk [+o rmudgett] by ChanServ
14:42.47SepulturaRDP is TL too :O
14:43.08*** join/#asterisk snadge (snadge@unaffiliated/snadge)
14:43.27*** join/#asterisk kunwon1 (~kunwon1@unaffiliated/kunwon1)
14:49.32*** join/#asterisk Qwell (~north@asterisk/developer/Qwell)
14:49.32*** mode/#asterisk [+o Qwell] by ChanServ
14:59.16lonepurplesmurfSamot No, I just wanted to be able to verify the files are signed.  thanks
14:59.36SamotSigned?
14:59.48SamotIt regular stable release is just fine.
14:59.55Samots/It/The
15:00.11*** join/#asterisk snadge (snadge@unaffiliated/snadge)
15:09.44lonepurplesmurfI linked to a signature file.  Someone signed it.  It proves the file is by the authors.  I was wanting to know their public keys so I can verify it.
15:16.36*** join/#asterisk jkroon (~jkroon@105.4.0.24)
15:21.18SamotIf you need all that then you need to call Digium and get a contract.
15:21.33SamotOtherwise the stable releases of 13 or 15 are just fine.
15:23.07SamotAsterisk/Digium is just Josh or Sean or Mark...
15:23.41SamotIt's a corporation.  This isn't some app you're downloading from a random website.
15:26.07*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
15:33.40lonepurplesmurfLol...that's now how digital signatures work.
15:33.53lonepurplesmurfIt's not "all that".  They sign it for a reason.
15:34.22lonepurplesmurfIf you're in an environment where you're concerned about security like a remote part of the world, you want to check those.
15:34.50lonepurplesmurfAnyhow thanks.  They publish them somewhere.  I'll just have to figure out where.
15:48.46*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
15:48.51*** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt)
15:54.34*** join/#asterisk lonepurplesmurf (~lonepurpl@cpe-172-74-29-54.nc.res.rr.com)
15:57.37*** join/#asterisk Worldexe (~Worldexe@95-107-33-134.dsl.orel.ru)
15:59.42*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
16:11.23*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
16:31.50*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
16:40.05*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
16:43.27*** join/#asterisk Hyper_Eye (~mwoodj@pdpc/sponsor/digium/hyper-eye)
16:49.36*** join/#asterisk waldo323_ (~waldo323@75-151-31-89-Michigan.hfc.comcastbusiness.net)
16:53.13*** join/#asterisk krzee (~k@openvpn/community/support/krzee)
17:12.45*** join/#asterisk snadge (snadge@unaffiliated/snadge)
17:33.26*** join/#asterisk seanbright (~sean@asterisk/community-developer/seanbright)
17:33.26*** mode/#asterisk [+o seanbright] by ChanServ
17:35.46*** join/#asterisk wildstal (32f5f959@gateway/web/freenode/ip.50.245.249.89)
17:39.46*** join/#asterisk snadge (snadge@unaffiliated/snadge)
17:48.34peacetreatyi have a strange problem. dahdi is loaded, but /proc/dahdi is empty. and dahdi_scan doesn't show anything too. dahdi_hardware and dahdi_span_assignments list both give me results. does anybody have a clue?
17:51.18*** join/#asterisk seanbright (~sean@asterisk/community-developer/seanbright)
17:51.18*** mode/#asterisk [+o seanbright] by ChanServ
18:07.14dritskalle..I am detective John Kimble... ..who is you dahdi and what does he do?
18:29.25*** join/#asterisk zapata (~zapata@2a02:b18:581:10:894a:4ef8:33f3:7004)
18:55.57*** join/#asterisk nny (ad5db800@gateway/web/freenode/ip.173.93.184.0)
18:57.08nnywe are testing what happens when a client goes UNREACHABLE and asterisk seems to keep the channel open when one side of the channel goes offline. Any settings to ensure this scenario causes asterisk to end the open channel?
18:59.26fileThere are options in both SIP channel drivers which can use lack of flowing RTP to terminate the call, or session timers which send SIP messages and wait for a response
18:59.52nny@file thanks, I'll look for that option
19:00.00fileGoing unreachable itself doesn't terminate active calls
19:00.20nny@file got it thanks
19:02.00nnyrtptimeout
19:02.03nnythanks
19:25.45*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
19:29.41*** part/#asterisk peacetreaty (~peacetrea@static.36.148.9.5.clients.your-server.de)
19:31.54*** join/#asterisk jkroon (~jkroon@165.16.204.169)
19:32.50*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
20:06.38*** join/#asterisk _TWS (uid272088@gateway/web/irccloud.com/x-elwmpdbmimxrcdrq)
20:13.52*** join/#asterisk zapata (~zapata@2a02:b18:581:10:cc14:cb37:b452:16d4)
20:14.13*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
20:51.04*** join/#asterisk damania (~mitesh_Da@cpe-172-90-39-146.socal.res.rr.com)
20:51.51damaniahi i am on freepbx using bria. the xmpp username is different than the extension so the setup is not good.  i want to be able to txt and call on the same extension
20:54.38damaniais there any easy solutions?
20:57.42*** join/#asterisk mou (~donwillia@37.97.50.103)
21:03.56*** join/#asterisk jamesaxl (~James_Axl@41.143.224.95)
21:11.47*** join/#asterisk defsdoor (~defsdoor_@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
21:26.53*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
21:32.13*** join/#asterisk tzafrir (~tzafrir@62-90-199-247.barak.net.il)
21:35.48*** join/#asterisk rwb (~Thunderbi@65.183.151.121)
22:00.37*** part/#asterisk kharwell (kharwell@nat/digium/x-dazuednrdkmwbtvg)
22:06.56*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
22:08.45*** join/#asterisk Typhon (~Typhon@ipservice-092-211-209-124.092.211.pools.vodafone-ip.de)
22:31.44dritskallepjsip - is there command (cli or ami) to get a contacts current time-to-expiration?  with chan_sip it was ship show peer peername
22:32.04dritskallepjsip show contact contactname   does not list that info
22:35.05dritskalletime to incoming register expiration that is
22:43.45*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
22:45.31*** join/#asterisk sibyakin (~sibyakin@188.162.228.98)
22:45.39*** part/#asterisk _TWS (uid272088@gateway/web/irccloud.com/x-elwmpdbmimxrcdrq)
22:49.23dritskallefound one i can use..  ami PJSIPShowRegistrationInboundContactStatuses  has a Regexpires: utime
23:52.05*** join/#asterisk lbazan (~LoKoMurdo@fedora/LoKoMurdoK)

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