IRC log for #asterisk on 20151201

16:32.49*** join/#asterisk infobot (ibot@69-58-80-29.ut.vivintwireless.net)
16:32.49*** 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
16:42.59*** join/#asterisk vader- (~Adium@50.232.174.194)
16:43.45Phil-WorkI'm having trouble getting BackgroundDetect() to detect talking and hand off to the talk extension
16:43.54Phil-Workdoes anything special need enabling (modules, configs, etc.)?
16:45.56Phil-Workit doesn't appear to respond to DTMF either
16:46.08igcewieling1Phil-Work: have you looked at the AMD app?:
16:46.28*** join/#asterisk saratogga (~saratogga@107.85.105.213)
16:46.48igcewieling1Phil-Work: there is a good chance you will have to answer the call before Asterisk can detect
16:46.55*** join/#asterisk tompaw (U2FsdGVkX1@tompaw.xxx)
16:46.59Phil-Workigcewieling1, yeh but I'm really just trying to detect the presence of audio here
16:47.28Phil-Workigcewieling1, it's an inbound call into Asterisk - it does an Answer() then a BackgroundDetect()
16:47.35igcewieling1Phil-Work: not trying to detect the presence of a fax tone?
16:47.53Phil-Workthe audio file given to BackgroundDetect() plays but it doesn't detect talking or DTMF
16:47.57Phil-Worknot trying to detect fax, no
16:48.05Phil-Worktrying to set up some automated telephony testing
16:48.12Phil-Workjust need to make sure there's audio heard
16:48.21tompawGuys, anyone dealing with this sort of segfaults?
16:48.22tompawhttp://hastebin.com/kafagetugo.vala
16:48.37igcewieling1Phil-Work: good luck.   I've not seen many people trying that, usually they are trying to detect a fax tone.
16:48.39tompawIt looks like listing channels via ari-py overflows the memory
16:48.51tompaw#44 0x00000000005218ec in handle_uri (headers=0x7f87dc379250, method=AST_HTTP_GET, uri=0x7f87be2c6be9 "api-docs/channels.json", ser=0x7f8870004e08) at http.c:1480
16:50.25igcewieling1tompaw: you might check #asterisk-dev
16:50.59tompawok
16:51.27Phil-Workplaying a longer message, I can get it to respond to DTMF now
16:51.29Phil-Workjust not talking
16:51.58*** join/#asterisk theron (~theron@2620:10d:c091:200::9:3ce2)
16:52.49Phil-Workoh, that got it
16:52.50Phil-Worksame => n,BackgroundDetect(bombsquad, 1, 1, 5000)
16:54.34*** join/#asterisk [d__d] (~d__d]@ec2-54-85-45-223.compute-1.amazonaws.com)
17:03.46*** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica)
17:04.57*** join/#asterisk goddva (~goddva@2a02:fe0:c510:ebb1:ae9e:17ff:fe91:a8c9)
17:05.42*** join/#asterisk Kobaz (~kobaz@its.kobaz.net)
17:29.10*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
17:41.46*** join/#asterisk ChkDigit (~u388mw@74.3.144.66)
17:47.56*** join/#asterisk [d__d] (~d__d]@ec2-54-85-45-223.compute-1.amazonaws.com)
17:59.59*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
18:11.36*** join/#asterisk robmal (r@wporzo.pl)
18:15.17*** join/#asterisk [d__d] (~d__d]@ec2-54-85-45-223.compute-1.amazonaws.com)
18:20.24*** join/#asterisk italorossi (~Adium@187.60.66.11)
18:39.45*** join/#asterisk saratogga (~saratogga@107.85.105.213)
18:45.52*** join/#asterisk mcargile (~mikec@office1.vicidial.com)
18:47.19mcargileI am looking for a very simple WebRTC phone that I can integrate into my website and connect into my Asterisk server. Any recommendations?
18:49.48*** join/#asterisk ericNL (eric@2a01:7e00:e000:69::c0ff:ee)
18:51.41*** join/#asterisk generalhan (~tester@about/windows/staff/generalhan)
18:53.55*** join/#asterisk cyford (~support@c-73-137-1-6.hsd1.ga.comcast.net)
18:58.02*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
18:59.43*** join/#asterisk JonathanD (~JonathanD@freenode/staff-emeritus/jonathand)
19:01.52*** join/#asterisk solmsted (~solmsted@pool-71-176-226-181.rcmdva.fios.verizon.net)
19:05.08solmstedHello, I'm using Asterisk with a custom FastAGI application.  Is there any way to cancel, interrupt, or stop an AGI command that is in progress?
19:05.40WIMPyhangup, redirect
19:05.52WIMPyOr kill that AGI
19:06.29solmstedI tried dropping the TCP socket connection, but Asterisk continues executing the command
19:08.15solmstedIf I send another AGI command while the previous one is still running it seems to just queue them up
19:08.37WIMPyYes, That's the way it works.
19:08.56solmstedis there no way to stop one early?
19:09.44WIMPyNot from the AGI.
19:10.17solmstedis there another interface, outside of AGI, that can stop a running AGI command?
19:10.32WIMPy*CLI and AMI.
19:10.59WIMPyOr you could change over and use ARI. That might have more possibiliteis, but I'm not in to that.
19:11.08igcewieling1you can use non-fast agi
19:11.18*** part/#asterisk mcargile (~mikec@office1.vicidial.com)
19:11.32WIMPyWhat difference does that make?
19:11.34igcewieling1that, along with catching SIGHUP might do what you need to do.
19:11.37solmstedYes, ARI would solve the issue, but last I checked ARI doesn't support speech recognition which I need
19:12.13WIMPyHow is that related to AGI?
19:12.22solmstedwhat AMI action could do it?  I'm not very familiar with AMI.  I was reading through the docs looking for something to do this.
19:12.24igcewieling1WIMPy: might make asterisk see the disconnect.   I *never* have problems with Asterisk continuing to send data to my AGIs
19:12.36igcewieling1WIMPy: oddly, AGI and FastAGI are similar.  He said he is using FastAGI.
19:12.42WIMPyredirect
19:12.56igcewieling1WIMPy: he's not using Manager.
19:13.11WIMPyAGI and FastAGi should do the same, just on another connection type.
19:13.18igcewieling1solmsted: often using both AGI and Manager are done.
19:13.43igcewieling1WIMPy: I doubt it sends HUP accross the tcp socket.
19:14.16WIMPyBut it would reset the connection, which might do the same.
19:14.47igcewieling1"Asterisk will send a SIGHUP signal when the user hangups the channel."   the AGI needs to catch that to see the hangup.
19:15.19solmstedso an AMI redirect action would immediately send the channel to another extension in the dial plan?  If that works, I could probably build something with that and have it just reconnect to FastAGI
19:15.42WIMPyyes
19:15.51igcewieling1solmsted: it should.    Any NEED for fastagi .vs. regular AGI?
19:16.35solmstedwe don't want to be running 1 process per call, we can have a small pool of processes handle all the tcp connections
19:17.13solmstedor we have the option of moving that service to another machine if we want to
19:17.14igcewieling1solmsted: unless you have MANY calls I strongly doubt it will matter.
19:18.54solmstedaveraging 800-1000 calls per hour, so the process count is somewhat significant
19:20.01WIMPyDoesn't sound too interesting.
19:21.31solmstedbut thanks! I'll look at redirect.
19:21.50igcewieling1solmsted: 8000-ish calls per day.  could be considered "many" 8-)
19:23.09solmstedigcewieling1, yes we hit that regularly
19:24.01WIMPyA fork every 3.6 seconds may not be nice, but I see no cause for concern.
19:24.02igcewieling1one of my main servers:  890432 calls processed in 10 weeks, 4 days
19:24.17igcewieling1I run at a min 2 agi per call
19:27.08solmstedidk all the details, we were hitting performance limits with AGI at about 100 simultaneous calls.  We switched to FastAGI and it's been great.
19:31.22*** join/#asterisk saratogga (~saratogga@ip98-165-139-238.ph.ph.cox.net)
19:36.12*** join/#asterisk DragonAzul (~DragonAzu@187.208.73.113)
19:56.24*** join/#asterisk kayatwork (~kayfox@orca.zerda.net)
20:02.12*** join/#asterisk theron (~theron@199.201.64.135)
20:02.45*** join/#asterisk cyford (~support@c-73-137-1-6.hsd1.ga.comcast.net)
20:32.03*** join/#asterisk jpastore (~jpastore@50-200-51-210-static.hfc.comcastbusiness.net)
20:32.54jpastorehi I was wondering how I can modify the sip headers for the invite request. I have a call failing. The capture shows a difference in the Allow header, but I don't see where I can modify that
20:34.37*** join/#asterisk jrrose (jon@nat/digium/x-mdoroeziebeqbmzj)
20:35.06igcewieling1jpastore: For the most part you don't mess with SIP headers in Asterisk.  Is there a specific header you want to modify?
20:36.40*** part/#asterisk DragonAzul (~DragonAzu@187.208.73.113)
20:37.39jpastoreigcewieling1, yes, "allow" under the message header. as well as "supported" the call that fails shows: replaces, timer...the successful call shows timer, 100rel, precondition.
20:37.55igcewieling1jpastore: not going to happen in Asterisk.
20:38.33igcewieling1For direct modification of SIP you'll need a SIP proxy like Kamailio
20:38.57igcewieling1I suggest fixing the cause rather than the symptoms
20:39.13jpastorewhat would the cause be?
20:39.34igcewieling1no idea, but messing with allow and supported is not the solution
20:40.07jpastoreIs it possible to enable a configuration option to allow 100rel and precondition?
20:40.10igcewieling1if you pastebin the invite for a working and non-working call someone (not me) might be interested in looking at it.
20:41.51jpastoreigcewieling1, why would I want to setup Kamailio? what benefit does it serve?
20:43.06igcewieling1jpastore: it allows you to mess with the sip packets.
20:43.21igcewieling1For direct modification of SIP you'll need a SIP proxy like Kamailio
20:43.41igcewieling1if you don't need to mess with the SIP packets there is little reason to set up Kamailio
20:43.43solmstedigcewieling1, WIMPy: thanks I just did a proof-of-concept test with AMI redirect and it's working!
20:44.24jpastoreigcewieling1, well SIP packet modification seems to be the goal. I'll download this and see if I can find a primer on it thanks for the lead
20:44.53igcewieling1jpastore: modifying the SIP packets is a terribly dumb idea.  If you want to do it though.....
20:45.21igcewieling1If this was a general problem there should be zillions of hits in a web search.
20:46.37jpastorethanks I apprecaite the input
20:46.51igcewieling1you're going to waste a lot of time on this.
20:50.15*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
20:51.31jpastoreI appreciate your position. I imagine with my experience where it's at will result in that regardless
20:53.16*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-yseuhsjiciirkpvo)
20:54.05*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
21:18.04*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
21:29.16*** join/#asterisk bkruse (~Adium@24.96.180.227)
21:35.17*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
21:36.15*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
21:36.16*** join/#asterisk DragonAzul (~DragonAzu@187.208.73.113)
21:37.34*** part/#asterisk DragonAzul (~DragonAzu@187.208.73.113)
21:39.41*** join/#asterisk AlHafoudh (~AlHafoudh@echo.freevision.sk)
21:55.22*** join/#asterisk almostworking (~almostwor@unaffiliated/almostworking)
22:00.27*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
22:05.51*** join/#asterisk saratogga (~saratogga@107.85.105.213)
22:16.05*** join/#asterisk Qwell (~north@asterisk/developer/Qwell)
22:16.05*** mode/#asterisk [+o Qwell] by ChanServ
22:16.05*** join/#asterisk tacky (~tacky@unaffiliated/tacky)
22:18.57*** join/#asterisk nanoha-sama (~nanoha-sa@van-app-svr.ad.v10networks.ca)
22:25.57*** join/#asterisk nanoha-sama (~nanoha-sa@van-app-svr.ad.v10networks.ca)
22:34.28*** join/#asterisk nanoha-sama (~nanoha-sa@van-app-svr.ad.v10networks.ca)
22:46.47*** join/#asterisk SupaYoshi (~SupaYoshi@104.223.1.186)
22:57.45*** join/#asterisk infinity1 (~brendon@216.218.216.173)
22:58.50*** join/#asterisk xpheres (~bodhi64@dslb-088-073-010-158.088.073.pools.vodafone-ip.de)
22:59.13xphereshello, it is possible to use two trunks at the same time, one for inboun and the other for outbound?
22:59.27infinity1rrittgarn: i have access to a block of about DIDs (company going out of business). i'm hoping to get some of them (maybe 10, or more depending on cost.). I don't plan on using the DIDs right now and i need a place to hold them. any thoughts? You mentioned e4, NexVortex, and Bandwidth before, but all of those seem like i need a large account to get a descent price.
22:59.42infinity1s/about DIDs/about 150 DIDs/
23:00.10infinity1xpheres: yea
23:00.17xpheresok
23:00.47infinity1xpheres: you can have different trunks for different area codes, dial patterns, whatever.
23:00.57xpheresright
23:01.49rrittgarnPM'd you infinity1
23:17.56*** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey)
23:32.22gruetzkopfDID is so much cleaner with variable-length numbering plans
23:33.24gruetzkopfwe are supposed to use -00 to -99 at our location, but up to 11 digits work..
23:34.03WIMPyThat would off course depend on where you're calling from.
23:35.19gruetzkopfyeah
23:35.33gruetzkopfit doesnt even work from all germany mobile carriers
23:36.02gruetzkopfbut we haven't found a POTS or ISDN provider where it doesn't
23:36.42gruetzkopfeverything that does step-by-step dialing works.
23:36.58WIMPyoverlap
23:38.36gruetzkopfwe do weird stuff with that much numbering space
23:38.59WIMPyHas that become legal, BTW?
23:39.06gruetzkopf?
23:39.21WIMPyI just saw that sipgate offers to add a single digit to any registered number.
23:39.37gruetzkopfwhy shouldn't they
23:40.22WIMPyBecause it used to be illegal to extend numbers.
23:40.46WIMPyNot that it has always been done. I only found out by pure chance.
23:41.35gruetzkopfwell, the BNetzA did complain about us wanting 2 digits for a single ISDN BRI
23:45.07*** join/#asterisk cyford (~support@c-73-137-1-6.hsd1.ga.comcast.net)
23:45.20gruetzkopfbut yeah, we run 5 PBXes, we need some phone numbers
23:45.48*** join/#asterisk drmessano (~nonya@pdpc/supporter/active/drmessano)
23:49.12pjensen00Hey, I'm going nuts ovah hyah.  I'm trying to handle a SIP 302.  Does anything look wrong in this debug output of processing of the 302?
23:49.13pjensen00http://pastebin.com/29VWWgZM

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