IRC log for #asterisk on 20151125

00:01.37*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
00:02.12*** part/#asterisk kharwell (kharwell@nat/digium/x-uzwzkdegtphibbni)
00:11.21*** join/#asterisk MrTAP (~MrT@76-10-185-225.dsl.teksavvy.com)
00:11.22*** join/#asterisk jjrh (~jjrh@2607:f0b0:1:6e12:19cb:ed7b:2af:eaa6)
00:13.31*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-lcuekgkibafskrql)
00:16.38*** join/#asterisk rubio (~rubio@190.246.252.26)
00:19.15rubioHi there.... I have install (from source) asterisk 13 and WebRTC was working on with ICE, now sudendly (or after i don't know what), i have no more audio on WebRTC.... i think this is related to this error: res_rtp_asterisk.c:742 ast_rtp_ice_start: Failed to create ICE session check list: Too many objects of the specified type (PJ_ETOOMANY)....      any ideas?  thanks!
00:27.21*** join/#asterisk pchero (~pchero@109.70.54.56)
00:59.39*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
01:13.58*** join/#asterisk nny (47465525@gateway/web/freenode/ip.71.70.85.37)
01:13.58nnyresearching a sip based kiosk/entry device to replace a liftmaster setup at a remote gate. Looking for UI customization etc as an option. Algo pops up but looking for other suggestions
01:16.57*** join/#asterisk infobot (ibot@69-58-80-29.ut.vivintwireless.net)
01:16.57*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.6.0 (2015/10/09), 11.20.0 (2015/10/09); Standard: 12.8.2 (2015/04/08); DAHDI: DAHDI-linux 2.10.0 (2014/08/13), DAHDI-tools 2.10.0 (2014/08/13); libpri 1.4.15 (2014/06/16) -=- Asterisk wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
01:17.01cmendes0101nny: For like contact directory and intercom?
01:20.06nnycmendes0101: yeah, basically have a gate that people go up to and call either a tenant or the office. They can then send dtmf back to activate the gate
01:21.12*** join/#asterisk azerus (~badass@unaffiliated/badass)
01:21.44lvlinux:q
01:21.50*** join/#asterisk azerus (~badass@unaffiliated/badass)
01:28.26*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
01:41.31*** join/#asterisk azerus (~badass@unaffiliated/badass)
01:44.20*** join/#asterisk elcontrastador (~textual@c-67-182-43-55.hsd1.ca.comcast.net)
01:50.52elcontrastadorWhat's the best way to pull way, holistically, to pull a snapshot of a given phones status, vmail, calls, etc. from Asterisk? The ARI absolutely perfect, but most things only work for devices within a stasis application. So, should you use ARI/AMI to pull various info on a single device in non-realtime still?
01:51.21elcontrastadoroops...didnt  mean to send before edit..sorry
01:58.06*** join/#asterisk ChannelZ (channelz@burner.com)
02:11.33*** join/#asterisk wyoung (~wyoung@wesleyy.com)
02:47.02*** join/#asterisk carrar (~tim@osburn.jp)
02:48.56*** join/#asterisk Tristan-Speccy (tristan@213.163.67.18)
02:49.36*** join/#asterisk jpsharp (~jsharp@c-76-101-138-247.hsd1.fl.comcast.net)
02:50.04jpsharpI'm getting 603 declined when trying to transfer.  allowtransfer=yes is set in my sip.conf.  Suggestions on whereelse to look?
02:50.31ChannelZWhat's the console say?
02:51.34jpsharpCall WQxt0EW45b got a SIP call transfer from caller: (REFER)!
02:51.35jpsharp<--- Transmitting (NAT) to 192.168.128.144:5060 --->
02:51.35jpsharpSIP/2.0 603 Declined (policy)
02:55.08carrarjpsharp: you reload your sip.conf?
02:55.45jpsharpYep.
02:55.55jpsharpLet me try a full blown core restart.
02:57.19jpsharpStill same
02:59.20jpsharpAsterisk is sitting behind kamaillo, but I don't think that has anything to do with it.
02:59.46carrarThe phone is registered to asterisk not kamaillo right?
03:01.57carrargrep -i allowtransfer sip.conf | grep -i no
03:01.59carrarheh
03:06.36jpsharpthe phone is registered against kamaillo.
03:10.50carrarCan you transfer between two phones registered directly to Asterisk and not through kamaillo?
03:12.49jpsharpI'm not sure.  But now that I look at things, I don't want clients to be able to transfer calls because then they'll be able to do funny stuff with international calls.
03:14.34*** join/#asterisk azerus (~badass@unaffiliated/badass)
03:16.54carrarA office without transfer ability is not a very functional office
03:18.03ChannelZFences make good neighbors
03:18.27carrarunless you're office is here in Japan
03:18.36carrarwhere everyone is crammed into the same room
03:18.41carrarand share the same desk
03:18.46ChannelZAnd ideally a person shouldn't be able to transfer a call to an extension they couldn't otherwise normally call, so you either trust them or you don't
03:19.44carrarNot much fun if you can do funny stuff
03:19.49carrarcan't
03:20.05ChannelZlike Comedian Mail!
03:20.10carrarhaha
03:20.23carrartruely funny
03:20.52WIMPyOh yes. I personally like associated calls. Can be very funny.
03:44.52jpsharpit's not an office environment.  It's an a2billing prepaid calling environment.  I don't trust the users to not try to screw me.
03:45.39WIMPyAnd why do you think they wouldn't screw you without transfers?
03:50.31*** join/#asterisk saratogga (~saratogga@ip98-165-139-238.ph.ph.cox.net)
03:53.26elcontrastadorHas anyone here used Adhearsion as simple way to interact with AMI on Asterisk 13?
03:54.08elcontrastadorSimply want to pull all reasonable non-realtime status info on a given handset?
03:54.09WIMPyOooh. Something I haven't heard about for ages.
03:54.33elcontrastadorWIMPy...that's what i'm worried about :-)
03:54.36WIMPyWhat it non-realtime status?
03:54.41WIMPyis
03:55.07elcontrastadori mean, dont need more info than a snapshot at given time of my web app loading
03:55.23elcontrastadordont need to continuously update
03:56.05WIMPyAnd what kind of information?
03:57.05elcontrastadorregistration, line status, vmail qty, etc
03:57.19elcontrastadorphone ip...
03:57.37elcontrastadorprotocol..etc etc
03:57.56elcontrastadorwhatever i can get basically
03:58.07WIMPyI'm pretty sure it won't be easier if you poll that information.
03:59.14WIMPyAlso you lose out on timestamps.
03:59.24elcontrastadori can do most very simply thru syscall to 'asterisk -rx' ...
03:59.49elcontrastadorbut pretty dirty
04:00.12WIMPyYes, but is it really easier to parse that information than to listen on AMI and keep track of what's going on in realtime?
04:01.26*** join/#asterisk ChannelZ (channelz@burner.com)
04:02.02elcontrastadorno...i'm looking for a good ruby library for AMI...dont want to go off on tangent when i'm waist deep in this webapp
04:05.12*** join/#asterisk saratogga (~saratogga@ip98-165-139-238.ph.ph.cox.net)
04:15.37*** join/#asterisk azerus (~badass@unaffiliated/badass)
04:16.22*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
04:32.59*** join/#asterisk azerus (~badass@unaffiliated/badass)
04:40.14*** join/#asterisk saratogga (~saratogga@ip98-165-139-238.ph.ph.cox.net)
05:07.53*** join/#asterisk JohnnyAsterisk (~JohnnyAst@c-98-209-129-168.hsd1.mi.comcast.net)
05:12.17JohnnyAsteriskCan anyone point me in the right direction. I have googled this one to death. Does Asterisk 11 include support for hints on queues? i.e   12001,hint,Queue:12001  Found evidence it was in the beta but doesn't appear to work in the latest release.
05:13.09WIMPyhasn't heard of such a feature, but then I don't hear everything.
05:13.50WIMPyBut you can always use cunstom device states.
05:17.25JohnnyAsteriskIssue with custom device state is knowing when last call has left the queue to make it idle again... Easy to trigger it active hard to trigger idle when multiple calls are in queue. If you try to trigger on hangup then you will be changing the state with calls still in queue. Its doable with more logic just easier if it was prepackaged already.
05:18.31WIMPyThere are functions to find the number of calls in the queue. So that's just a matter of an ExecIf.
05:19.53JohnnyAsteriskRight thats probably the way to go. If anyone else is aware of anything let me know otherwise custom device state is how I will do it.
05:20.21JohnnyAsteriskThanks for your help!
05:20.44WIMPyAnd you know I like AMI... So you could just listen for Queue events and set the devicestate from there.
05:34.20igcewielinglooks accusingly at his code.
05:34.58WIMPyWhat did you tell it to do wrong?
05:39.13*** join/#asterisk juned (~juned@202.131.119.122)
05:39.24*** join/#asterisk r00f (~r00f@av.r00f.us)
05:41.03igcewielingWIMPy: I do not know.  My code is hiding the bug from me.  8-|
05:42.28WIMPyI have heard of self modifying code. But self hiding code sounds new to me.
05:52.05carrarit's what happens when pixie dust falls on it
05:52.59igcewielingcarrar: magical pixie dust is what this script creates.
05:53.06carrarwoah
05:54.07saratoggawhat's a good source for the best prices on IP phones (polycom, yealink, cisco)? Looks like Amazon is pretty much cheaper than all the other "wholesale" sites I find
05:54.46carrarebay?
05:54.58saratoggayeah but looking for something more consistent
05:55.07WIMPyNow we already have both shops.
05:55.31WIMPyImport directly from China.
05:55.31saratoggaboth shops?
05:55.35carraris cisco really a option anymore?
05:55.40saratoggacustomers ask for it
05:55.54saratoggaheck, I got customers who only want Aastra
05:56.03saratoggaoriginal Aastras, not mitel stuff
05:56.05carrarAastra makes a decent phone
05:56.18saratoggayeah
05:56.21WIMPyAmazon and ebey will extinguish all other shops outside of China.
05:57.02WIMPyUnfortunately the also have thoe most unusable sites.
05:57.31saratoggaI'm also looking for a good supplier of Cisco SPA122 ATAs
05:57.38*** join/#asterisk azerus (~badass@unaffiliated/badass)
05:57.38saratoggaI need a few hundreds
05:58.19JohnnyAsteriskJust in case anyone else needs this 12000,hint,Queue:12000
05:58.19JohnnyAsteriskworks flawlessly --- The device state identifier is undocumented in the wiki.
05:58.50WIMPyCool
06:24.03*** join/#asterisk elitas (~elitas@213.226.135.203)
06:26.00*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
06:27.34jpsharpI've got a dozen Cisco 7940s if anyone needs some. :)
06:29.58*** join/#asterisk fling (~fling@fsf/member/fling)
06:33.53WIMPyNot really, no. Or are there interesting hacks for them? Like using them as a game emulator or something...
06:36.34carrarThere was a backlight hack out there someplace
06:38.05WIMPyDid they even have backlight? Or was that the hack?
06:38.29carrarnever in the 79x0
06:38.39carrarperhaps the 7970 did
06:38.54carrarbut thats a XML based phone and different then the 40/60 model
06:41.33elcontrastadorCan someone explain this? https://gist.github.com/elcontrastador/2cd9ee35d22df0d5e175
06:41.53WIMPycan't see
06:42.15elcontrastadorit's public gist...ok...let me check it again
06:42.46WIMPyYes, but the server requires identification and I won't give it.
06:44.36elcontrastadorback to basics...http://pastie.org/10579510
06:44.44elcontrastadorhttp://pastie.org/10579510
06:46.14WIMPyI'm somehow missing a context
06:46.54elcontrastadorcontext for extension on line 4... context of problem is on line 1 :-)
06:46.58WIMPyErr, no I'm not.
06:47.38elcontrastadorCan't see why it's not finding this extension...must be losing my mind
06:47.55WIMPyBut I don't see a hint that could be used.
06:48.27WIMPySo no state defined for that extension.
06:48.29elcontrastadorthe AMI wiki docs do not describe what the hint is...
06:48.38elcontrastadorit's optional too
06:49.04elcontrastadorjust states if hint present, will use devicestate to check connected device or somethign
06:49.24WIMPyexten => 121,hint,someDivceceState in your dialplan.
06:49.29elcontrastadorshould, in my mind, at least acknowledge x121's existence
06:50.00WIMPyIt doesn't say it doesn't exist, just that the state is unknown.
06:50.03elcontrastadorok, but not sure how to show that as param
06:50.24WIMPyDialplan.
06:50.49elcontrastadori understand...but as an argument to ExtensionState within AMI
06:51.07WIMPyExtensions don't have a state. But you can define their state in the dialplan as (a combination) of deivestate(s).
06:51.46WIMPyThe arguments are extension and context.
06:51.51elcontrastadory
06:52.17elcontrastadorgot it...that's a response...that was my confusion
06:52.29elcontrastadorit's obvious, wasnt thinking straight...
06:52.46WIMPywonders if you can't query the device states directely.
06:53.45elcontrastadori can query SIPpeerstatus no prob...for that phone at x121 even
06:54.07WIMPyHmm. Strange. Looks like you have to use the detour through a hint unless it's a sip device.
06:54.26*** join/#asterisk tparcina (~tomo@212.92.200.41)
06:54.46elcontrastadori'm glad it's strange to u too.
06:54.53WIMPyBut strangely tehre seems to be no generic query for devicestates.
06:55.14elcontrastadorDeviceStateList is all I see
06:55.39WIMPyWell, as I always say: AMI is telling you everyting you need. If you listen, you don't have to query anything :-)
06:58.03WIMPy(which would be the reason I didn't notice this oddity so far)
06:58.07elcontrastadorok...interesting info
06:58.29WIMPyBut there's also the chance that something just isn't documented, but still exists.
06:58.40elcontrastadorDeviceStateList does not show the Grandstream phone at x121. Shows the other phones of diff mfr
06:59.12elcontrastadoroh...it's there...sorry...i suck tonight...sorry
06:59.50*** join/#asterisk azerus (~badass@unaffiliated/badass)
06:59.58WIMPyHappens all the time to me if I switch back and forth between IRC and $WHATEVA.
07:01.00elcontrastadorive got debug info and ruby objects dropping into my STDOUT...too much to grok by eyes now
07:07.24elcontrastadorWIMPy: Any final thoughts? :-) I'm stumped. I hesitate to call it a bug, as it's my first time with AMI...
07:07.51WIMPyWhat ewxactely?
07:10.23elcontrastadorThe pastie...why ExtensionState action is not finding my extension
07:12.44WIMPyBecause you have no hint defined in your dialplan.
07:13.58WIMPyExtensions don't have a state by themselves. But you can define their state in the dialplan as (a combination) of deivestate(s) in a hint.
07:14.31elcontrastadori see...
07:14.51elcontrastadori will remedy that now and try again. Thx so much
07:23.31elcontrastadorthx WIMPy...it's working...
07:23.33*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:32.02*** join/#asterisk defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net)
07:37.55*** join/#asterisk bulkorok (~Adium@89.245.151.228)
07:46.16*** join/#asterisk CeBe (~CeBe@xd9be48ba.dyn.telefonica.de)
07:56.16*** join/#asterisk evil_gordita (robert@ip70-188-63-173.rn.hr.cox.net)
07:57.16*** join/#asterisk clopez (~tau@neutrino.es)
08:01.57*** part/#asterisk jpsharp (~jsharp@c-76-101-138-247.hsd1.fl.comcast.net)
08:02.04*** join/#asterisk azerus (~badass@unaffiliated/badass)
08:10.46*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
08:16.03*** join/#asterisk dadrc (~quassel@unaffiliated/dadrc)
08:22.53*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
08:25.35*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
08:32.42*** join/#asterisk juned (~juned@202.131.119.122)
08:41.23*** join/#asterisk Zogot (~Adium@185.21.52.255)
08:42.32*** join/#asterisk pchero_work (~pchero@109.70.54.56)
08:47.42*** join/#asterisk juned (~juned@202.131.119.122)
08:53.40*** join/#asterisk sekil (~sekil@78.24.104.73)
08:54.58*** join/#asterisk sekil (~sekil@78.24.104.73)
09:02.59*** join/#asterisk azerus (~badass@unaffiliated/badass)
09:06.57*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
09:08.15*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
09:15.02*** join/#asterisk areski (~areski@80.174.128.10.dyn.user.ono.com)
09:26.00JohnnyAsteriskAnyone ever run in to a Park Device State always returning INUSE? Even when it most definitely isn't?
09:26.36JohnnyAsteriskexten => _X.,2,Noop(${DEVICE_STATE(park:${EXTEN}@park)})
09:26.36JohnnyAsteriskexten => _X.,3,Gotoif($["${DEVICE_STATE(park:${EXTEN}@park)}" = "NOT_INUSE"]?4:8)
09:55.07*** join/#asterisk posixninja (~posixninj@ec2-54-214-51-133.us-west-2.compute.amazonaws.com)
09:55.56*** join/#asterisk pjm (~pjm@uhfsatcom.plus.com)
10:01.39*** join/#asterisk guest9903 (~bounceman@185.32.9.250)
10:02.33guest9903how can I match a variable from the 2nd number to the end? ${VARIABLE}:0:1 is the first character, I suppose ${VARIABLE}:1:0 would give me everything after the first number?
10:02.44guest9903However, it does not do me well. I have prob done some miss here
10:04.51*** join/#asterisk azerus (~badass@unaffiliated/badass)
10:05.37guest9903Or do I have to use len?
10:09.34*** join/#asterisk evil_gordita (robert@ip70-188-63-173.rn.hr.cox.net)
10:13.42*** join/#asterisk tparcina (~tomo@212.92.200.41)
10:26.42*** join/#asterisk rl1 (~Darwin@unaffiliated/rl0)
10:27.08rl1has anybody have implemented erlang calculator with asterisk
10:27.23guest9903Another quick one, will _X. match on +3581903002 ?
10:27.31rl1no
10:27.42guest9903Is it shame on me to use _.X.?
10:27.43rl1it will match any digit but not the plus sighn
10:28.08rl1_+X. this one will match your string
10:28.23guest9903Will it match both +35800.. and 091904 ?
10:28.27rl1nope
10:28.39rl1only ones starting with the plus sign
10:28.49guest9903Is there a way to match them both?
10:28.57rl1yeah
10:29.48rl1_. this one probably will work
10:29.58rl1but i wouldnt recommend using it
10:30.07guest9903I will have two seperate matches then
10:30.19rl1yeah that's better
10:33.09rl1manager says our client must not exceed 0.5erl load and i dunno how to do that in asterisk..
10:34.07rl1how do you even calculate it, there are so many formulas :[
10:39.46*** join/#asterisk juned (~juned@202.131.119.122)
10:40.20*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
11:05.43*** join/#asterisk azerus (~badass@unaffiliated/badass)
11:12.20*** join/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
11:14.15*** join/#asterisk blooregard (~blooregar@50.141.78.146)
11:18.21*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
11:18.47*** join/#asterisk italorossi (~Adium@179.211.187.124)
11:25.36ZogotMinivmMWI, i should fire that from after MinivmRecord correct? Then on the [100]mailbox=john@example.com and MinivmMWI(john@example.com,0,1,0) should fire it no?
11:32.13*** join/#asterisk JanM (5e4fae72@gateway/web/cgi-irc/kiwiirc.com/ip.94.79.174.114)
11:32.58JanMHey guys. Can you help me solve a problem with enabling ARI in Asterisk?
11:33.15*** join/#asterisk areski (~areski@71.Red-83-53-26.dynamicIP.rima-tde.net)
11:35.08*** join/#asterisk sekil (~sekil@78.24.104.73)
11:43.24carrar~ask
11:43.25infobotQuestions in the channel should be specific, informative, complete, concise, and on-topic.  Don't ask if you can ask a question first.  Don't ask if a person is there; just ask what you intended to ask them.  Better questions more frequently yield better answers.  We are all here voluntarily or against our will.
11:47.21JanMI cannot get ARI running. I followed the tutorial on https://wiki.asterisk.org/wiki/display/AST/Getting+Started+with+ARI (copying & pasting the configs into the appropriate files). I managed to get the webserver up and running but when trying to connect via wscat it returns: "error: Error: unexpected server response (404)". Asterisk is installed on
11:47.21JanM<PROTECTED>
11:54.39*** join/#asterisk tparcina (~tomo@212.92.200.41)
11:59.06carrarAre you connecting to the port?
11:59.30JanMI'm connecting to: "ws://192.168.2.19:8088/ari/events?api_key=asterisk:asterisk&app=hello-world"
11:59.50carrar(which is not the example)
12:00.12JanMNo, the example is: $ wscat -c "ws://localhost:8088/ari/events?api_key=asterisk:asterisk&app=hello-world"
12:00.12JanMconnected (press CTRL+C to quit)
12:00.13JanM>
12:01.06carrarSo if you telnet to port 8088 are you getting connected if you use the IP address?
12:02.11JanMYes
12:02.26carrarSo Asterisk is responding to you
12:02.40carrarWhat do you see in the logs?
12:02.43JanMThe connection gets established
12:03.27carrarand for the sake of simplicity did you just go with "asterisk" & "asterisk" as the username and pass?
12:03.59carrarSo as not to worry about special characters that might need to be escaped in your URL
12:04.48JanMYes. After the first customised attempt failed I fell back to simply copying the tutorial (too exclude those kind of problems)
12:05.33*** join/#asterisk willianmazzardo (~textual@138.94.78.190)
12:05.37carrarlooks simpe enough, I'll try it on my server
12:06.29*** join/#asterisk azerus (~badass@unaffiliated/badass)
12:06.29willianmazzardohi all ... anyone here can tellme how long can be the Dial command? how many characters can be put in Dial string?
12:06.35JanMIn the messages log file is a line which looks suspecious to me: "[Nov 25 10:54:38] WARNING[607] loader.c: Error loading module 'res_ari_events.so': /usr/lib/asterisk/modules/res_ari_events.so: undefined symbol: ast_ari_websocket_session_create". I am trying to use the events of ARI, right?
12:10.47*** join/#asterisk aness (~aness@2a02:fe0:c310:b3a0:2ca2:99:2a68:a6d8)
12:15.30carrarworked for me ok
12:15.44carrar<PROTECTED>
12:15.47carrar<PROTECTED>
12:16.14*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
12:16.15carrarusing wscat --connect "ws://localhost:8088/ari/events?api_key=asterisk:asterisk&app=hello-world"
12:17.02carrardid you get that far?
12:17.50JanMYes and no. This very line always fails with 404
12:18.19JanMuser@server:/etc/asterisk# wscat --connect "ws://localhost:8088/ari/events?api_key=asterisk:asterisk&app=hello-world"
12:18.19JanMerror: Error: unexpected server response (404)
12:19.03carrarand you have the Asterisk web server running on port 8088?
12:19.03JanMThe log file: https://www.filepicker.io/api/file/vrOysiSPO7BEvu5yavrQ
12:19.10carrar(http.conf)
12:19.38JanMYes. If I open it in a browser I get a valid HTTP response (besides the fact that I always get 404s...)
12:20.24carrar[root@tokyo ~]# wscat -c "ws://localhost:8088/ari/events?api_key=asterisk:asterisk&app=hello-world"
12:20.28carrarconnected (press CTRL+C to quit)
12:20.30carrar< { "type": "StasisStart", "timestamp": "2015-11-25T04:20:04.351-0800",
12:20.33carraryeah works great for me
12:20.39carrarfolling that guide
12:20.53JanMWhich OS are you using?
12:20.58carraret that far?
12:21.01carrarerr
12:21.13carrarAsterisk 13.4.0 on CentOS 7
12:21.37carrarI should probably upgrade that to 13.6
12:23.02JanMOkay. So since I'm using Ubuntu (and thus installing Debian packages) it might be a problem there.
12:23.40carrarWhat I had to do thats not in that doc was in stall wscat on centos
12:23.49carraryum install nodejs nodejs-options nodejs-commander nodejs-ws
12:25.04*** join/#asterisk Parham (~chatzilla@onj3.andrelouis.com)
12:26.01Zogotum im pretty lost on this MinivmMWI, if anyone has any experience with it, id love to have a quick chat
12:26.30ParhamHi all. Does anyone know how I can make the 'hangup' event execute when I use the 'Read' command?
12:28.13carrarJanM, so the simple solution is to just switch your whole system over to CentOS :)
12:28.55carrarok who has ticket #2
12:29.49JanMcarrar, Yeah, simple me for me to do that, but impossible for my customers. Hopefully their system comes with an Asterisk installation actually working...
12:29.55Zogotcarrar: perhaps me :P? im trying to get MinivmMWI working, but im not seeing the notify events come out of it when I reach the application in the dialplan
12:30.28carrarJanM, probably just need to track down whats missing on your system
12:31.27carrarWhat are you seeing?
12:34.58*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
12:37.55JanMcarrar, I'm going to compile Asterisk on my own hoping that only the package is broken. Will report in when done
12:40.01*** join/#asterisk membiblio (~membiblio@108.32.57.2)
12:40.35*** join/#asterisk acidfoo (18303355@gateway/web/freenode/ip.24.48.51.85)
12:41.31JanMZogot, I guess "What are you seeing?" was addressed to you
12:49.55*** join/#asterisk vinrock (~vin@unaffiliated/vinrock)
12:50.05carrarParham, MinivmMWI(2100@f20030303,1,1,1) vs MinivmMWI(2100@f20030303,0,0,0) works for me
12:50.20carraras a example and test
12:50.31carrarMWI light comes on with the 1st one
12:50.38carraroff with the second
12:51.08Parhamcarrar: Pardon? I didn't get what you meant.
12:51.27carrarOh sorry
12:51.29carrarthat was for Zogot
12:51.44Zogotcarrar: hmm where 2100@f2003 is a minivm account?
12:51.52carrar2100 is my extension
12:52.05carrarf20030303 is the contect in voicemail.conf that extension is in
12:52.08carrarcontext
12:52.27Zogothmm, thats even wierder, im trying to get it to work with minivm accounts
12:52.32Zogotso thats normally an email
12:52.49Zogotand your phone is registered at 2100?
12:53.04carrarfor voicemail yes, not in sip
12:53.14Zogotmailbox=2100@f2003
12:53.18carraryes
12:53.47carrartechnically I have
12:53.47carrarvmexten=2100
12:53.47carrarmailbox=2100@f20030303
12:53.50carrarbut yeah
12:54.10ParhamDoes anyone know how I can make the 'hangup' event execute when I am waiting for input using the 'Read' command?
12:54.43carrarParham: use a timeout
12:54.55carraror hangup
12:56.37Parhamcarrar: Well, I have a 10 second timeout, but it doesn;t get executed.
12:58.43Zogotcarrar: hmm yeh i dont think thats doable for us, we dont use app_voicemail atall
12:59.29Parhamcarrar: I do get 'User disconnected' in the console, but the hangup event doesn't happen.
12:59.40*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
12:59.53*** join/#asterisk juned (~juned@202.131.119.122)
13:00.16carrarZogot: worked for me
13:00.20carrar<PROTECTED>
13:00.23carrar<PROTECTED>
13:00.25carrar<PROTECTED>
13:00.28carrar<PROTECTED>
13:00.31carrarread(SOMETHING,,20,5)
13:00.33carrartimeout being 5
13:00.45carrar20 digits
13:00.48Zogotcarrar: i think i fixed it, thanks :)
13:00.49carrarentered nothing
13:01.21carrarflips to ticket #4
13:01.50carraralmost bed time
13:01.53carrarWed Nov 25 22:01:53 JST 2015
13:01.57*** part/#asterisk juned (~juned@202.131.119.122)
13:02.45carrarerr woops that was for Parham
13:02.46carrarhaha
13:02.50carrargetting people mixed up
13:03.36carrarmust be near bedtime when getting names mixed up
13:04.37*** join/#asterisk eofster (~eofster@213.61.153.26)
13:04.50Parhamcarrar: Hehe!
13:05.04Parhamcarrar: Thanks! Let me try it again...
13:05.16Parhamcarrar: And if you go to bed meanwhile, have great dreams!
13:08.16*** join/#asterisk eschmidbauer (~eschmidba@unaffiliated/eschmidbauer)
13:08.18*** join/#asterisk azerus (~badass@unaffiliated/badass)
13:08.51*** part/#asterisk eschmidbauer (~eschmidba@unaffiliated/eschmidbauer)
13:11.05*** join/#asterisk Draecos (~Draecos@203-121-194-11.e-wire.net.au)
13:26.22*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
13:50.52JanMZogot: Okay, I compiled Asterisk myself and... still the same problem. Thanks for your help and have a pleasant night :)
13:51.25JanMOops, *@carrar
14:02.46*** join/#asterisk Jesterboxboy (~Thunderbi@chello080109194026.3.graz.surfer.at)
14:07.56*** join/#asterisk italorossi (~Adium@187.60.66.11)
14:11.13*** join/#asterisk K0HAX (~K0HAX@c-75-72-143-131.hsd1.mn.comcast.net)
14:11.15*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
14:30.03*** join/#asterisk newtonr (~RustyNewt@173-21-146-94.client.mchsi.com)
14:30.03*** mode/#asterisk [+o newtonr] by ChanServ
14:31.08*** join/#asterisk wonderworld (~ww@89.204.135.86)
14:38.40*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
14:46.26*** join/#asterisk lvlinux (~ruel@unaffiliated/lvlinux)
14:47.22*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
14:48.17*** join/#asterisk brad_mssw (~brad@66.129.88.50)
14:48.49*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
14:53.45*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
14:58.58*** join/#asterisk guest9903 (~bounceman@185.32.9.250)
14:59.41*** join/#asterisk eofster (~eofster@213.61.153.26)
15:03.57*** join/#asterisk kharwell (kharwell@nat/digium/x-kxnosycxkqwcrgvf)
15:04.57*** join/#asterisk rubio (~rubio@190.19.219.5)
15:05.10rubioHi there.... I have install (from source) asterisk 13 and WebRTC was working on with ICE, now sudendly (or after i don't know what), i have no more audio on WebRTC.... i think this is related to this error: res_rtp_asterisk.c:742 ast_rtp_ice_start: Failed to create ICE session check list: Too many objects of the specified type (PJ_ETOOMANY)....      any ideas?  thanks!
15:08.14newtonrWhat version of Asterisk 13?
15:10.22*** join/#asterisk azerus (~badass@unaffiliated/badass)
15:15.56newtonrWe had https://issues.asterisk.org/jira/browse/ASTERISK-25516 but we didn't get too far and I'm not sure that is the same issue
15:25.07igcewieling*sigh*  Someday I hope to find an e-mail client which does not suck.
15:25.41newtonrI gave up on desktop clients a while back
15:25.56igcewielingnewtonr: web based ones are much much worse.
15:26.59newtonrEh, in my experience about the same, but with less or no crashing.
15:27.14newtonrI've probably lowered my expectations after all these years too
15:28.19igcewieling10:27 local time.  Thunderbird has been downloading messages for about 45 mins now.   Don't know why, but it decided to re-download all messages.
15:28.50igcewielingI use Mutt for my personal mail, but at work that isn't very useful.
15:30.18newtonrYeah I went through outlook, thunderbird, TheBat! and some others. I'm down to just using gmail's web client.
15:30.43newtonrThe biggest annoyance is their weird limited filtering.
15:30.51igcewielingWe went from outlook to gmail.  I hate gmail.  now using thundbird with support for gmail.
15:31.56igcewielingI'll re-open the app when I go to bed tonight.  It can spend all night working on downloading messages.
15:32.29newtonrProbably want to leave a snack by the computer in case it gets hungry from all that work during the night.
15:49.32*** join/#asterisk tparcina (~tomo@212.92.200.41)
15:49.59*** join/#asterisk rmudgett (rmudgett@nat/digium/x-xinjvdqtvsfwwdcq)
15:53.11*** join/#asterisk azerus (~badass@unaffiliated/badass)
15:54.08*** join/#asterisk azerus (~badass@unaffiliated/badass)
15:56.38rubioHi newtonr, sory for the late responce, asterisk version is: 13.6.0
15:56.39Zogotigcewieling: im actually a big fan of the gmail ui
15:58.45Zogotigcewieling: i do this, and many standalone mail clients treat the gmail labels as folders
15:58.46Zogothttp://i.imgur.com/2UKqdjz.png
15:58.49Zogotwhich i really dont like
15:59.06Zogotso with this i can open a mail with o, press l, then type 1.1, 9.1 and press enter
15:59.17Zogotpress k to go to next mail
16:05.16*** join/#asterisk K0HAX (~K0HAX@shellhost.home.englehorn.com)
16:24.42*** join/#asterisk defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net)
16:28.50*** join/#asterisk ks3 (~kevin@216.68.249.18)
16:29.00ks33
16:30.06ks3Ignore me.  I apparently keep typing in the wrong window.
16:31.29*** join/#asterisk pjensen00 (~per@ip-69-178-218-71.far.ideaone.net)
16:34.17*** join/#asterisk edge87 (~edge@67.129.218.233)
16:43.30*** join/#asterisk italorossi (~Adium@187.60.66.11)
17:23.13*** join/#asterisk lewzer (~lewzer@smtp1.dataforge.on.ca)
17:24.36*** part/#asterisk lewzer (~lewzer@smtp1.dataforge.on.ca)
17:26.45*** join/#asterisk F2Knight (~F2Knight@c-50-139-86-39.hsd1.or.comcast.net)
17:53.30*** join/#asterisk CeBe (~CeBe@p5488F9D6.dip0.t-ipconnect.de)
17:53.43*** join/#asterisk rubio (~rubio@OL147-36.fibertel.com.ar)
17:57.39*** join/#asterisk CeBe (~CeBe@p5488F9D6.dip0.t-ipconnect.de)
18:15.41*** join/#asterisk roswell (roswell@home.roswellsite.ru)
18:30.50*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
18:35.51*** join/#asterisk Savemech (Savemech@gateway/shell/firrre/x-syythiuurmdzpgjn)
18:40.23*** join/#asterisk zapata (~zapata@2a02:b18:581:10:7c75:27a9:c511:d695)
18:42.17*** join/#asterisk u0m3 (~u0m3@89.120.204.99)
18:45.05*** join/#asterisk saratogga (~saratogga@wsip-184-179-24-179.ph.ph.cox.net)
19:06.06*** join/#asterisk d3wayne (~dwayne@c-68-32-120-188.hsd1.al.comcast.net)
19:11.18*** join/#asterisk d3wayne (~dwayne@c-68-32-120-188.hsd1.al.comcast.net)
19:22.00*** join/#asterisk octo675 (4f9bc289@gateway/web/freenode/ip.79.155.194.137)
19:25.13octo675hi all
19:25.47octo675i'm trying to configure pausemonitor, but when press #01 the call hangs up
19:25.53octo675any help please?
19:26.10[TK]D-FenderShow us the call & configs
19:26.13[TK]D-Fender~pb
19:26.17infobotA "pastebin" is a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://www.pastebin.com, http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
19:26.18[TK]D-Fender^^^
19:26.30octo675ok
19:28.20octo675http://pastebin.com/4P8Scdk4
19:29.38octo675in features.conf i uncomment ;pause.. and ;unpause.. and assign #01 and #02
19:29.48*** join/#asterisk pchero (~pchero@109.70.54.56)
19:30.34octo675in console when call hangs tell this:  Spawn extension (tecnico, 104, 5) exited non-zero on 'SIP/103-00000002'
19:33.46[TK]D-Fenderpastebin the call
19:34.03[TK]D-Fender"sip set debug on" <- we need prrof of which side is killing it
19:34.24octo675OK
19:39.29octo675[TK]D-Fender: http://pastebin.com/WgBiiHz2
19:40.08octo675i start copy text after pausemonitor key is presed
19:40.21*** join/#asterisk salz212 (b6b98be1@gateway/web/freenode/ip.182.185.139.225)
19:46.43octo675maybe need allowoverlap?
19:53.43[TK]D-Fendershow the FULL call
19:54.35[TK]D-FenderYou also didn't show your features.conf
19:54.38[TK]D-FenderI asked for configs
19:54.41[TK]D-Fenderthat's clearly important
19:55.49*** join/#asterisk italorossi (~Adium@187.60.66.11)
20:01.37*** join/#asterisk almostworking (~almostwor@unaffiliated/almostworking)
20:02.06octo675features.conf -> http://pastebin.com/QbRjPCG4
20:06.34octo675full call -> http://pastebin.com/US6Y42XE
20:13.06salz212Hi, does channel.c: Soft-Hanging up channel mean call hanged normally ?
20:18.28WIMPyUnfortunately I'm not sure about that. I think soft hangup means it was requested internally. Otherwise the answer obviousely depends on you definition of "normal".
20:21.19[TK]D-Fenderocto675: How long did you talk?
20:21.55octo675nothing just answer and 2 secons press #001 and call ends
20:23.00salz212WIMPy: I am trying to find a case of short duration calls hangup issue with DEBUG and pcaps ON. I do not see any re-trans or asterisk err for such calls all I see is this soft hang. I am trying to figure out a reason.
20:24.39salz212Also regarding ID inside DEBUG[] or Verbose[] for at least one leg it remain same, right? What about rtp packet logger id's should they comply with VERBOSE ID ?
20:24.53*** join/#asterisk K0HAX (~K0HAX@shellhost.home.englehorn.com)
20:25.53*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
20:26.04WIMPyMight be easier to listen on AMI to find out what's going on. Have you cranked up verbose?
20:33.04salz212WIMPy: I am looking at messages and tcpdump. tcpdump sip trace is straight forwards invite 200 and then BYE. But I do not see reason in messages. Here are some filtered logs: http://pastebin.com/S2TDy8Q4
20:34.16WIMPyWho sent the BYE?
20:34.52*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
20:36.17salz212WIMPy Asterisk B# side.
20:41.44*** join/#asterisk saratogga (~saratogga@166.170.47.229)
20:42.33salz212actually asterisk send bye
20:43.22octo675any know why h extension exten => h,1,Dial(SIP/100) only calls for 1 second and ends automatically?
20:44.14igcewielingocto675: you cannot dial from inside H
20:44.18*** join/#asterisk carrotcake (~carrotcak@unaffiliated/carrotcake)
20:44.59octo675igcewieling: ok thanks, im trying to redirect an incorrect password from Authenticate . try to dial if its wrong to admin extension
20:45.14igcewielingocto675: h is called after the call is hung up.
20:45.22igcewielingyou need to handle it in the normal dialplan.
20:46.01octo675cant use authenticate for that purpose?
20:46.09octo675if wrong password -> make something?
20:46.57igcewielingocto675: from looking at core show application authenticate you cannot do that.   You try READ or something like that and handle it manually.
20:47.10octo675ok thanks ;)
20:53.56*** join/#asterisk w9sh (~sph@c-73-54-187-250.hsd1.ga.comcast.net)
20:59.45carrotcakekinda of newbie here, succefully installed asterisk,  I digit 600 on the phone, but nothing happens. what could I check for ?
21:19.45*** part/#asterisk carrotcake (~carrotcak@unaffiliated/carrotcake)
21:20.51*** join/#asterisk areski (~areski@80.174.128.10.dyn.user.ono.com)
21:42.05*** join/#asterisk lvlinux (~ruel@unaffiliated/lvlinux)
21:46.35*** join/#asterisk CeBe (~CeBe@ipb219cc0a.dynamic.kabel-deutschland.de)
22:07.48*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
22:13.21*** join/#asterisk f0ner00t (~f0ner00t@69-170-21-20.static-ip.telepacific.net)
22:13.36f0ner00tCan someone help me.. I'm using the Lenny Script and getting
22:13.46*** part/#asterisk kharwell (kharwell@nat/digium/x-kxnosycxkqwcrgvf)
22:14.25f0ner00t[2015-11-25 14:14:04] WARNING[32563][C-000011a7]: file.c:701 ast_openstream_full: File lenny/Lenny01 does not exist in any format
22:14.28f0ner00t[2015-11-25 14:14:04] WARNING[32563][C-000011a7]: file.c:1017 ast_streamfile: Unable to open lenny/Lenny01 (format (ulaw)): No such file or directory
22:14.32f0ner00t[2015-11-25 14:14:04] WARNING[32563][C-000011a7]: app_playback.c:484 playback_exec: ast_streamfile failed on SIP/from-trunk-0000018f for lenny/Lenny01
22:14.50f0ner00tWhat is causing this?
22:15.35robmallenny/Lenny01
22:18.10f0ner00tWhat should it be?
22:18.25robmalAn existing file.
22:18.50f0ner00t/var/www/html/admin/modules/itslenny/sounds/lenny/Lenny05.ulaw
22:19.09f0ner00tWhat directory is it looking in?
22:19.44robmalI have no idea, but strace -p `pidof asterisk` might help.
22:21.03*** join/#asterisk roler (~textual@unaffiliated/roler)
22:26.23f0ner00tJust got :
22:26.24f0ner00tpoll([{fd=-1}, {fd=0, events=POLLIN}], 2, -1) = ? ERESTART_RESTARTBLOCK (To be restarted)
22:26.28f0ner00t--- SIGURG (Urgent I/O condition) @ 0 (0) ---
22:26.30f0ner00trt_sigreturn(0x17)                      = -1 EINTR (Interrupted system call)
22:26.33f0ner00tpoll([{fd=-1}, {fd=0, events=POLLIN}], 2, -1
22:26.33*** join/#asterisk [NC] (~nc@rv1.sabius.net)
22:28.31robmalIt seems to be urgent.
22:28.47robmalStill, not the part you were looking for.
22:28.51robmalAnd don't paste here.
22:28.55f0ner00tOKay
22:28.56*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
22:28.58f0ner00tI'll use pastebin
22:29.03f0ner00tbut thats all it showed
22:29.34robmalBecause the process is idle. You need to repeat the call you made to make it do anything :-)
22:29.50f0ner00tI did
22:29.51f0ner00tlol
22:29.56f0ner00tthats how I got that output
22:29.59robmalImpossiburu.
22:30.01f0ner00tbut I'll try again
22:30.50f0ner00tSame stuff
22:31.50robmalSo i might have gone lazy on that `pidof asterisk` part, strace the pid of asterisk that's serving the call.
22:32.01robmalIt'll show you where it's looking for Lenny01
22:37.56f0ner00tThe only thing i see serving the asterisk pid is 1862
22:38.56robmalSo, the strace should show everything it does to make the call.
22:41.06f0ner00thttp://pastebin.com/fpB7F9vH
22:41.11f0ner00tthat is all my asterisk pid
22:41.26*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
22:42.31robmalSo strace -p 1862 should show everything your asterisk does to call.
22:43.15*** join/#asterisk saratogga (~saratogga@wsip-98-174-232-77.ph.ph.cox.net)
22:43.24robmalDon't listen to the guys at #freepbx, they're giving you the easy way. You need strace and coredumps!
22:44.31f0ner00tlol
22:44.38f0ner00tI saw you on that channel too
22:45.00f0ner00tI showed you all my PIDS for asterisk but it doesn't seem like their is any others except for 1862
22:45.16f0ner00tI already new it was a directory / file issue
22:45.20f0ner00tthat was the simple part
22:45.29f0ner00tI wanted to know why its not calling it
22:45.29f0ner00tlol
22:45.44robmalA strace on asterisk pid has to show you every function it runs to call.
22:47.22f0ner00t.window 3
22:47.33f0ner00tI'm getting the same thing each time what I pasted above.
22:52.35*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
23:00.05*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
23:08.28f0ner00tThank you for your help robmal
23:08.36MrTAPf0ner00t: grep astvarlibdir /etc/asterisk/asterisk.conf
23:08.43f0ner00tI still don't know why strace would not help me
23:08.53f0ner00tMrTAP: Its been resolve synlink
23:09.33MrTAPokie dokie
23:10.22*** join/#asterisk dorphalsig (be9d89b9@gateway/web/freenode/ip.190.157.137.185)
23:10.41dorphalsigHey all.
23:11.46dorphalsigWhy if I have two sip clients in the same subnet as my asterisk box will I get an Address Family Mismatch notice and no audio?
23:13.25dorphalsiganybody?
23:16.46[TK]D-FenderPROTOCOL
23:17.11[TK]D-FenderAnd like everything else... you shouldn't be asking us without SHOWING us the call
23:17.19dorphalsigok
23:19.50dorphalsighttp://pastebin.com/bS0Eh03Q
23:19.57dorphalsigThere's the call
23:21.25dorphalsigasterisk 192.168.0.2, phone 192.168.0.13, webphone: 192.168.0.11
23:24.20dorphalsigI keep seeing rtp sent via ice
23:24.42dorphalsigbut, why? I mean, I'm in the same subnet
23:25.09dorphalsigand nat = no is set in the two parties involved
23:27.59dorphalsig[TK]D-Fender: Maybe you could show me where I messed up?
23:29.40dorphalsighere are the confs: http://pastebin.com/5EZQpXQi
23:32.14[TK]D-Fenderno SIP DEBUG?
23:32.19[TK]D-Fender....
23:35.19*** join/#asterisk theron (~theron@2620:10d:c091:200::a:c026)
23:40.01*** join/#asterisk cyford (~support@c-73-137-1-6.hsd1.ga.comcast.net)
23:42.53dorphalsig[TK]D-Fender: http://termbin.com/mmyf
23:42.54dorphalsigthe whole thing
23:46.49*** join/#asterisk saratogga (~saratogga@wsip-98-174-232-77.ph.ph.cox.net)
23:46.57igcewielingI thought ICE was required for WebRTC?
23:48.54*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
23:49.26dorphalsigAFAIK it is, but I'm in the same subnet and ice seems to be sending some data to the wrong address...

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