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.47 | dritskalle | pjsip - 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.07 | Samot | pjsip show endpoints |
12:07.11 | Samot | pjsip show aors |
12:07.15 | Samot | There are quite a few. |
12:16.37 | Samot | Am 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.08 | Samot | So I can I get Asterisk to just accept a standard "No Answer" without the Dial() timer expiring? |
12:17.18 | Samot | -I |
12:18.08 | *** join/#asterisk snadge (snadge@unaffiliated/snadge) |
12:19.29 | Samot | I'm also kinda finding it where that Asterisk also considers a 483 as a "No Answer from user (user alerted)". |
12:19.40 | Samot | 483 is Too Many Hops, it means it never made it to the user. |
12:19.45 | Samot | So 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.19 | dritskalle | Samot: yeah buut pjsip show/list endpoints/contacts dont give totals.. seems dirty having to parse output |
12:34.57 | Samot | Well Endpoints probably isn't the right choice. |
12:35.09 | Samot | You can have 1 endpoint but 20 contacts. |
12:35.27 | Samot | With PJSIP you need to look at the contacts an AOR has. |
12:35.34 | Samot | Chan_SIP is 1:1 |
12:36.11 | dritskalle | in 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.18 | Samot | OK |
12:36.34 | Samot | The fact you are using it 1:1 doesn't mean it should automagically just report on that |
12:36.39 | Samot | It's a 1:many thing. |
12:36.46 | Samot | Look at the other PJSIP options. |
12:36.57 | Samot | pjsip show <tab> |
12:37.12 | dritskalle | i am just looking for a quick way to get counts.. all users, online/offline users |
12:37.39 | dritskalle | this application only allows one contact per endpoint - with replace |
12:38.01 | Samot | OK. |
12:38.07 | Samot | That doesn't matter. |
12:39.33 | dritskalle | the output of the pjsip show commands are annoyingly formatted for parsing |
12:39.50 | Samot | OK. |
12:39.55 | Samot | That is what you have to work with. |
12:40.00 | [TK]D-Fender | Go look at AMI then |
12:40.01 | Samot | Or AMI commands |
12:40.21 | Samot | Asterisk is a tool kit. |
12:40.28 | Samot | It'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.05 | Samot | pjsip show aors will show all the AORs and how many online contacts they have. |
12:42.06 | dritskalle | actually - maybe AMI is a good idea |
12:42.25 | Samot | pjsip show contacts will output all the online contacts with their AOR |
12:43.30 | Samot | I don't think this is very hard. |
12:43.34 | Samot | You have a 1:1 setup. |
12:43.43 | Samot | So how many Endpoints/AORs do you have? |
12:43.53 | Samot | Vs. how many contacts are online. |
12:44.26 | Samot | AMI 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.41 | dritskalle | i never used AMI - was assuming it format the data in some structured way or no? |
12:52.23 | [TK]D-Fender | Don't assume |
12:52.34 | [TK]D-Fender | That's why they invented documentation |
12:52.51 | [TK]D-Fender | And actual usage + eyes |
13:04.09 | dritskalle | relevant 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-Fender | Yeah 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.56 | file | AMI is for applications, CLI is for human eyes |
13:13.23 | [TK]D-Fender | CLI sometimes comes with its own spoon ;) |
13:13.38 | dritskalle | :p |
13:16.14 | *** join/#asterisk snadge (snadge@unaffiliated/snadge) |
13:25.10 | *** join/#asterisk brad_mssw (~brad@66.129.88.50) |
13:34.00 | ntt | Hello, it is possible to read all extensions in a ring group using agi (phpagi)? (Obviously I know the ring group number) |
13:35.36 | sibiria | are ring groups an asterisk thing at all? |
13:37.14 | sibiria | if your "group" is just a set of channels stored in a variable, you can obviously read that variable over AGI |
13:39.05 | sibiria | if it's implemented via the DIALGROUP function you should be able to read that as well |
13:39.16 | sibiria | (at least i think you can read a DIALGROUP) |
13:41.58 | [TK]D-Fender | ntt, No. |
13:42.18 | [TK]D-Fender | actually .... depends on a point of view |
13:43.15 | [TK]D-Fender | AGI 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.44 | ntt | [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-Fender | Then code accordingly |
13:44.32 | ntt | I have to notify through an api when a call arrives and which phones are ringing |
13:44.57 | [TK]D-Fender | That'll be trickier.... |
13:45.10 | [TK]D-Fender | especially if you have concurrent phone calls trying to ring |
13:45.12 | ntt | my idea is to use a custom destination (with freepbx) as inboud route and implement [my-trigger] in extensions_custom.conf |
13:45.20 | ntt | is this approach correct? |
13:45.35 | [TK]D-Fender | I 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-Fender | I can't assume the ring-group is why |
13:46.55 | [TK]D-Fender | This 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.30 | ntt | ok... 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-Fender | I just gave you the path |
13:57.00 | [TK]D-Fender | You 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-Fender | Doesn't actually confirm they rang though |
13:57.29 | [TK]D-Fender | only 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.50 | lonepurplesmurf | What 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.52 | lonepurplesmurf | thanks |
14:33.13 | Samot | lonepurplesmurf: Do you have a support contract or any sort of an agreement with Digium? |
14:33.13 | [TK]D-Fender | You shouldn't be running Cert unless you're paying Digium for a support contract |
14:33.20 | Samot | If 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.56 | Sepultura | Hallo by default Asterisk is using UDP? |
14:36.16 | Samot | Depends on what it is doing. |
14:36.23 | Samot | For SIP, yes. |
14:36.30 | Sepultura | and IAX? |
14:36.34 | Samot | Yes. |
14:36.40 | [TK]D-Fender | IAX is only UDP |
14:36.45 | Samot | Because those are the standards. |
14:36.46 | Samot | And that. |
14:37.56 | Sepultura | afaik FreePBX let you choose SIP over TCP |
14:38.11 | Samot | Yes. |
14:38.14 | Samot | You could. |
14:38.22 | Samot | Because SIP works over TC |
14:38.24 | Samot | Because SIP works over TCP |
14:38.31 | Samot | But that is not the standard default. |
14:39.14 | Samot | You can do SIP over TCP, TLS, WS, WSS |
14:40.53 | Samot | But that's just the signalling. |
14:40.58 | Samot | The RTP is always UDP. |
14:40.59 | Sepultura | TLS is a transport layer? |
14:41.14 | Samot | Yes. |
14:41.20 | Samot | Just 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.47 | Sepultura | RDP 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.16 | lonepurplesmurf | Samot No, I just wanted to be able to verify the files are signed. thanks |
14:59.36 | Samot | Signed? |
14:59.48 | Samot | It regular stable release is just fine. |
14:59.55 | Samot | s/It/The |
15:00.11 | *** join/#asterisk snadge (snadge@unaffiliated/snadge) |
15:09.44 | lonepurplesmurf | I 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.18 | Samot | If you need all that then you need to call Digium and get a contract. |
15:21.33 | Samot | Otherwise the stable releases of 13 or 15 are just fine. |
15:23.07 | Samot | Asterisk/Digium is just Josh or Sean or Mark... |
15:23.41 | Samot | It'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.40 | lonepurplesmurf | Lol...that's now how digital signatures work. |
15:33.53 | lonepurplesmurf | It's not "all that". They sign it for a reason. |
15:34.22 | lonepurplesmurf | If 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.50 | lonepurplesmurf | Anyhow 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.34 | peacetreaty | i 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.14 | dritskalle | ..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.08 | nny | we 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.26 | file | There 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.52 | nny | @file thanks, I'll look for that option |
19:00.00 | file | Going unreachable itself doesn't terminate active calls |
19:00.20 | nny | @file got it thanks |
19:02.00 | nny | rtptimeout |
19:02.03 | nny | thanks |
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.51 | damania | hi 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.38 | damania | is 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.44 | dritskalle | pjsip - 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.04 | dritskalle | pjsip show contact contactname does not list that info |
22:35.05 | dritskalle | time 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.23 | dritskalle | found one i can use.. ami PJSIPShowRegistrationInboundContactStatuses has a Regexpires: utime |
23:52.05 | *** join/#asterisk lbazan (~LoKoMurdo@fedora/LoKoMurdoK) |