00:58.56 | *** join/#asterisk krzee (~k@openvpn/community/support/krzee) |
01:44.37 | *** join/#asterisk omiomi (~omi@CPEa84e3f87c8d3-CMa84e3f87c8d0.cpe.net.cable.rogers.com) |
01:46.50 | *** join/#asterisk Hinotori (~sysx1000@unaffiliated/sysx1000) |
01:47.44 | omiomi | Hello guys, I'd like to know if it's possible to stream a call to anything outside of asterisk. The end goal is to do speech recognition by another service. I would like to understand #1) what asterisk would recognize as a sink for audio data #2) possible encoding that asterisk can do #3) I saw ARI, but I'm kinda interested in the reverse - Asterisk should call some web service upon when a phone call is happening. |
01:47.44 | omiomi | Is this doable? |
01:48.17 | Samot | Yes. |
01:52.50 | omiomi | Hi Samot, can you elaborate? |
01:54.34 | Samot | Well first you would have to use something like RECORD to record their voice.. |
01:54.53 | Samot | Then depending on the service..make the api call |
01:55.11 | Samot | Either via CURL function or AGI script |
01:55.31 | omiomi | Is it possible to stream audio in real-time? |
01:56.50 | omiomi | asterisk >>> speech recog >> stream to browser text that is said is the system I'm trying to prototype. |
01:57.15 | [TK]D-Fender | omiomi, You're probably looking at creating actual code for * at this point |
01:57.34 | Samot | Yup |
01:57.38 | omiomi | D-Fender, do I have to write a channel driver? |
01:57.56 | Samot | No |
01:58.03 | [TK]D-Fender | Or having an external process call into * and bridge the channel to listen in on via a VoIP protocol and then do the streaming for you |
01:58.08 | [TK]D-Fender | * itself does do this |
01:58.12 | [TK]D-Fender | your app will have to |
01:58.21 | [TK]D-Fender | does not* |
01:58.31 | [TK]D-Fender | <[TK]D-Fender> * itself does NOT do this |
02:00.53 | *** join/#asterisk TandyUK (~admin@2a02:13a0:a006:1:b4f8:8786:220b:5d0f) |
02:01.16 | omiomi | so I still would have to have some SIP listener which would do mapping, * could connect the call... is that what you'er saying? |
02:02.52 | [TK]D-Fender | No |
02:03.08 | [TK]D-Fender | Well, actuqally I supose that direction works too |
02:03.30 | [TK]D-Fender | Basically whatever is going to do the streaming has to talk a protocol * can send audio to |
02:07.44 | omiomi | RIGHT! Would it not be simpler to write some kind of a module which a dial plan could call? I'm looking at "Types of Asterisk Modules" page, and it seems that this would fall under "resource" module. Kind of opposite of music_oh_hold... instead of sound data playing into the channel, the channel would be playing PCM samples. Is this reasoning valid? |
02:08.52 | [TK]D-Fender | Ask yourself who you're going to make *'s OTHER apps hook into it? |
02:09.01 | [TK]D-Fender | Time to do some learning... |
02:09.06 | [TK]D-Fender | heads out for the evening |
02:35.05 | *** join/#asterisk iheartlinux (~jwpierce3@mail.trunkmasters.com) |
02:35.39 | iheartlinux | I got intercom working with pjsip and 550's. :) |
02:42.25 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
03:05.03 | *** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica) |
03:16.58 | *** join/#asterisk ganbold (~ganbold@173.244.215.173) |
03:25.40 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
03:35.42 | *** join/#asterisk mmlj4 (~mmlj4@47-44-49-2.static.unas.mo.charter.com) |
03:43.43 | *** join/#asterisk u0m3 (~u0m3@188.27.78.246) |
04:58.13 | *** join/#asterisk mmlj4 (~mmlj4@47-44-49-2.static.unas.mo.charter.com) |
05:32.33 | *** join/#asterisk Oatmeal (~Suzeanne@gateway/vpn/privateinternetaccess/suzeanne) |
06:20.17 | *** join/#asterisk santiaguinho (~santiago@190.159.202.152) |
06:21.07 | *** part/#asterisk santiaguinho (~santiago@190.159.202.152) |
07:08.16 | *** join/#asterisk clopez (~tau@neutrino.es) |
07:37.19 | *** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net) |
07:37.22 | *** join/#asterisk miralin (~Thunderbi@91.237.94.14) |
08:27.57 | *** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net) |
08:31.38 | *** join/#asterisk puzzola (~puzzola@unaffiliated/puzzola) |
08:47.33 | *** join/#asterisk jkroon (~jkroon@165.16.204.162) |
09:01.27 | *** join/#asterisk wdoekes (~walter@wjd.osso.nl) |
09:01.28 | *** mode/#asterisk [+o wdoekes] by ChanServ |
09:43.43 | *** join/#asterisk mmlj4 (~mmlj4@47-44-49-2.static.unas.mo.charter.com) |
09:45.26 | *** join/#asterisk mmlj4 (~mmlj4@47-44-49-2.static.unas.mo.charter.com) |
10:58.17 | *** join/#asterisk j-fish (uid178161@gateway/web/irccloud.com/x-ncmixwzoaoklxcux) |
11:38.10 | *** join/#asterisk stefanauss (~stefanaus@host39-106-dynamic.171-212-r.retail.telecomitalia.it) |
12:36.04 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
12:52.19 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.179) |
13:01.44 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.179) |
13:13.12 | *** join/#asterisk tafa2 (~tafa2@94.187.48.131) |
13:20.19 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.178) |
13:24.45 | *** join/#asterisk ganbold (~ganbold@173.244.215.173) |
13:26.19 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.178) |
13:28.50 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
14:13.12 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.179) |
14:30.10 | *** join/#asterisk Iamnacho (~Iamnacho@ip70-171-163-5.om.om.cox.net) |
14:44.34 | *** join/#asterisk war9407 (war@pool-70-106-197-167.clppva.fios.verizon.net) |
14:54.29 | *** join/#asterisk stux16777216Away (stux@endurance.xzibition.com) |
14:54.49 | *** join/#asterisk miralin (~Thunderbi@91.237.94.14) |
15:06.30 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
15:35.50 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
15:38.15 | *** join/#asterisk gruetzkopf (gruetzkopf@bnc.dont-follow.us) |
16:08.32 | *** join/#asterisk fonefreak (~root@c-76-105-87-143.hsd1.ga.comcast.net) |
16:11.02 | *** join/#asterisk ganbold (~ganbold@173.244.215.173) |
16:38.40 | *** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme) |
16:39.37 | *** join/#asterisk DanB (~DanB@clt-195.192.204.55.ip-anschluss.net) |
16:51.49 | *** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl) |
17:00.51 | *** join/#asterisk gusto (~gusto@2a01:c844:1046:820:efb2:5e13:74f1:8c37) |
17:11.02 | *** join/#asterisk ketas- (~ketas@0011-0000-0000-0000-35dc-8408-07d0-2001.dyn.estpak.ee) |
17:33.46 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
17:33.58 | *** join/#asterisk Typhon (~Typhon@dslb-084-056-182-090.084.056.pools.vodafone-ip.de) |
17:40.02 | *** join/#asterisk mmlj4 (~mmlj4@5.sub-174-218-20.myvzw.com) |
17:50.15 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
17:57.52 | *** join/#asterisk mmlj4 (~mmlj4@47-44-49-2.static.unas.mo.charter.com) |
18:13.42 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.178) |
18:29.29 | *** join/#asterisk ttaylor (~ttaylor@vpn.duh.net) |
18:37.10 | *** join/#asterisk Oatmeal (~Suzeanne@gateway/vpn/privateinternetaccess/suzeanne) |
19:24.59 | *** join/#asterisk Arslan (~king@39.35.156.152) |
19:25.01 | Arslan | hello |
19:25.09 | Arslan | anyone here |
19:31.24 | *** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net) |
19:42.34 | *** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com) |
19:48.52 | *** join/#asterisk Arslan (~king@39.35.72.21) |
19:48.55 | *** join/#asterisk jkroon_ (~jkroon@165.16.204.162) |
19:59.33 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
20:20.26 | Arslan | hello |
20:21.03 | Samot | ? |
20:22.47 | Arslan | am trying to install asterisk but failed |
20:22.52 | Arslan | on debian 7 |
20:23.10 | Arslan | libpri error |
20:23.29 | Arslan | and dahdi error |
20:24.19 | Samot | Do you need any of those? |
20:25.21 | Arslan | what? |
20:26.06 | Arslan | /etc/dahdi/system.conf not found. Nothing to do. |
20:27.08 | Samot | Are you installing a PRI/Analog card? |
20:27.45 | Arslan | i didn;t understand u |
20:27.58 | Arslan | i have a vps live got from ovh |
20:28.08 | Samot | OK, so those things are for hardware. |
20:28.11 | Arslan | i want to test it |
20:28.15 | Samot | You do not need to install them. |
20:28.32 | Arslan | make[2]: Leaving directory `/root/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware' |
20:28.33 | Samot | You do not need to install libPRI or DAHDi |
20:28.39 | Arslan | then? |
20:28.47 | Samot | What do you mean, "then"? |
20:28.56 | Samot | Skip those steps in the install instructions. |
20:28.58 | Samot | That's it. |
20:29.20 | Arslan | then how will it works? |
20:29.27 | Samot | What do you mean? |
20:29.32 | Samot | Asterisk? |
20:29.36 | Arslan | asterisks packakges are installed |
20:29.40 | Arslan | now what i have to do? |
20:29.57 | Samot | Read the Wiki and the Sample Documents |
20:29.58 | Samot | ?book |
20:30.02 | Arslan | [ ok ] Asterisk PBX is running. |
20:30.06 | Samot | ~book |
20:30.06 | infobot | Asterisk: The Definitive Guide, 4th Edition (ISBN 1-4493-3242-0) available at http://oreilly.com/catalog/0636920025894 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and a version is available for reading online at http://www.asteriskdocs.org/ or see ~buybook |
20:30.09 | Samot | ^ That too. |
20:30.24 | Samot | Arslan: You need to actually learn about Asterisk and how it works. |
20:30.38 | Samot | No one is going to hold your hand and walk you through each step. |
20:31.26 | Arslan | hmmm |
20:31.32 | Arslan | in tutorials |
20:31.37 | Arslan | i just see those things |
20:31.47 | Arslan | like asterisk dahdi and libpri |
20:32.01 | Arslan | for debian |
20:32.18 | Samot | There is no "Asterisk for Debian" guide on the wiki |
20:32.27 | Samot | There is just "Install Asterisk from Source" |
20:33.41 | Samot | Link the guide you are using. |
20:34.30 | Arslan | then what's about Alternate Install Methods? |
20:34.42 | Samot | Link the guide you are using. |
20:34.50 | Arslan | https://wiki.asterisk.org/wiki/display/AST/Alternate+Install+Methods |
20:35.07 | Arslan | https://www.howtoforge.com/tutorial/how-to-install-asterisk-on-debian/ |
20:35.40 | Samot | The first link is about using packages instead of source to install |
20:36.13 | Arslan | yes.. i want to to use packages |
20:36.38 | Samot | You can, you'll have to look at your OS's repos for what their Asterisk packages are. |
20:36.54 | Samot | Just be aware, they are out of date by a long shot. |
20:38.13 | Arslan | asterisk is already the newest version. |
20:38.19 | Arslan | dahdi is already the newest version. |
20:38.24 | Samot | Sigh. |
20:38.33 | Arslan | root@vps140944:~# service dahdi status |
20:38.33 | Samot | I'm not going around in circles on this. |
20:38.34 | Arslan | :( |
20:38.44 | Arslan | /etc/dahdi/system.conf not found. Nothing to do. |
20:38.44 | Samot | Asterisk source is current. |
20:38.55 | Samot | You CANNOT USE IT |
20:39.03 | Samot | You DO NOT HAVE HARDWARE |
20:39.21 | Arslan | hmmm |
20:39.28 | Arslan | what are the hardware requirements |
20:39.33 | Samot | For what? |
20:39.37 | Samot | SIP? |
20:39.39 | Samot | A VM instance. |
20:39.40 | Samot | You have it |
20:39.54 | Samot | Those are for PRI/POTS/FXS connections. |
20:40.44 | Arslan | to install asterisk |
20:40.49 | Arslan | what hardware required? |
20:40.53 | Samot | A server. |
20:41.09 | Arslan | and? |
20:41.09 | Samot | This is a VM from a hosting company |
20:41.11 | Samot | That's it. |
20:41.12 | Samot | Done. |
20:41.23 | Arslan | u meanz an dedicated machine |
20:51.03 | *** join/#asterisk brokensyntax (~quassel@64.137.172.93) |
21:07.48 | [TK]D-Fender | no |
21:07.56 | [TK]D-Fender | it means an OS running on something |
21:08.21 | [TK]D-Fender | And jsut because the PACKAGE is the latest version doesn't mean it contains the latest ASTERISK version |
21:08.34 | [TK]D-Fender | I can take a brand new box and shove OLD SHIT in it. |
21:08.44 | [TK]D-Fender | So go get version numbers |
21:09.04 | [TK]D-Fender | some generic statement that there isn't a newer box doesn't eman it's newer UNBOXED somewhere else |
21:19.02 | *** join/#asterisk woddy (~woddy@unaffiliated/woddy) |
21:27.11 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
21:32.10 | *** join/#asterisk woddy (~woddy@unaffiliated/woddy) |
21:55.47 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
22:17.15 | *** join/#asterisk miralin (~Thunderbi@91.237.94.14) |
23:00.10 | *** join/#asterisk juvenal (~juvenal@179.247.189.204) |
23:11.55 | *** join/#asterisk tafa2 (~tafa2@94.187.48.131) |
23:17.24 | *** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey) |
23:19.46 | *** join/#asterisk Oatmeal (~Suzeanne@2600:1700:d0a1:85a0:64fa:cb47:4bd9:183) |