IRC log for #asterisk on 20161210

00:14.40denysoniqueWhere does Dellmont get their very low rates from?
00:24.44*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
00:44.35*** join/#asterisk friedrich (~friedrich@aextron.de)
00:48.36*** join/#asterisk KaliLinuxGR (~alexandro@unaffiliated/kalilinuxgr)
00:56.09wyoungin dial plan now does one specify to goto an extension is before a specific date ?
00:56.48wyoungbasically I want to redirect all calls from now until 01/01/2017
00:57.00WIMPyGotoIfTime? Not sure if I got the question.
00:57.09wyoungWIMPy: actually I can use that
00:57.16*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
00:57.16wyoungI just specify dec
00:57.27wyoungand remember to remove the line for next year
00:58.03WIMPyprefers to write something to astdb from cron, or on that case at.
01:14.35wyoungWIMPy: I can do that?
01:21.41WIMPyI'd think so.
01:22.33*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
01:31.50*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
01:42.17*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
01:49.24kunwon1i've been thinking about replacing the *iftime functions with something custom that supports better datetime spec
01:49.41kunwon1holidays move around too much
02:10.56denysoniquewyoung: info on that should be in the comments of the default extensions.conf
02:15.04denysoniqueopen and holiday times via include: http://www.voip-info.org/wiki/view/Asterisk+tips+openhours
02:37.19*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
03:36.06*** join/#asterisk ketas (~ketas@200-62-46-176.dyn.estpak.ee)
03:37.26*** join/#asterisk Martin`_ (~martin@2a0b:b600:110::30)
03:40.22*** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt)
03:42.33*** join/#asterisk ttaylor (~ttaylor@vpn.duh.net)
03:52.53*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
03:56.46*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
04:22.27*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
05:01.19*** join/#asterisk klow (~textual@c-67-161-106-89.hsd1.wa.comcast.net)
05:02.24*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
05:18.39*** join/#asterisk pdugas (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
05:29.42*** join/#asterisk pdugas (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
06:18.58*** join/#asterisk _AxS_ (~axs@gentoo/developer/axs)
06:21.19*** join/#asterisk _AxS_otr (~axs@gentoo/developer/axs)
06:42.53*** join/#asterisk miralin (~Thunderbi@194.8.128.47)
08:08.33*** join/#asterisk defsdoor (~andy@cpc35-sutt4-2-0-cust184.19-1.cable.virginm.net)
08:17.34*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
08:24.08*** join/#asterisk Cubber (~ronny@mail.adirondackitsolutions.com)
08:24.12*** join/#asterisk MarkSX (~MarkSX@unaffiliated/marksx)
08:40.59*** join/#asterisk woleium (~woleium@bc.io)
08:48.44*** join/#asterisk MarkSX (~MarkSX@unaffiliated/marksx)
08:49.43*** join/#asterisk wyoung (~wyoung@wesleyy.com)
08:53.00*** join/#asterisk woleium (~woleium@bc.io)
08:53.04*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
08:53.12*** join/#asterisk xPucTu4 (~yahoo@xPucTu4.Net)
09:10.49*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
09:11.01*** join/#asterisk gmbs (~gmbs@189.154.124.99)
09:11.02*** join/#asterisk seanbright (~sean@asterisk/contributor-and-bug-marshal/seanbright)
09:11.02*** mode/#asterisk [+o seanbright] by sinisalo.freenode.net
09:11.17*** join/#asterisk _abc_ (~user@unaffiliated/ccbbaa)
09:11.19_abc_.
09:11.46_abc_hm
09:12.18_abc_What is the status of iax2 please? I mean, it has become hard to find a iax2 client in any open source *nix distribution. A few years ago they were common.
09:13.18WIMPyYou know the deal these days. If something works it has to be replaced.
09:13.35WIMPySIP is the only lord!
09:21.35*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
09:23.16wyoungyay WIMPy
09:23.40wyoungWIMPy: iax2 <3
09:24.16WIMPyIt was definitely one of the really good bits about Asterisk.
09:33.34*** join/#asterisk seanbright (~sean@asterisk/contributor-and-bug-marshal/seanbright)
09:33.34*** mode/#asterisk [+o seanbright] by sinisalo.freenode.net
09:34.34_abc_WIMPy: you seem to work. Consider yourself replaced.
09:34.45_abc_wyoung: yes
09:35.15_abc_So how did it die? Just started being ignored because no hipster features marketable to google or facebook after fooling everyone about "open source"?
09:35.40_abc_Was there a discussion? A thread? A tweet? A peep? Anything? I mean by the main authors?
09:36.06WIMPy_abc_: True story.
09:36.49WIMPyIt still exists and it's still working. But noone seems to care any more.
09:47.28*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
09:56.40*** join/#asterisk Jesterboxboy (~Thunderbi@80-109-194-26.cable.dynamic.surfer.at)
09:58.04*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
09:59.50*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
10:03.37*** join/#asterisk Tiffon (~name@unaffiliated/tiff0n)
10:07.36*** join/#asterisk Tiffon (~name@unaffiliated/tiff0n)
10:21.07*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
10:26.25*** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta)
10:33.05*** join/#asterisk jkroon (~jkroon@uls-154-73-32-15.wall.uls.co.za)
10:51.15xPucTu4i cannot make asterisk listen to tcp ports, can someone help me to debug the issue
10:51.49xPucTu4my version is 14.2.1
10:52.05xPucTu4and i have tcpenable=yes and tcpbindaddr=::
10:52.17xPucTu4in sip.conf
11:04.14*** join/#asterisk tparcina (~tomo@78.134.210.254)
11:25.51*** join/#asterisk Chotaire (chotaire@oahu.chotaire.net)
11:32.28*** join/#asterisk slack1 (~slack@185.57.80.147)
11:37.44*** join/#asterisk Chotaire (chotaire@oahu.chotaire.net)
11:45.47*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
11:48.03*** join/#asterisk TandyUK (~admin@87.252.44.195)
11:53.27*** join/#asterisk miralin (~Thunderbi@194.8.128.47)
12:23.39*** join/#asterisk MaliutaLap (~nobusines@unaffiliated/maliuta)
12:28.46*** join/#asterisk pa (~pa@unaffiliated/pa)
12:30.31*** join/#asterisk KaliLinuxGR (~alexandro@unaffiliated/kalilinuxgr)
12:52.23*** join/#asterisk WIMPy (~wimpy@85.183.95.26)
12:52.23*** join/#asterisk netman (~netman@185.94.249.77)
12:52.23*** join/#asterisk cryptic (~cryptic@67-8-35-31.res.bhn.net)
12:52.23*** join/#asterisk DivideBy0 (~DivideBy0@unaffiliated/divideby0x0)
12:52.23*** join/#asterisk dobson (~dobson@68.ip-149-56-14.net)
12:52.23*** join/#asterisk roukoswarf (root@rouk.org)
12:52.23*** mode/#asterisk [+o DivideBy0] by sinisalo.freenode.net
14:03.37*** join/#asterisk pchero (~pchero@109.70.54.56)
14:04.48*** join/#asterisk miralin (~Thunderbi@194.8.128.47)
15:56.13*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
16:03.43*** join/#asterisk zapata (~zapata@2a02:b18:581:10:81a6:2b7f:d5de:148a)
16:19.20*** join/#asterisk yulius (~yulius@201.170.70.72.dsl.dyn.telnor.net)
16:32.20*** join/#asterisk Rini (uid196547@gateway/web/irccloud.com/x-tqxcvycblsaypxup)
16:39.17*** join/#asterisk jetlag (~jetlag@c-71-226-222-56.hsd1.nj.comcast.net)
16:48.36*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
17:00.00*** join/#asterisk drale2k (~drale2k@46.101.230.32)
17:02.57*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
17:14.07*** join/#asterisk drale2k (~drale2k@46.101.230.32)
17:26.20*** join/#asterisk drale2k (~drale2k@46.101.230.32)
17:32.01*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
17:44.19*** join/#asterisk u0m3 (~u0m3@188.25.183.231)
17:58.48*** join/#asterisk fridgefire (~fridgefir@unaffiliated/michielbrink)
17:59.29*** join/#asterisk u0m3 (~u0m3@188.25.183.231)
18:52.23denysoniquesame = n,Set(__somevar=foo)
18:52.23denysoniquesame = n,Originate(SIP/provider/1234,exten,foo-dialout,${EXTEN})
18:52.40denysoniquesomevar does not get in foo-dialout context
18:53.46denysoniqueis this how the variable inheritance should work?
19:13.39*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
19:17.11SamotWhy do you have provider in there?
19:17.36SamotYour provider is not making the outbound channel.
19:18.29SamotYou're also missing the priority in the context to send the call to.
19:19.32SamotOriginate(SIP/1234, exten, context,ext,priority)
19:20.08SamotWhat are you trying to accomplish?
19:28.10*** join/#asterisk JamesO (~JamesO@cpc72043-pete10-2-0-cust137.4-4.cable.virginm.net)
19:44.34*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
20:15.09*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
20:24.06*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
20:34.57*** join/#asterisk mirela666 (~mirkob@52D9ADEB.cm-11-1c.dynamic.ziggo.nl)
20:52.36*** join/#asterisk miralin (~Thunderbi@194.8.128.47)
21:35.52*** join/#asterisk tristero (~al.f.zero@unaffiliated/transfinite)
21:36.07dan_jHi. Is there any way to use Set() to set variables in bridged channels?
21:36.14dan_jFrom within a handler
21:42.20dan_jBasically, I need to set the Dialling Channel's RECORDCHANNEL variable to the outbound leg channel ID. But by using a handler within the Dial and setting that variable within that handler, I end up setting the Outbound Leg's RECORDCHANNEL.
21:46.30[TK]D-FenderShow is
21:49.02dan_jok. 1sec. i need to remove some private stuff
21:53.32dan_j[TK]D-Fender: http://pastebin.com/ayMMvCdr
21:54.38dan_jSorry. I removed two lines from [outgoing] which werent relevant to this as they dealt with billing. I've updated the priority.
21:57.44[TK]D-FenderShow the full debug
21:58.52dan_jCan I PM you the pastebin url? Dont really want to put it publicly
21:59.57[TK]D-Fenderyes
22:00.58dan_jLine 68
22:02.03dan_jDo you want the full dialplan too?
22:02.23dan_jThat should read, do you need to see the full dialplan too?
22:03.24dan_jRECORDCHANNEL is used so that an AMI client can start the recording on the correct channel, which is always the channel leaving the asterisk server to my suppliers.
22:04.35dan_jFor outgoing calls, this technique works because the first channel is the channel between my suppliers and I, and I can set RECORDCHANNEL={Supplier's Channel} and it gets inherited to children.
22:04.41dan_jSorry
22:04.45dan_jFor Incoming Calls....
22:04.51[TK]D-Fenderlooks like it's doing its job fine
22:05.25dan_jIt's doing it's job, but not the job I need it to do. I'll explain.
22:05.32dan_jPJSIP/kesher_201-0000000b is the dialling channel
22:05.41[TK]D-FenderYour Local channel calls the dial, and the peer that is used to create the new channel is the one who's $CHANNEL} is being parsed out just like it should
22:05.41dan_jPJSIP/magrathea-0000000a is the callee channel
22:06.09dan_jI need to set PJSIP/kesher_201-0000000b's RECORDCHANNEL=PJSIP/magrathea-0000000a
22:06.17[TK]D-FenderIf you want the callee channel to know the caller then use proper standard variable inheritance
22:06.39dan_jOther way around. I want the caller to know the callee channelID
22:07.21[TK]D-FenderThen set an inherited variable
22:07.44*** join/#asterisk Rasputin3711 (~Rasputin3@87.255.254.66)
22:07.49dan_jHow do I set an inherited variable on the caller channel, if the callee channel doesnt exist yet?
22:07.58dan_jIt only exists after I dial.
22:08.14[TK]D-Fenderyou are already executing against it
22:08.17[TK]D-Fenderb() <-\
22:08.28[TK]D-Fenderset an iNHERITED VARIABLE in there
22:08.57dan_jInherited variables are shared backwards, up the inheritance tree?
22:09.12[TK]D-Fenderdo it
22:09.14dan_jI thought they just get copied into new channels
22:13.16dan_jNo joy it seems
22:14.55dan_jI've Set(__RECORDCHANNEL=) on the caller channel to create the inherited variable, and then Set(__RECORDCHANNEL=${CHANNEL(name)}) in the handler to update it with the callee channelid.
22:15.08dan_jBut it's still blank on the callerid channel.
22:15.12*** join/#asterisk klow (~textual@c-67-161-106-89.hsd1.wa.comcast.net)
22:18.07[TK]D-Fendershow the actual code & attempt
22:23.30[TK]D-Fenderand the call to match...
22:24.17dan_j1sec. Thats not the full dialplan. I'll get the dialplan together as it goes through a number of separate contexts and then send it over.
22:24.35dan_jActually, just realised that I didnt Set(__RECORDCHANNEL=) in the right place.
22:31.18*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
22:31.51dan_jI've moved it to the beginning of the dialplan but that doesnt seem to help. Just assembling the dialplan. Will PB the new output first.
22:36.05dan_jDone. I've pasted the majority of the dialplan. Please let me know if you want me to remove lines which don't get executed during the test to make things simpler to read.
22:44.21dan_jJust done a test and set __RECORDCHANNEL=test at the start of the dialplan. The handler has Set(__RECORDCHANNEL=${CHANNEL(name)}), but the original channel still has RECORDCHANNEL=test when I hang up.
22:45.43dan_jPrior to the handler Set(__RECORDCHANNEL=${CHANNEL(name)}), RECORDCHANNEL variable in the handler is 'test'
22:45.59dan_jSo it appears to be working on copies, rather than the same variable.
22:46.07dan_jBut that goes against the comments in the wiki
22:53.42dan_jLooks like i'm going to have to do this via the AMI
23:01.04*** join/#asterisk viro (~viro@unaffiliated/viro)
23:39.41*** join/#asterisk luisfpetrucci (~me@201.183.234.63)
23:41.06*** join/#asterisk ericNL (eric@eyeswideshut.xs4all.nl)
23:54.27*** join/#asterisk Fernando2016 (~Fernando@201.183.234.63)
23:55.09*** join/#asterisk klow (~textual@c-67-161-106-89.hsd1.wa.comcast.net)

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