IRC log for #asterisk on 20160522

00:28.50*** join/#asterisk F2Knight (~F2Knight@c-50-139-85-237.hsd1.or.comcast.net)
01:32.43*** join/#asterisk scoz (~scoz@2804:7f5:9180:7d88::1)
01:51.49*** join/#asterisk ZeroGee (44619b3e@gateway/web/freenode/ip.68.97.155.62)
01:57.34ZeroGeeHello! I'm looking for some help figuring out why my TrySystem() call in my dialplan is not working, even though running the exact same command (minus a channel variable) is capable of being ran successfully from the asterisk cli with ! in front. I get APPERROR returned for SYSTEMSTATUS. Checking the 'full' logs do not reveal much, from what I can tell.
02:00.08*** join/#asterisk rrittgarn (~rrittgarn@75-150-221-196-Illinois.hfc.comcastbusiness.net)
02:15.53*** join/#asterisk Draecos (~Draecos@203-121-194-197.e-wire.net.au)
03:21.31*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-kxdufywwuslrlzrx)
03:25.44*** join/#asterisk tuxd00d (~tuxd00d@ip72-201-239-241.ph.ph.cox.net)
03:28.11*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
04:35.41*** join/#asterisk scoz (~scoz@2804:7f5:9180:7d88::1)
05:07.48*** join/#asterisk K0HAX (~michael@2604:8800:187:1::20)
05:25.29*** join/#asterisk tuxd00d (~tuxd00d@ip72-201-239-241.ph.ph.cox.net)
05:27.49*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
05:48.08*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
05:49.37*** join/#asterisk F2Knight_ (~F2Knight@50.141.98.1)
05:54.05ZeroGeeFor those that were curious, asterisk user wasn't capable of executing what was being called in TrySystem, and !command was being run as root...
05:55.49*** join/#asterisk F2Knight (~F2Knight@50.141.99.25)
06:12.19*** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-193-112.w92-139.abo.wanadoo.fr)
06:13.21*** join/#asterisk F2Knight (~F2Knight@50.141.97.12)
06:13.38*** join/#asterisk miralin (~Thunderbi@194.8.128.124)
06:15.26*** join/#asterisk F2Knight_ (~F2Knight@50.141.97.61)
06:38.14*** join/#asterisk F2Knight (~F2Knight@50.141.98.134)
06:43.51*** join/#asterisk F2Knight_ (~F2Knight@50.141.98.246)
06:55.23*** join/#asterisk F2Knight (~F2Knight@50.141.97.83)
07:01.54*** join/#asterisk areski (~areski@80.174.128.25.dyn.user.ono.com)
07:09.03*** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-193-112.w92-139.abo.wanadoo.fr)
07:11.57*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:31.06*** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-193-112.w92-139.abo.wanadoo.fr)
07:56.29*** join/#asterisk KerioMorgan (~Adium@gw-us.kerio.com)
07:58.29*** join/#asterisk F2Knight (~F2Knight@50.141.97.75)
08:08.16*** join/#asterisk F2Knight (~F2Knight@50.141.97.25)
08:11.10*** join/#asterisk F2Knight (~F2Knight@50.141.97.3)
08:29.31*** join/#asterisk F2Knight (~F2Knight@50.141.97.92)
08:31.25*** join/#asterisk F2Knight (~F2Knight@50.141.97.77)
08:43.18*** join/#asterisk F2Knight (~F2Knight@50.141.99.21)
08:52.40*** join/#asterisk F2Knight (~F2Knight@50.141.99.61)
08:54.35*** join/#asterisk F2Knight_ (~F2Knight@50.141.97.73)
09:11.14*** join/#asterisk F2Knight (~F2Knight@c-50-139-85-237.hsd1.or.comcast.net)
09:24.44*** join/#asterisk CeBe (~CeBe@a81-14-235-90.net-htp.de)
09:41.31*** join/#asterisk KerioMorgan (~Adium@us.kerio.com)
09:52.32*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
10:25.53*** join/#asterisk lnxslck (~bruno@av3-84-90-162-98.netvisao.pt)
10:31.04*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
10:59.31*** join/#asterisk obelixBE (~obelix@2a02:1811:c52c:1700:cd85:2f4b:a2e6:a883)
11:26.46*** join/#asterisk miralin (~Thunderbi@194.8.128.124)
11:31.52*** join/#asterisk celer (~celer@p1205136-ipngn14301marunouchi.tokyo.ocn.ne.jp)
11:59.28*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
12:19.59*** join/#asterisk areski (~areski@80.174.128.25.dyn.user.ono.com)
12:39.31*** join/#asterisk obelixBE (~obelix@2a02:1811:c52c:1700:cd85:2f4b:a2e6:a883)
12:41.04*** join/#asterisk KerioMorgan (~Adium@us.kerio.com)
13:39.33*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
13:58.19*** join/#asterisk raspberrypifan (~raspberry@2604:2000:6016:be00:3802:37e6:fa2:7163)
14:18.55*** join/#asterisk SunGod (~SunGod@92.55.116.125)
14:19.58*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
15:20.15dan_jHi. I've got an asterisk server with two sip peers. When I call from one to the other, I get a foreign ring tone, even though i've set the variable in indications.conf to uk.  What could be causing this? Is it changeable?
15:22.21[TK]D-Fenderthat has no impact on OOB
15:26.28dan_jWhere does the OOB come from? The called endpoint itself?
15:27.13dan_jActually, how is that possible if Dial() multiple endpoints in one go?
15:27.32dan_jIt's surely generated by asterisk in that case?
15:27.57[TK]D-FenderSIP phones generate tone when they are TOLD they are "ringing"
15:28.19[TK]D-FenderIf the state of the call is not "answered" then tones are OOB
15:28.52dan_jThat doesn't make any sense. When I dial an internal extension, I get a different OOB tone to when I dial an external extension. Both unanswered.
15:29.23dan_jIf the sip phone was told ringing and generates it's own tone, the tone should be the same regardless of where the call is going to.
15:29.40[TK]D-FenderShow the call
15:30.15dan_jOk. I'll have to paste it later. My wife wants me to stop working for now.
15:30.36[TK]D-Fenderif you dial with FORCED ringing, then it will answer and shove it inband
15:30.55[TK]D-FenderSo you could be screwing up your interpretation of "answered" while not paying attention
15:31.11dan_jI'm not forcing ringing in this dial.
15:31.36[TK]D-FenderCome back with eveidence... ALWAYS have the ability to prove evidence otherwise all we can do is guess
15:31.48[TK]D-FenderAnd guessing wastes time
15:32.16dan_jIt's just an experiement. I've got a SIP wholesale provider with some decent rates. And another SIP provider with OK rates. The cheaper one keeps playing the wrong ring-tone and my clients complain that they can't tell if the callee is roaming.
15:33.07dan_jThen I realised that my internal calls also play an international ring-tone rather than the normal UK ring tone which the more expensive SIP provider plays. So I'm trying to work out what is generating the tone.
15:33.42dan_jI'll run some tests shortly and see what I get. Probably with a simple Ring() cmd.
15:33.49[TK]D-Fender:work out" means showing the actual call.
15:34.03dan_jWill do. Later. Thanks.
15:34.06[TK]D-FenderGo do what you have to do and come back with the evidence so we can actually make a judgement on something
15:45.52*** join/#asterisk monsterco (~monsterco@70.50.211.1)
15:53.18*** join/#asterisk areski (~areski@80.174.128.25.dyn.user.ono.com)
16:14.36*** join/#asterisk obelixBE (~obelix@2a02:1811:c52c:1700:cd85:2f4b:a2e6:a883)
16:14.56*** join/#asterisk jkroon (~jkroon@uls-154-73-32-14.wall.uls.co.za)
16:15.40*** join/#asterisk Jesterboxboy (~Thunderbi@chello080109194026.3.graz.surfer.at)
16:53.43*** join/#asterisk tuxd00d (~tuxd00d@ip72-201-239-241.ph.ph.cox.net)
16:56.08*** join/#asterisk monsterco (~monsterco@70.50.211.1)
17:22.01*** join/#asterisk membiblio (~membiblio@pool-71-112-149-68.pitbpa.fios.verizon.net)
17:37.06*** join/#asterisk hackeron (~hackeron@gentoo/user/hackeron)
17:47.32*** join/#asterisk K0HAX (~michael@2604:8800:187:1::20)
17:54.50*** join/#asterisk K0HAX (~michael@2604:8800:187:1::20)
18:05.27*** join/#asterisk raspberrypifan (~raspberry@cpe-69-204-233-226.nyc.res.rr.com)
18:05.43*** join/#asterisk K0HAX (~michael@2604:8800:187:1::20)
18:06.54*** join/#asterisk raspberrypifan (~raspberry@2604:2000:6016:be00:282e:8aeb:e202:31f3)
18:08.14*** join/#asterisk raspberrypifan (~raspberry@cpe-69-204-233-226.nyc.res.rr.com)
18:09.00*** join/#asterisk raspberrypifan (~raspberry@2604:2000:6016:be00:282e:8aeb:e202:31f3)
18:34.14*** join/#asterisk obelixBE (~obelix@2a02:1811:c52c:1700:cd85:2f4b:a2e6:a883)
18:50.14*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
18:51.44*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
19:02.15*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
19:05.52*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
19:09.36*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
19:14.02*** join/#asterisk obelixBE (~obelix@2a02:1811:c52c:1700:cd85:2f4b:a2e6:a883)
19:17.05*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
19:22.06*** join/#asterisk K0HAX (~michael@2604:8800:187:1::20)
20:00.07*** join/#asterisk KerioMorgan (~Adium@gw-us.kerio.com)
20:01.02lvlinuxCan Read() be made to put what it receives into a global variable?
20:03.28lvlinuxOr better yet, write what it receives to a file that can be read later?
20:16.39*** join/#asterisk Jesterboxboy (~Thunderbi@chello080109194026.3.graz.surfer.at)
20:16.55[TK]D-FenderYou can put whatever you want into one
20:16.58[TK]D-Fenderit's your dialplan....
20:17.35lvlinuxI know I can do it with Set, just curious if Read would do it directly. Core show application read doesn't say you can, so I'm assuming not.
20:17.45lvlinuxBut how do i write to a file?
20:23.25[TK]D-FenderBy something to shells out
20:23.29[TK]D-Fendertake your pick.
20:23.36[TK]D-Fenderthere's a half dozen different ways
20:23.54[TK]D-FenderDo you need it in a phsycial file?
20:24.01lvlinuxAh, I just found the FILE function.
20:24.25lvlinuxWell I was going to do a variable first, but then thought it might be good to be persistent across an * restart.
20:24.55lvlinuxWhat I'm doing is letting someone dial an extension and enter an emergency contatc number that can be used later on when someone presses the emergency button.
20:28.15*** join/#asterisk KerioMorgan (~Adium@us.kerio.com)
20:38.10*** join/#asterisk snmp (~q@mx.yito.ru)
20:38.21snmpnihao
20:38.47snmpwell
20:38.59snmpcall file + h323
20:39.04snmpanyone
20:39.06filedon't call me!
20:39.13snmp:D
20:39.24snmpill call you later
20:46.56snmphttp://pastebin.com/NxkDqyn3
20:48.40snmpasterisk 1.8.13
20:49.17lvlinuxsnmp: where have you defined ${play} ?
20:49.30snmpit doesnt matter
20:49.50snmpthe problem is timing
20:50.04*** join/#asterisk u0m3 (~u0m3@5-12-250-18.residential.rdsnet.ro)
20:50.28snmplines are slightly altered
20:51.17lvlinuxsays 0 attempts. I would think the waittime would only apply if it attempted.
20:52.32snmpit says 0 retries
20:52.40snmp_re_
20:53.53snmp..i guess..
20:54.51*** join/#asterisk tuxd00d (~tuxd00d@ip72-201-239-241.ph.ph.cox.net)
20:55.11lvlinuxhuh? I don't see anywhere in that pastebin where the word "retries" is shown. ??
20:55.21snmpwell
20:55.31WIMPysnmp: Did you also read the 1st line of the log?
20:55.33snmpthe phone exactly rings
20:55.47snmpabout codec?
20:56.00WIMPyyes
20:56.18snmper
20:56.42snmpwell, everything perfect below 60 seconds
20:57.17WIMPyo.O
20:57.24snmpyep
20:58.14*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
21:11.43snmplvlinux: WaitTime 30, MaxRetries: 0
21:11.47snmpLog:
21:11.48snmp[May 23 00:07:29] NOTICE[2580]: chan_ooh323.c:3909 ooh323_convertAsteriskCap
21:11.48snmp[May 23 00:08:00] NOTICE[26485]: pbx_spool.c:353 attempt_thread: Call failed
21:11.49snmp[May 23 00:08:00] NOTICE[26485]: pbx_spool.c:356 attempt_thread: Queued call
21:12.26*** join/#asterisk justdave (~dave@unaffiliated/justdave)
21:13.43snmp0 attempts after 30s timeout
21:14.46lvlinuxPerhaps someone could better help you troubleshoot if you pastebinned a bit more info (and more accurate info). Otherwise, I'd look at your codec settings as WIMPy pointed out.
21:15.09snmpits just a notice
21:33.14*** join/#asterisk Navion (~Navion@rivendell/users/navion)
21:51.06*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
22:12.24*** join/#asterisk tuxd00d (~tuxd00d@ip72-201-239-241.ph.ph.cox.net)
22:31.28*** join/#asterisk linuxmint (~linuxmint@CPE-124-191-66-108.szbn2.lon.bigpond.net.au)
22:38.00linuxmintTest
22:38.58fileTest failed
22:49.26lvlinuxlol
22:49.35linuxmintHmm, inbound calls aren't ringing.
22:49.53linuxmintAlso, I registered a landline and a softphone, but only the landline rings on inbound calls.
22:50.02linuxmintWould like a hand if possible.
22:52.56lvlinuxk shoot
22:53.47linuxmintlvlinux: k, well, the phone and the mobile's softphone are both registered and call out ok, but incoming if faulty.
22:54.04linuxmintPhone incoming rings, but won't answer. Mobile won't ring with the incoming call.
22:54.40lvlinuxI think you'll need to pastebin some config, and also define "won't answer"
22:55.02linuxmintk, let me access the logs.
23:06.05*** join/#asterisk Prelude2004c (~Prelude20@anonymousvpn.zazeen.com)
23:06.08Prelude2004chey everyone good day
23:06.33Prelude2004canyone know what this means ? [May 22 19:04:45] WARNING[28982][C-00000005]: codec.c:363 ast_codec_samples_count: Unable to calculate samples for codec opus
23:06.33Prelude2004c[May 22 19:04:45] WARNING[28982][C-00000005]: translate.c:407 framein: no samples for opustolin48
23:06.39Prelude2004ci am trying to get opus workign with asterisk
23:12.32*** join/#asterisk Draecos (~Draecos@120.16.199.165)
23:13.26*** join/#asterisk Draecos (~Draecos@120.16.199.165)
23:18.08linuxmintlvlinux: so, won'at answer means the phone rings, pick up and no tone. I've access the /var/log/asterisk/cdr-csv, which shows the call answered, but still looking for the Asterisk Elastix config.
23:20.27*** join/#asterisk jusle (~jusle@dbdt6zyb92l8d7zx1r2xt-3.rev.dnainternet.fi)
23:21.24lvlinuxEwww, Elastix.
23:21.40lvlinuxlinuxmint: your Asterisk config is /etc/extensions.conf and /etc/sip.conf
23:21.50Prelude2004canyone know how to get opus going correctly on asteirsk ?
23:23.28lvlinuxPrelude2004c: it's a tricky thing. I haven't tried it but you might check here: https://github.com/meetecho/asterisk-opus and
23:26.06lvlinuxhttp://highsecurity.blogspot.com/2014/05/opus-codec-with-transcoding-on-asterisk_13.html
23:27.16linuxmintlvlinux: thanks, looks like Asterisk Elastix has a different path, which I'm looking up.
23:28.08lvlinuxYes Elastix uses FreePBX IIRC. So you might check in #freepbx as they might be a bit more able to help. Asterisk with a GUI is quite a different beast configuration wise than vanilla, like we do here.
23:28.43lvlinuxlinuxmint: you should sstill be able to run the asterisk console though and see what's going on better though.
23:28.56lvlinux"asterisk -rvvv"
23:29.18lvlinuxThen try to cause your problem and it may give you a clue.
23:29.44linuxminthttp://dpaste.com/2VA7YVH
23:32.06lvlinuxlinuxmint: yikes version 1.8? old stuff. But anyway, you have to do something for that console to show anything. When you make or receive a call you'll see stuff come up there in the console.
23:38.02linuxmintk, will setup a 2nd mobile to make test calls and try later. Thanks.
23:42.25lvlinuxgreat :)
23:59.29*** join/#asterisk fstd (~fstd@unaffiliated/fisted)

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