IRC log for #asterisk on 20160325

00:26.51RadicalDevIs there a way I can get a list of all the active channels in asterisk besides core show channels?
00:27.22[TK]D-FenderAMI
00:30.05RadicalDevI don't see anything about that in the AMI docs.
00:32.57RadicalDevI've been doing ami.command("core show channels verbose"), but I've run into an issue where the channel name is longer than what is reported with that command.
00:33.36RadicalDeve.g., core show channels verbose lists SIP/outbound-0000032, but the actual channel ID is SIP/outbound-00000327
00:35.35WIMPyconcise might work better than verbose, but you should take a looka the Status command.
00:36.20[TK]D-FenderCorrect
00:36.21WIMPyApart from that you can just keep listening and will always know what's going on.
00:36.29[TK]D-Fenderconcise lists the full with a delimiter
00:36.38[TK]D-Fenderand AMI has direct functions.
00:36.47[TK]D-FenderYou were just using AMI ... to call a CLI command
00:36.56[TK]D-FenderWhich is not why I suggested AMI
00:37.02RadicalDevI was in a hurry some years ago when I wrote that =)
00:37.24[TK]D-Fenderusing AMI to call the CLI command is not an "alternative" or "better" .... than just calling the CLI command you asked for an alternative to...
00:37.50RadicalDevHence my first response: RadicalDev> I don't see anything about that in the AMI docs.
00:37.54WIMPyWell, it does allow for better permission management.
00:38.02WIMPyBut yeah, it's a pretty bad idea.
00:45.53*** join/#asterisk aness (~aness@2a02:fe0:c310:4830:35fb:2a57:d719:f373)
00:47.40[TK]D-Fenderhttps://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_CoreShowChannels
00:47.41[TK]D-Fender^^^^^
00:47.42rmudgettRadicalDev: Look at "manager show command CoreShowChannels"
00:48.01[TK]D-FenderWhich gives you : https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerEvent_Status
00:48.03[TK]D-Fender^^^^^
00:49.54RadicalDevthis box is asterisk 1.8 =/ concise works though.
00:52.37rmudgettRadicalDev: That AMI action exists in v1.8
00:52.46[TK]D-Fender1.8 is no longer even supported
00:53.14[TK]D-Fenderrmudgett, Indeed
00:53.44RadicalDevrmudgett: I'm trying to figure out how to use it. pyst2 has that command, but it is just returning Success, which is unhelpful.
00:54.05[TK]D-FenderDid you read the second link?
00:54.47[TK]D-FenderFirst triggers the transmission of those following events
00:55.08RadicalDevYep. I figured that out right before you said it =)
00:59.26*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
01:07.50EllenorLhugs [TK]D-Fender for no apparent reason
01:25.30*** join/#asterisk [NC] (~nc@rv1.sabius.net)
01:32.53*** join/#asterisk F2Knight (~F2Knight@c-50-139-95-192.hsd1.or.comcast.net)
01:47.56*** join/#asterisk cresl1n (~Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
01:47.56*** mode/#asterisk [+o cresl1n] by ChanServ
02:00.45*** join/#asterisk cresl1n (~Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
02:11.02*** join/#asterisk F2Knight (~F2Knight@wsip-70-169-224-223.oc.oc.cox.net)
02:13.21*** join/#asterisk LiuYan (~NiHola@unaffiliated/liuyan)
02:16.03*** join/#asterisk socomm (~socomm@47.33.97.239)
02:17.01socommI've compile pjsip into asterisk but when I try to connect an sip client to asterisk it doesn't take.
02:17.14socommnmap shows 5060 as closed, but netstat shows it as listening
02:17.27socommwhen I telnet to 5060 i get connection refused - locally
02:18.11WIMPySIP usually uses UDP.
02:18.22socommsorry, mispoke with listening state
02:18.47socommbut netstat does see it as bound to the LAN address
02:19.04socommI've already flushed firewall rules for testing purposes
02:19.39socommI've even have debugging on, but the connection doesn't seem to hit asterisk
02:21.01*** join/#asterisk F2Knight (~F2Knight@c-50-139-95-192.hsd1.or.comcast.net)
02:24.32[TK]D-FenderTelnet is not going to work unless you specifically configured * to use TCP and not the default of UDP
02:26.24socomm[TK]D-Fender: right you are
02:59.03wyoungEllenorL: You don't need a reason
02:59.22EllenorLwyoung, i do if he thinks i do
02:59.36wyoung[TK]D-Fender: tcpdump would help
02:59.42wyoungor netcat
03:03.17*** join/#asterisk F2Knight (~F2Knight@c-50-139-95-192.hsd1.or.comcast.net)
03:14.05*** join/#asterisk Draecos (~Draecos@203-121-194-197.e-wire.net.au)
03:32.05*** join/#asterisk xnaron (~xnaron@50.65.149.129)
03:36.45jfindleyor ssh, tcpdump, and wireshark... ssh user@host "tcpdump -U -s0 -w - not port 22" | wireshark -k -i -
03:39.45LiuYanasterisk-ldap is used for realtime configuration only, not for providing LDAP function to fetch information from LDAP server,  right?
04:22.34*** join/#asterisk Marquel (~Marquel@fuchsfanclub/allerdings/marquel)
04:28.38*** join/#asterisk azerus (~badass@unaffiliated/badass)
04:29.48*** join/#asterisk azerus (~badass@unaffiliated/badass)
04:31.41*** join/#asterisk azerus (~badass@unaffiliated/badass)
04:39.16SamotSo I have this in my dialplan: exten => _NXXNXXXXXX,n,Dial(SIP/1${EXTEN}@${provider},43,L(20000)) limits the call to 2 minutes but I want to set the variable LIMIT_PLAYAUDIO_CALLER to no. I'm not sure how to set that option in the Dial() string. Is it in the L(20000) option? Anyone know?
05:07.46*** join/#asterisk azerus (~badass@unaffiliated/badass)
05:12.54*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
05:39.39[TK]D-FenderSamot, You don't set it in Dial.  You set it BEFORE Dial.
05:40.42SamotOK.  Thanks.
05:52.00*** join/#asterisk bof22 (~Thunderbi@185.13.183.107)
05:58.42EllenorLSet it in hell.
06:06.17*** join/#asterisk slav3_sergal (~frankthet@unaffiliated/slav3-kitten/x-0866809)
06:06.29*** join/#asterisk F2Knight (~F2Knight@c-50-139-95-192.hsd1.or.comcast.net)
06:11.29*** join/#asterisk bof22 (~Thunderbi@185.13.183.107)
06:17.40*** join/#asterisk elitas (~elitas@213.226.135.203)
06:23.17*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
06:25.33jfindleyIs there a way to exit from an AGI script and go to a different context,exten,priority?
06:27.02[TK]D-FenderYes, there is an AGI command expressly for that
06:30.58jfindleygosub?
06:39.12[TK]D-FenderNo, that implies going back
06:39.22[TK]D-Fenderyou simply set the context, exten & priority
06:39.28[TK]D-Fenderand end it
06:39.34[TK]D-Fenderheads off to bed
06:41.58*** join/#asterisk F2Knight (~F2Knight@c-50-139-95-192.hsd1.or.comcast.net)
06:51.17*** join/#asterisk tparcina (~tomo@212.92.200.41)
06:55.08*** join/#asterisk jwpierce3 (~jwpierce3@50-82-153-66.client.mchsi.com)
06:59.32*** join/#asterisk joako (~joako@opensuse/member/joak0)
07:12.44*** join/#asterisk areski (~areski@80.174.128.115.dyn.user.ono.com)
07:16.29utrackHey, could anyone help me with AMI?
07:16.36utrackSimple question
07:16.41utrackI'm using these settings: http://pastebin.com/RDmYGNUw
07:17.03utrackHowever when I telnet to AMI and login I can't see any userevents fired after the call
07:22.31*** join/#asterisk defsdoor (~andy@207.229-252-62.static.virginmediabusiness.co.uk)
07:29.49utrackEven after adding the g option to the Dial() :(
07:31.35*** join/#asterisk kayatwork (~kayfox@orca.zerda.net)
07:36.18wdoekesutrack: that's not a valid dialplan
07:37.10wdoekes$ asterisklint dialplan-check utrack.conf
07:37.11wdoekesutrack.conf:3 W_DP_PRIO_BADORDER: bad priority order for pattern 's' and prio <unset>
07:37.35wdoekesyou should replace "exten=>s," with "same=>"
07:37.56wdoekesor "exten=>_XXXXXXXXXXX,"
07:39.21*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
07:52.41utrackwdoekes: thanks! I'll try
07:53.58utrackwdoekes: works, thank you :)
07:58.41*** join/#asterisk aness (~aness@2a02:fe0:c310:4830:35fb:2a57:d719:f373)
07:59.31*** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-31-198.w90-32.abo.wanadoo.fr)
08:08.42*** join/#asterisk Zogot (~Adium@185.21.52.255)
08:15.53*** join/#asterisk bof22 (~Thunderbi@80.12.51.194)
08:23.24*** join/#asterisk ChannelZ (channelz@burner.com)
08:25.02*** join/#asterisk ruied (~ruied@125.44.62.94.rev.vodafone.pt)
08:32.06utrackIs there any way to extract the answer's status and who hung up the call first? ${HANGUPCAUSE} is 0 (undefined) if the peer didn't answer
08:36.06utracknvm, found it
08:43.42*** join/#asterisk AviiNL (~AviiNL@185.21.52.255)
08:47.24*** join/#asterisk Zogot (~Adium@185.21.52.255)
08:52.43*** join/#asterisk sekil (~sekil@nat-73.net011.net)
08:53.07jfindleyutrack: What did you find?
08:54.36*** join/#asterisk defsdoor (~andy@207.229-252-62.static.virginmediabusiness.co.uk)
09:10.16*** join/#asterisk aness (~aness@2a02:fe0:c310:4830:35fb:2a57:d719:f373)
09:23.42*** join/#asterisk areski (~areski@198.red-83-53-196.dynamicip.rima-tde.net)
09:48.21utrackjfindley: ${DIALSTATUS} returns the answer's status more reliably than ${HANGUPCAUSE} :)
09:48.48jfindleyYeah, but no indication of who hung up
09:52.37*** join/#asterisk cryptic (~cryptic@142-196-132-50.res.bhn.net)
09:53.31*** join/#asterisk aness (~aness@2a02:fe0:c310:4830:35fb:2a57:d719:f373)
10:09.29*** join/#asterisk aness1 (~aness@84.215.107.62)
10:11.26*** join/#asterisk sekil (~sekil@78.24.109.159)
10:12.45*** join/#asterisk clopez (~tau@neutrino.es)
10:26.57*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
10:30.21*** join/#asterisk aness (~aness@84.215.107.62)
10:49.14*** join/#asterisk pchero (~pchero@109.70.54.56)
10:51.21*** join/#asterisk aness (~aness@cm-84.215.107.62.getinternet.no)
11:00.22*** join/#asterisk aness (~aness@cm-84.215.107.62.getinternet.no)
11:00.28*** join/#asterisk KerioMorgan (~Adium@68.68.103.2)
11:10.29*** join/#asterisk mub (~Jub@107.1.220.2)
11:19.39*** join/#asterisk sekil (~sekil@nat-73.net011.net)
11:27.30*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
11:47.04*** join/#asterisk Zogot (~Adium@185.21.52.255)
12:08.40utrackjfindley: oh, right :( that I still don't know
12:29.11*** join/#asterisk aness (~aness@2a02:fe0:c310:4830:35fb:2a57:d719:f373)
12:42.16*** join/#asterisk sekil (~sekil@nat-73.net011.net)
12:59.27*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
13:00.39*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
13:00.39*** mode/#asterisk [+o cresl1n] by ChanServ
13:07.35*** join/#asterisk aness (~aness@cm-84.215.107.62.getinternet.no)
13:10.38*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
13:16.33*** join/#asterisk mmlj4 (~jkelly@2600:8807:7f04:400:1000:3317:3791:d31)
13:18.09*** join/#asterisk boris_t (~boris_t@212.119.243.183)
13:20.02*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:29.50*** join/#asterisk Synthase_ (uid63346@gateway/web/irccloud.com/x-jzxjpghphrqdbxxp)
13:31.24*** join/#asterisk aness (~aness@2a02:fe0:c310:4830:35fb:2a57:d719:f373)
13:35.33*** join/#asterisk areski (~areski@134.Red-88-27-168.staticIP.rima-tde.net)
13:38.08*** part/#asterisk LiuYan (~NiHola@unaffiliated/liuyan)
13:43.40*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
14:12.26*** join/#asterisk kayatwork (~kayfox@orca.zerda.net)
14:14.40*** join/#asterisk areski (~areski@84.212.133.37.dynamic.jazztel.es)
14:20.22*** join/#asterisk jwpierce3 (~jwpierce3@50-82-153-66.client.mchsi.com)
14:29.13*** join/#asterisk kharwell (kharwell@nat/digium/x-muwmlfigdvxckrye)
14:30.59*** join/#asterisk Zogot (~Adium@185.21.52.255)
14:37.07*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
14:37.07*** mode/#asterisk [+o cresl1n] by ChanServ
14:47.37deepend<PROTECTED>
14:51.05*** join/#asterisk rmudgett (rmudgett@nat/digium/x-hcxhpxamaverplfz)
14:53.58*** join/#asterisk keithf (~keithf@ool-2f151dc2.static.optonline.net)
14:56.46*** join/#asterisk F2Knight (~F2Knight@c-50-139-95-192.hsd1.or.comcast.net)
15:00.16*** join/#asterisk mub (~Jub@65-123-23-2.dia.static.qwest.net)
15:06.08dan_jHi. If a caller joins the queue but then hangs up before answering, in the 'h' extension, what variable can I use to determine that the call was never answered by an agent?
15:25.20*** join/#asterisk pchero (~pchero@109.70.54.56)
16:01.07*** join/#asterisk sekil (~sekil@pppoe-44-110-24-78.net011.net)
16:17.48*** join/#asterisk areski (~areski@84.212.133.37.dynamic.jazztel.es)
16:19.53exuberocityMorning -- quick question about a PRI. Anyone able to answer a quick question? I have a program called GFI faxmaker that has virtual "trunks" that go over a PRI. At a certain point the trunk is "requesting the PRI go into maintenance mode" per our carrier. Is this something that can happen? Anyone have any idea?
16:20.20exuberocityJust dead air when you call the number when it happens and when you try to fax out from the program it's like it's looping back.
16:24.24*** join/#asterisk kunwon1 (~kunwon1@unaffiliated/kunwon1)
16:26.19WIMPyWhat does maintenance mode mean? Is that just a phrase for "down"?
16:27.31WIMPyBut no, surely not normal.
16:29.30exuberocityYeah, "down" is what they are and the carrier calls it maintenance.
16:29.52exuberocityI would think the carrier's equipemnt would be able to ignore maintenance signals or specified requests as needed.
16:40.50*** join/#asterisk busymind (~textual@c-24-21-79-235.hsd1.wa.comcast.net)
17:11.53*** join/#asterisk pchero (~pchero@109.70.54.56)
17:21.34*** join/#asterisk azerus (~badass@unaffiliated/badass)
17:26.24*** join/#asterisk KerioMorgan (~Adium@68.68.103.2)
17:26.39*** join/#asterisk KerioMorgan (~Adium@68.68.103.2)
17:39.46*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
17:46.04*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
18:43.38*** join/#asterisk Bhakimi (~textual@208.78.137.2)
18:46.18*** join/#asterisk azerus (~badass@unaffiliated/badass)
18:46.39Bhakimihi guys, i have two servers on a local network both running asterisk 11.22 and i've ben having issues with iax trunks giving me all kinds of issues randomly. i jsut discovered that there is loss and jiter between the boxes when there is a iax2 trunk. i ran iax2 show netstats to get this information, any idea how i can trace this issue? there is absolutely no packet loss or latency between the two servers
18:47.24Bhakimithe message that floods asterisk and causes it to stall for a few minutes is "Exceptionally long voice queue length queuing to"
18:48.55Bhakimihttp://pastebin.com/kiu6UqqD is a link to the netstats output
18:57.32*** join/#asterisk areski (~areski@80.174.128.115.dyn.user.ono.com)
19:14.14*** join/#asterisk acro458 (0cab5efe@gateway/web/freenode/ip.12.171.94.254)
19:17.09acro458Hello, I haven't used asterisk yet. I want to know if I can use it to develop an application. I want someone to be able to call a phone number, the application will pick up, and get "Thank you for calling xxxx press 1 for xxxxx, press 2 for yyyy, etc" and respond based on key pressed.
19:17.21acro458Is this something I can use asterisk for?
19:17.32acro458(or is there a better/easier solution)
19:19.09acro458I would like to run this application from a computer with only an ethernet cable connected (no POTS line)
19:21.16acro458I have seen this page: http://www.asterisk.org/get-started/applications/ivr
19:21.58*** join/#asterisk Aboba (~Bob@S010614cc209fc3d3.gv.shawcable.net)
19:23.17acro458my main question is how do I set it so when someone calls my AT&T phone number, the asterisk application picks up (and plays the voice message)
19:26.34[TK]D-FenderYes
19:26.49[TK]D-Fender* is a good platform for this
19:27.14[TK]D-FenderCall comes in from "wherever" and you can have it go through whatever hoops you want it to
19:29.02acro458Ok
19:29.09Bhakimiacro458 you need a fxo card and place that in your server
19:29.19Bhakimiyou can use sangoma for that, they make usb boxes for that
19:29.42Bhakimiand you wanpipe with asterisk to send that call into asterisk, then direct that call to a ivr
19:30.08Bhakimisetup a freepbx box, they have nice UIs that allow you to configure all of that
19:31.06acro458Ok, so I can't just use a single ethernet port? (when I use google voice from computer to computer, I do not need any special hardware)
19:31.21acro458I assume Google uses the special hardware internally?
19:31.31Bhakimiif its a google voice number you can probably use gtalk module in asterisk
19:31.37Bhakimii thinkt hey have it in asterisk 11 or 13
19:32.00Bhakimiand then forwoard ur at&t number to the google number
19:32.43acro458It is not, it is an AT&T pots line.
19:33.02acro458I am just hoping for a solution without any special hardware
19:33.51acro458It needs to be able to support at least 50 concurrent incoming calls (no outgoing)
19:34.27Bhakimiyou can send that number to a google voice number and have asterisk register to the google voice number
19:34.36Bhakimior get a cheap inbound sip did
19:34.46Bhakimipurchase a voip number
19:34.51Bhakimiregister that number on ur pbx
19:34.58Bhakimiand forwoard ur land line to that number
19:36.27acro458hehe, you lost me. :)
19:36.42Bhakimiok so purchase a voip number
19:36.43acro458but I copied what you said because after research it may make sense
19:36.46Bhakimifrom a voip carrier
19:36.57Bhakimisay twillio for example
19:37.08acro458I used them once years ago
19:37.12Bhakimiand you register that number on your asterisk box
19:37.40Bhakimionce you register to twillio, anytime you call that number twillio will send that call to your server
19:37.52Bhakimithis way u have the ability to send calls to your server
19:38.00Bhakimithen point that twillio number to the ivr
19:38.17Bhakimionce thats done point your at&t number to the twillio number
19:38.27acro458ok that makes sense
19:38.29Bhakimiim sure at&t can forward calls
19:38.36acro458yah, we can change forwards
19:38.59*** join/#asterisk jwpierce3 (~jwpierce3@50-82-153-66.client.mchsi.com)
19:39.31acro458But I have to use a service such as twillio, correct?
19:40.06acro458(in order to not need special hardware)
19:40.28Bhakimi<--- needs help figuring out why i have jitter and packet loss between 2 IAX trunks, both servers are on a local network and there is no latency OR packet loss in between them. here is a link tot he iax2 show netstats results : http://pastebin.com/kiu6UqqD
19:40.55Bhakimiacro458 you may be able to use google voice, i think asterisk has a plugin that allowes you to register a google voice numnber to it
19:40.59Bhakimiits asterisk 11 or 13
19:41.54acro458ok, Google voice is at least good for testing.
19:42.02acro458I will give it a try
19:42.03acro458Thanks!
19:42.06fileGoogle Voice may or may not work, and they don't like you using it for multiple calls... it's really for average user usage
19:42.06Bhakiminp =)
19:42.44Bhakimi@file you have any experience dealing with iax trunks ?
19:43.07filelong ago, I don't touch it these days
19:43.48Bhakimii upgraded our farm of servers to asterisk 11 and im getting random iax2 issues and i jsut found out every iax trunk has exacly a lost of 40 packets which is strnage
19:48.53*** join/#asterisk ipengineer (~zconkle@static-71-252-134-63.dllstx.fios.verizon.net)
20:04.29*** join/#asterisk BlackMaria (~BlackMari@dsl.198.58.150.55.ebox.ca)
20:13.02*** join/#asterisk hecatae (~hecatae@185.74.168.168)
20:20.08*** join/#asterisk jwpierce3 (~jwpierce3@50-82-153-66.client.mchsi.com)
20:25.30*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
20:40.20lorsungcuI've got a SIP provider that requires I have the private IP of the PBX in the contact header of invites sent to a publicly routed address. Is there any way to do that, outside of adding their proxy address to localnets?
20:41.17lorsungcuusing chan_sip
20:41.34lorsungcuasterisk 13.5
20:49.00*** join/#asterisk ipengineer (~zconkle@static-71-252-134-63.dllstx.fios.verizon.net)
21:26.42*** join/#asterisk pchero (~pchero@109.70.54.56)
22:22.52lanningwhen did vm-*.ulaw disapper from asterisk-sounds-core-en?
22:23.00*** join/#asterisk EllenorL (~3113102@unaffiliated/ellenor)
22:27.40lanningok, so it is in the tar.gz but not in asterisk-sounds-core-en-1.4.25-1.el6.noarch.rpm
22:58.02*** part/#asterisk kharwell (kharwell@nat/digium/x-muwmlfigdvxckrye)
22:58.03*** join/#asterisk Aboba (~Bob@S010614cc209fc3d3.gv.shawcable.net)
23:10.49*** join/#asterisk azerus (~badass@unaffiliated/badass)
23:20.16*** join/#asterisk aness (~aness@2a02:fe0:c310:4830:35fb:2a57:d719:f373)
23:34.41*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)

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