IRC log for #asterisk on 20180308

00:11.06*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
00:16.18*** part/#asterisk kharwell (kharwell@nat/digium/x-ddssdzolipbktnwt)
00:32.02*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
00:36.36*** join/#asterisk mcr (~mcr@obiwan.sandelman.ca)
00:39.14*** join/#asterisk robink (~quassel@unaffilated/robink)
00:39.30*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
00:39.38*** join/#asterisk miralin (~Thunderbi@91.237.94.7)
00:45.23*** join/#asterisk pruonckk (~pruonckk@135-143-11-177.raimax.com.br)
00:47.48*** join/#asterisk kunwon1 (~kunwon1@unaffiliated/kunwon1)
01:05.57*** join/#asterisk mcr (~mcr@obiwan.sandelman.ca)
01:18.46*** join/#asterisk infobot (ibot@rikers.org)
01:18.46*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.19.2 (2018/02/21), Standard: 15.2.2 (2018/02/21); 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
01:26.26*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
01:46.08*** join/#asterisk pruonckk (~pruonckk@135-143-11-177.raimax.com.br)
01:59.24*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
02:46.00*** join/#asterisk paulgrmn (~paulgrmn@184.75.212.67)
03:43.44*** join/#asterisk pruonckk (~pruonckk@135-143-11-177.raimax.com.br)
03:53.01*** join/#asterisk paulgrmn (~paulgrmn@184.75.212.67)
04:07.36*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
04:44.41*** join/#asterisk pruonckk (~pruonckk@135-143-11-177.raimax.com.br)
04:53.59klowIs it  is possible to reload the the dialplan through an ARI call ?
05:20.43*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
05:23.14*** join/#asterisk thiagoc_ (~thiagoc@unaffiliated/thiagoc)
06:09.07*** join/#asterisk Oatmeal (Suzeanne@gateway/vpn/privateinternetaccess/suzeanne)
06:38.32*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
06:39.02*** join/#asterisk sh_smith (~sh_smith@cpe-76-174-26-91.socal.res.rr.com)
06:41.19*** join/#asterisk Oatmeal (Suzeanne@gateway/vpn/privateinternetaccess/suzeanne)
06:50.32*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
06:54.28*** join/#asterisk pruonckk (~pruonckk@135-143-11-177.raimax.com.br)
07:00.20*** join/#asterisk Worldexe (~Worldexe@95-107-33-134.dsl.orel.ru)
07:18.13*** join/#asterisk CheBuzz (~CheBuzz@unaffiliated/chebuzz)
07:32.54*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
07:40.06*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
07:50.17*** join/#asterisk DanB_ (~DanB@clt-195.192.200.55.ip-anschluss.net)
07:51.57*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
07:57.47*** join/#asterisk Oatmeal (Suzeanne@gateway/vpn/privateinternetaccess/suzeanne)
07:57.50*** join/#asterisk clarnist (~Zbyszek@ip-91.189.218.2.skyware.pl)
07:57.52clarnisthello
07:58.28clarnistI want to manage a php script for making call and i only make call in local extensions
07:58.52clarnistCan't outbound. Can anybody know how to make outgoing calls?
07:59.09clarnistcontext = 'from-sip-external'
08:02.59SamotYou need to clarify that request a bit more
08:10.20clarnistI have a php script that the idea is to call on phone and retrieve status of this: answer, rejected or not anwered
08:11.03SamotStill not clear.
08:11.08SamotYou want to check the actual phone?
08:11.15SamotOr you want to check the device state in Asterisk?
08:11.16clarnistI am using agi and when I put Channel="SIP/$number" where number is a extension number locally it call it
08:13.15SamotSo you want to call the phone?
08:13.24clarnistYes from php
08:13.47clarnistNo audio only status of connection
08:13.50SamotThen you need to do an AMI Origination or the Originate function/app via the diplan
08:14.00SamotWhat do you mean "status of connection"
08:14.08SamotIf you don't have audio, you don't have a call.
08:14.14SamotThe call still needs to be answered.
08:14.16clarnistAnswered, no answered, rejected
08:14.43Samot3:13:50 AM <Samot> Then you need to do an AMI Origination or the Originate function/app via the diplan
08:15.06*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
08:15.16clarnistI have originate
08:15.21clarnist<PROTECTED>
08:15.21clarnist<PROTECTED>
08:15.21clarnist<PROTECTED>
08:15.21clarnist<PROTECTED>
08:15.21clarnist<PROTECTED>
08:15.22clarnist<PROTECTED>
08:15.26clarnist<PROTECTED>
08:15.28clarnist<PROTECTED>
08:15.30clarnist<PROTECTED>
08:15.32clarnist<PROTECTED>
08:15.34clarnist<PROTECTED>
08:15.40clarnistIt can call inbounds but can't go outside, f.e. cell phone
08:18.07SamotBecause SIP/<external number> isn't a valid endpoint
08:18.22SamotIt needs to be SIP/<trunk peername>/<external number>
08:19.41clarnistThanks it really helps !
08:21.24*** join/#asterisk jkroon (~jkroon@uls-154-73-35-201.wall.uls.co.za)
08:35.20*** join/#asterisk DanB_ (~DanB@clt-195.192.206.162.ip-anschluss.net)
09:19.31*** join/#asterisk sekil (~sekil@cable-89-216-194-252.dynamic.sbb.rs)
09:20.38*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
09:35.57*** join/#asterisk miralin (~Thunderbi@91.237.94.7)
09:49.53*** join/#asterisk sotoz (~sotoz@095-097-255-066.static.chello.nl)
09:50.22sotozHello I'm using asterisk 14.7.6 and when I do MP3Playback() I get the error `Poll timed out/errored out with 0`
09:50.29sotozThe file gets played back correctly
09:50.39sotozbut then I get 10 secs of delay and this error
09:55.53*** join/#asterisk war9407 (war@pool-70-106-220-51.clppva.fios.verizon.net)
10:03.18*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
10:10.14*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
10:19.54*** join/#asterisk Syco (~syco@86.43.91.148)
10:22.02SycoHello, I have a quick question.. Can I do Dial(IAX2/012345@ipaddress) ? Can it work without any peer or authentication? Of course the other server needs to accept anonymous calls, but I can't find if that's a valid dial string.
10:31.56*** join/#asterisk pa (~pa@unaffiliated/pa)
10:34.30*** join/#asterisk miralin (~Thunderbi@91.237.94.7)
11:01.40*** join/#asterisk pruonckk (~pruonckk@135-143-11-177.raimax.com.br)
11:05.56*** join/#asterisk Tim_Toady (~fuzzy@snf-33276.vm.okeanos.grnet.gr)
11:06.47sibiriaSyco: at least that's the channel syntax for old IAX, if that might help
11:29.17*** join/#asterisk miralin (~Thunderbi@91.237.94.7)
11:52.29*** join/#asterisk pawiecki (~pawiecki@89.238.53.32)
11:58.03*** join/#asterisk areski (~areski@154.red-83-47-211.dynamicip.rima-tde.net)
12:05.12*** join/#asterisk lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com)
12:06.53pawieckiHi. Client had a problem calling some extensions, and we restarted asterisk under pressure, which wasn't smart, but it fixed the issue. Now i'm trying to figure out what could be the problem before restart, in logs I see some queued hints right before the restart and there's no "Ringing" after * calls the user. Does that mean that * coundn't send new state to selected users, and couldn't call them?
12:06.55pawieckihttps://paste.fedoraproject.org/paste/JYjKFjVUgyJtcJ4v3oxl7A/raw
12:07.15pawieckicouldn't*
12:14.24*** join/#asterisk sekil (~sekil@nat-73.net011.net)
12:26.43*** join/#asterisk kippi (97e42c10@gateway/web/freenode/ip.151.228.44.16)
12:26.47kippihey
12:27.03kippiis there away from /proc/ I can see how many calls asterisk is processing ?
12:31.42pawieckikippi: what do you mean exactly?
12:32.30kippipawiecki: I want to view how many calls are active, but I want to do this very often and don't want to be calling rasterisk.......
12:33.54pawieckikippi: what do you need this for?
12:34.30kippipawiecki: we would like a "realtime" status from our asterisk boxes
12:35.43sotozHello I'm using asterisk 14.7.6 and when I do MP3Playback() I get the error `Poll timed out/errored out with 0`. The file gets played back correctly but then I get 10 secs of delay (till the dialplan progresses) and this error.
12:36.02sotozanyone had seen that before?
12:36.23pawieckikippi: why not something simple like 'watch asterisk -rx "core show calls" > calls.txt' ?
12:36.47pawieckithen just refresh that file
12:37.36pawieckisotoz: show us logs of this thing hasppening
12:37.40pawieckihappening*
12:39.44kippipawiecki: is it really a good idea to be hitting asterisk like that once a second?
12:42.13pawieckikippi: once every 2 seconds by default. I'm not an expert, but it's a simple solution, and it's a very simple command for * to parse. There can be more elegant solutions.
12:43.52kippipawiecki: with our load we have seen issues with using the asterisk console, this is why I was hoping there might be something in proc I can ref
12:56.51sibiriawhen restarting over the CLI using 'core restart when convenient', will this actually cause asterisk to exit?
12:57.29sibiria(so that safe_asterisk can relaunch it)
12:57.43pawieckisibiria: "his command waits until Asterisk has no calls in progress, and then it restarts the service. It does not prevent new calls from entering the system."
12:58.10pawieckihttps://wiki.asterisk.org/wiki/display/AST/Stopping+and+Restarting+Asterisk+From+The+CLI
12:58.14sibiriayes, the description doesn't entirely explain if it just restarts "core" or quits the process
12:58.39pawiecki"and then it restarts the service"
12:58.55pawieckiwhat is core?
13:04.43sibiriaas i suspected, asterisk doesn't exit at all
13:04.50sibiriait doesn't restart the service in that sense
13:05.04pawieckisibiria: are there atcive calls in progres?
13:05.24sibiriano, and that doesn't matter
13:05.28sibiriait jsut reloads all modules
13:05.34sibiriathat's what "core" means in this context
13:05.51sibiriaand that's what a "restart" means
13:06.10sibiriarather than actually exiting asterisk so that safe_asterisk can fire it up again (to clear out f.e. memory leaks)
13:06.55pawieckisibiria: why are you restarting asterisk if you want safe_asterisk to kick in? Wouldn't stopping asterisk work better in this scenario?
13:07.22sibiriato me, a restart implies asterisk exiting and starting again
13:07.45sotoz@pawiecki: 2018-03-07 12:47:31.000 Playing mp3 file.
13:07.45sotoz2018-03-07 12:47:49.154 NOTICE[22083][C-0000a176] app_mp3.c: Poll timed out/errored out with 0
13:07.46sotoz2018-03-07 12:47:58.000 asterisk[14890]: ChannelID is 1520426851.127082 and Hangupcause is 1.
13:08.17sibiriai'm simply looking for a way to combine the convenient part with an actual restart of the process (because we're seeing some memory leaks, and we can't update to latest 13.x in the nODear future)
13:08.27sibirianear*
13:09.15pawieckisibiria: why not 'service asterisk restart'?
13:10.18sibiriapawiecki: because that doesn't involve the "convenient" part. it just TERMs the process
13:10.19pawieckisotoz: have you seen this: https://issues.asterisk.org/jira/browse/ASTERISK-26085 ?
13:10.47sibiriai want the graceful and patient aspect of it so that ongoing calls aren't abruptly ended
13:10.55sibiriai'll find a way around it though
13:12.55sibiriaadding a new mode to the sysvinit file should suffice - one that issues "core stop when convenient" and then immediately starts the service again
13:20.02*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
13:32.18*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:38.08*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
13:39.00sotozpawiecki: this means that this issue is fixed on th 15.x version?
13:39.43*** join/#asterisk chendy (~alexc@120.229.66.60)
13:40.44*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
13:44.23pawieckisotoz: please read the bug report and release notes for 15.x if you are not sure.
13:45.20sotozwell apparently they say that the target release version is 15.0.0 and the resolution is fixed so yes
13:46.54filethe change went into other branches, but because it wasn't automatically tagged not all versions are in fixed
13:47.30fileif you go to the review - https://gerrit.asterisk.org/#/c/3738/ you can see in cherry picks the branches it went in, and then if you click the "Included in" drop down it'll tell you every release it is in
13:55.22sotozok thanks @file
13:55.50sotozI see that it is included in 14.7.6 also so I would say that this wasn't my issue after all :(
14:07.25*** join/#asterisk aness (~aness@cm-84.209.48.16.getinternet.no)
14:15.59*** join/#asterisk pawiecki (~pawiecki@router.dir.pl)
14:18.23*** join/#asterisk pawiecki (~pawiecki@89.238.53.32)
14:18.29*** join/#asterisk paulgrmn (~paulgrmn@198-0-107-153-static.hfc.comcastbusiness.net)
14:19.09*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
14:24.30*** join/#asterisk gringo (~gringo@unaffiliated/gringo)
15:03.25*** join/#asterisk tuxd00d (~tuxd00d@wsip-70-166-203-100.ph.ph.cox.net)
15:06.13*** join/#asterisk pchero (~pchero@x1-6-d8-d7-75-5e-99-79.cpe.webspeed.dk)
15:15.18*** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-gabtzribydqtzeft)
15:15.18*** mode/#asterisk [+o bford] by ChanServ
15:16.35*** join/#asterisk craigify (~craigify@ip184-186-18-123.no.no.cox.net)
15:17.02*** join/#asterisk kharwell (kharwell@nat/digium/x-fdvcqjdokxytyahq)
15:17.02*** mode/#asterisk [+o kharwell] by ChanServ
15:44.16*** join/#asterisk Oooohboy (~Oooohboy@cpe-67-11-10-120.satx.res.rr.com)
15:44.41*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
15:47.07*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
15:57.27*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
16:05.03*** join/#asterisk retentiveboy (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
16:26.36*** join/#asterisk cybrNaut (cybrNaut@unaffiliated/cybrnaut)
16:29.43*** join/#asterisk rmudgett (rmudgett@nat/digium/x-lutesbdhknaoqkcw)
16:29.43*** mode/#asterisk [+o rmudgett] by ChanServ
16:40.44*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
16:40.45*** mode/#asterisk [+o cresl1n] by ChanServ
16:43.27*** join/#asterisk salviadud (~ralfalfa@187-162-28-201.static.axtel.net)
17:24.30*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
17:29.10*** join/#asterisk _TWS (uid272088@gateway/web/irccloud.com/x-zistmiiijeifspqg)
17:30.48*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
17:49.36*** join/#asterisk miralin (~Thunderbi@91.237.94.7)
18:10.00*** join/#asterisk MrMojit01 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl)
18:29.11*** join/#asterisk MrMojit01 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl)
18:33.33*** join/#asterisk bipolar (~bipolar@offsite.guru)
18:42.50*** join/#asterisk kodomo (~gregor@92.63.174.119)
19:11.06kodomoHi all! I'm trying to migrate form chan_sip to pjsip (therefore working with asterisk 13 and pjsip 2.7.1), but are having trouble setting up TLS. Is it possible that pjsip does not support a series of cipher suites previously supported by chan_sip? (most notably: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA )
19:11.31kodomoTLS works fine with chan_sip, but there seems to be no cipher suite overlap between my clients and pjsip :(
19:16.07kodomopjsip seems to support every component of abovementioned suite individually, but apparently not in the needed combination (it's missing in pjsip list ciphers - and I'm wondering whether I'm merely missing a config item or whether support for the suite has indeed been dropped)
19:30.45*** join/#asterisk mh166 (578fedd8@gateway/web/freenode/ip.87.143.237.216)
19:35.15mh166Hi guys. I'm just trying out the pjsip_wizard.conf
19:35.56mh166Now I'm wondering: is there an option to have a custom replaceable parameter?
19:37.16mh166For example, I'd like to have a parameter for my phone number as my SIP provider loves to use it throughout different options.
19:37.47mh166The final outcome could look something like this:
19:37.59mh166remote_hosts = tel.t-online.de
19:38.22mh166phone_number = +4900000000
19:38.57mh166endpoint/outbound_proxy=sip:{$PHONE_NUMBER}@${REMOTE_HOST}:5060\;lr
19:39.12mh166client_uri_pattern = sip:{$PHONE_NUMBER}@${REMOTE_HOST}:5060
19:39.18mh166---
19:40.57mh166As I've got several different phone numbers to register, this would make using templates soo much easier.
19:41.46mh166I then would only have to specify the phone_number per instance and the rest could come from the template as almost every other option is the same.
19:42.52*** join/#asterisk areski (~areski@37.223.225.58)
19:43.31mh166Is there such an option and I just haven't found it yet? Or would this be a nice thing that could possibly be added to the pjsip wizard?
19:58.49filethere is no such thing afaik, and it would be something that would go into the common configuration file stuff
20:03.16*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
20:09.59kodomoIs there a more appropriate place to discuss pjsip ciphersuite support than this channel?
20:31.56kodomoThis is getting frustrating... so according to https://www.openssl.org/docs/manmaster/man1/ciphers.html TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA translates into ECDHE-RSA-AES256-SHA
20:32.14kodomocipher=ECDHE-RSA-AES256-SHA is supported (listed in pjsip list ciphers)
20:33.13kodomobut whether I specify it in the transport definition or not (transport is created), * claims that there's no shared cipher and fails the handshake
20:33.41kodomo(even though I see it offered in the Client Hello message I have in the pcap trace)
20:34.47kodomopjsip show transport transport-tls shows me the config just like I expect it... any suggestions?
20:49.42*** join/#asterisk Dovid (~dovid@ool-45738ae3.dyn.optonline.net)
20:52.05DovidIs there any simple way in asterisk set an array? It seems that the function array and the application mset sort of do the same thing. What I want to do is basically set an array and then later just see if it exists. Something like members = $abc = array(1,2,3,10,20) then if some enters 20 I see if $abc[20] is set.
21:15.07*** join/#asterisk Oatmeal (~Suzeanne@47.51.5.154)
21:18.35*** join/#asterisk tzafrir (~tzafrir@62-90-199-247.barak.net.il)
21:59.06jamesaxlDovid: you can try something like Set(ARRAY(var1,var2)=1,2)
21:59.53Dovidjamesaxl: I realized it wont work. I need a lot lonfer then 255 characters
22:00.24jamesaxlDovid: did you try HASH?
22:00.33DovidI did not. I will look @ it in a sec
22:07.10SamotDovid: There's no Array() option.
22:07.33SamotIn regards to a data array, be it associative or not.
22:42.28*** join/#asterisk Oatmeal (Suzeanne@gateway/vpn/privateinternetaccess/suzeanne)
22:45.59*** join/#asterisk paulgrmn_ (~paulgrmn@184.75.212.67)
22:56.36*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
23:01.34*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
23:01.40*** join/#asterisk cfx_ (~textual@unaffiliated/cfx-/x-0311648)

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