00:00.38 | *** join/#asterisk klow (~textual@96-81-150-137-static.hfc.comcastbusiness.net) |
00:07.35 | *** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net) |
00:49.31 | *** join/#asterisk jameswf (uid27319@gateway/web/irccloud.com/x-xginuuskhifkchxx) |
00:54.03 | *** join/#asterisk infernix (nix@unaffiliated/infernix) |
01:14.51 | *** join/#asterisk pchero (~pchero@109.70.54.56) |
01:19.24 | Marionumber1 | Does anyone know why a phone would work for a little while with chan_mobile, then suddenly disconnect, no longer act as a Bluetooth handsfree device, and be listed as "Busy" in "mobile show devices"? |
01:57.29 | *** join/#asterisk Chotaire (chotaire@oahu.chotaire.net) |
02:01.26 | *** join/#asterisk drab (~administr@173-166-230-154-sacramento.hfc.comcastbusiness.net) |
02:02.23 | drab | hi, I have an asterisk 11 instance running just fine on ubuntu, super simple, just a bunch of sip clients and google voice outbound |
02:02.51 | drab | I installed asterisk 13 on a VM to test, copied the configs over and nothing works, the process comes up but does nothing, not a single line is printed to the logs even |
02:03.06 | *** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou) |
02:03.17 | drab | if I run safe_asterisk however everything works just fine, stuff shows up in the logs and if I get into the console and do sip show peers I see what I'd expect |
02:03.46 | drab | I read the migration guidelines but the conf is sosimple I didn't see any particular note on stuff I should be changing that would break 13 |
02:03.55 | drab | any thoughts? |
02:30.27 | *** join/#asterisk klow (~textual@mail.tdi.cloud) |
02:34.56 | *** join/#asterisk infernix (nix@unaffiliated/infernix) |
03:01.58 | *** join/#asterisk stac (~stac@april-fools/2013/runnerup/stac) |
03:34.14 | *** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com) |
03:50.31 | *** join/#asterisk tzafrir (~tzafrir@bzq-84-109-18-138.red.bezeqint.net) |
04:27.48 | *** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net) |
05:20.23 | *** join/#asterisk matrix1233 (~matrix123@41.230.26.59) |
05:32.04 | *** join/#asterisk anthm (~anthm@freeswitch/developer/anthm) |
05:36.30 | *** join/#asterisk hehol (~Adium@ip-178-203-97-214.hsi10.unitymediagroup.de) |
05:53.43 | *** join/#asterisk shootbird (~quassel@205.185.122.214) |
05:55.28 | drmessano | drab: Permissions |
07:17.51 | *** join/#asterisk Jesterboxboy (~Thunderbi@80-109-194-26.cable.dynamic.surfer.at) |
07:27.01 | *** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net) |
07:38.09 | *** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net) |
07:47.51 | *** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net) |
07:58.42 | *** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net) |
08:12.03 | *** join/#asterisk miralin (~Thunderbi@194.8.128.48) |
08:20.38 | *** join/#asterisk tuxian (~tuxian@igilmour.plus.com) |
08:21.38 | *** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net) |
09:23.33 | *** join/#asterisk pchero (~pchero@109.70.54.56) |
09:41.28 | *** join/#asterisk ChannelZ (channelz@burner.com) |
09:44.41 | *** join/#asterisk Tiffon (~name@unaffiliated/tiff0n) |
09:57.44 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125) |
09:59.14 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125) |
10:16.45 | *** join/#asterisk matsk (~matsk@vpnbl.borderlight.net) |
10:27.57 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125) |
10:38.28 | *** join/#asterisk Gaster (b03b4514@gateway/web/cgi-irc/kiwiirc.com/ip.176.59.69.20) |
10:39.05 | Gaster | How do I `goto` to a pattern? |
10:40.52 | Gaster | Hm, nah, that is silly. How do I `goto` to extension, defined with callerid, without defining callerid? E.g. s/_1XX => . |
10:43.09 | Gaster | I don't want to actually change callerid before jumping to s/_1XX. |
10:43.16 | Gaster | Is there a way? |
10:46.32 | *** join/#asterisk sekil (~sekil@nat-73.net011.net) |
10:51.09 | *** join/#asterisk defsdoor (~andy@cpc35-sutt4-2-0-cust184.19-1.cable.virginm.net) |
11:14.17 | *** join/#asterisk karelk (~karel@31.10.149.26) |
11:15.46 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125) |
11:33.38 | *** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-72-185.w2-12.abo.wanadoo.fr) |
11:59.51 | *** join/#asterisk drale2k (~drale2k@46.101.230.32) |
12:07.03 | *** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net) |
12:15.46 | *** join/#asterisk J0hnSteel (~J0hnSteel@92.55.116.125) |
12:19.28 | *** join/#asterisk miralin (~Thunderbi@194.8.128.48) |
12:23.20 | *** join/#asterisk zapata (~zapata@2a02:b18:581:10:596c:42c3:24ee:5513) |
12:52.15 | *** join/#asterisk bof22 (~Thunderbi@ARennes-650-1-72-185.w2-12.abo.wanadoo.fr) |
13:04.56 | *** join/#asterisk Gaster (b03b4514@gateway/web/cgi-irc/kiwiirc.com/ip.176.59.69.20) |
13:05.54 | Gaster | How do you jump (`goto`) between extensions matched by CID? (e.g. s/_1XX and s/_2XX) |
13:15.44 | *** join/#asterisk Ahmadi (02b00fd1@gateway/web/freenode/ip.2.176.15.209) |
13:15.49 | Ahmadi | Hi |
13:16.32 | Ahmadi | How can i record a room to a wav file? Some call parties are talking on the room and i want record the conversation |
13:33.36 | Samot | The recordings are in raw |
13:33.52 | Samot | You'll have to convert to wav I believe.. |
13:43.16 | Ahmadi | no problem |
13:43.39 | Ahmadi | i just want record the room to a wave file ( format is not important ) |
14:32.44 | Gaster | I've made an addition to wiki page "Pattern Matching". |
14:33.21 | Gaster | I added info on caveats when using match by CID. |
14:39.39 | *** join/#asterisk tzafrir (~tzafrir@bzq-84-109-18-138.cablep.bezeqint.net) |
14:46.42 | *** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net) |
15:07.14 | Gaster | What format of regular expressions does Asterisk use with ":" and "=~" operators? PCRE? |
15:14.07 | *** join/#asterisk matrix1233 (~matrix123@197.2.34.113) |
15:38.05 | *** join/#asterisk evilman_work (~evilman@87.244.6.228) |
15:38.12 | *** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com) |
15:43.36 | *** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net) |
15:46.12 | *** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net) |
16:15.35 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
16:34.56 | *** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood) |
17:01.16 | *** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com) |
17:02.00 | *** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net) |
17:10.21 | *** join/#asterisk karelk (~karel@31.10.149.26) |
17:14.50 | *** join/#asterisk jkroon (~jkroon@uls-154-73-32-15.wall.uls.co.za) |
17:19.40 | *** join/#asterisk jkroon (~jkroon@uls-154-73-32-15.wall.uls.co.za) |
17:21.59 | igcewieling | um, _ doesn't do regex. |
17:37.12 | *** join/#asterisk sh_smith (~sh_smith@cpe-76-174-26-91.socal.res.rr.com) |
17:43.12 | *** join/#asterisk sh_smith (~sh_smith@cpe-76-174-26-91.socal.res.rr.com) |
17:46.36 | igcewieling | *grumble* Looks like I need to find someone with a facebook account. |
17:51.22 | *** join/#asterisk rpifan (~rpi@73.106.74.192) |
18:24.25 | *** join/#asterisk Gaster (57750df9@gateway/web/cgi-irc/kiwiirc.com/ip.87.117.13.249) |
18:26.27 | Gaster | Which regex standard do Asterisk operators "=~" and ":" use? PCRE? |
18:26.59 | igcewieling | Gaster: exctly where are you referring to? |
18:27.11 | igcewieling | func_regex? |
18:27.35 | Gaster | https://wiki.asterisk.org/wiki/display/AST/Operators |
18:27.55 | Gaster | Using operators inside $[] anywhere in dialplan. |
18:29.29 | Gaster | if ( "${EXTEN}" =~ "^8\d{10}$" ) { NoOp(This is an AEL example, conf would be similar); } |
18:33.18 | igcewieling | um, those are not regular expressions |
18:33.32 | igcewieling | $[] is a conditional |
18:33.52 | igcewieling | where do you see those operators documented? |
18:34.19 | igcewieling | sorry, I supose I could read the scrollback |
18:34.41 | Gaster | http://www.voip-info.org/wiki/view/Asterisk+Expressions |
18:34.49 | Gaster | This is still relevant. |
18:35.14 | Gaster | You never used operators, did you? |
18:35.16 | igcewieling | I always used func_regexp |
18:36.30 | igcewieling | stuff like this: if (${REGEX("^(busy|vm|vm/.+|efax/[^@]+@.+|cause/.+|goto/.+|rna)$" ${TOLOWER(${dest})})}) { |
18:36.45 | Gaster | Does this function use PCRE? It's not documented either https://wiki.asterisk.org/wiki/display/AST/Function_REGEX |
18:37.08 | igcewieling | I strongly doubt it. I suspect POSIX or POSIX extended |
18:37.28 | Gaster | Oh. So no funky lookarounds? |
18:38.04 | igcewieling | you could check the code I guess. |
18:38.15 | Gaster | Thank you for information. |
18:39.01 | igcewieling | if I need complicated matching the task is usually better suited for an AGI |
18:39.35 | Gaster | Sure thing. |
18:40.26 | igcewieling | If anyone is interested in non-usa/non-canada NANPA countries: SM_INTL_REGEX=^011|^1684|^1264|^1268|^1242|^1246|^1441|^1284|^1345|^1767|^1809|^1829|^1849|^1473|^1671|^1876|^1664|^1670|^1869|^1758|^1784|^1721|^1868|^1649 |
18:58.25 | *** join/#asterisk Marionumber1 (~Marionumb@pool-96-241-198-252.washdc.fios.verizon.net) |
18:58.41 | Marionumber1 | Re-asking my question from yesterday: Does anyone know why a phone would work for a little while with chan_mobile, then suddenly disconnect, no longer act as a Bluetooth handsfree device, and be listed as "Busy" in "mobile show devices"? |
18:59.20 | drmessano | Did you get a new dongle? |
19:00.05 | drmessano | Marionumber1: ? |
19:00.37 | Marionumber1 | Yes, I got the Iogear Bluetooth 2.1 version. It could actually work with "mobile search" and make a couple calls with audio, but then this issue showed up. |
19:01.00 | drmessano | Why did you get another iogear? |
19:01.52 | Marionumber1 | Because a source said that the 2.1 version worked, but the 4.0 version didn't |
19:02.43 | drmessano | http://www.ebay.com/itm/Mini-Bluetooth-4-0-USB-2-0-CSR4-0-Dongle-Adapter-For-Win-8-7-XP-Laptop-PC-/161660646854?hash=item25a3b9b5c6:g:7awAAOSwMmBVwsUb |
19:02.50 | drmessano | This is what you want |
19:04.42 | drmessano | Every single name brand dongle I tried didn't work. I think I have that iogear 2.1 here |
19:04.48 | Marionumber1 | Is this verified to work with chan_mobile? |
19:05.53 | drmessano | ..... |
19:05.55 | *** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net) |
19:06.30 | Marionumber1 | ? |
19:06.32 | drmessano | This is a generic bluetooth dongle. What you are buying is not |
19:06.55 | drmessano | chan_mobile works with the lowest common denominator |
19:07.47 | drmessano | Stop buying name brand BT dongles, get a generic chinese one, and try it |
19:08.10 | Marionumber1 | Okay, but I want to know if anyone has personally had success with it |
19:08.29 | drmessano | Its 5 dollars |
19:08.43 | drmessano | Just buy it and try it |
19:09.02 | Marionumber1 | It's not an unreasonable question if someone is there to answer it |
19:09.07 | drmessano | or come in here every day for a couple weeks or so and see if anyone else chimes in |
19:09.13 | drmessano | Not a lot of people on here have used it |
19:09.40 | drmessano | Ive been in here 11 years and talked to a handful that have played with chan_mobile. |
19:09.52 | drmessano | So spend the $5 or wait a couple years |
19:10.26 | drmessano | I did experiment extensively with chan_mobile |
19:10.31 | drmessano | I can tell you 2 things |
19:10.38 | drmessano | Name brand dongles are mostly a miss.. |
19:10.45 | drmessano | Never found one that works |
19:10.58 | drmessano | and the chinese dongles are all pretty much the same |
19:11.52 | drmessano | As far as anyone using THAT specific one? Who knows.. Look on ebay, there's lots of variants.. But that one seems to be the prevalent one in the lists. Probably the best one to try |
19:11.59 | Marionumber1 | Alright |
19:12.04 | Marionumber1 | Thanks |
19:29.21 | *** join/#asterisk pchero (~pchero@109.70.54.56) |
19:44.18 | *** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212) |
19:56.35 | *** join/#asterisk Aboba (~Bob@node-1w7jr9sqc1awx4mj62ixqgrqv.ipv6.telus.net) |
20:14.55 | *** join/#asterisk klow (~textual@c-67-161-106-89.hsd1.wa.comcast.net) |
20:20.35 | *** join/#asterisk MN1 (~Marionumb@pool-96-241-198-252.washdc.fios.verizon.net) |
20:38.21 | drab | drmessano: all files in /etc are owned by asterisk so permissions should be ok |
20:41.40 | drab | oh, dang it, files inside were owned by asterisk but /etc/asterisk itself was owned by root and no permissions for other |
20:41.43 | drab | thanks |
20:56.11 | *** join/#asterisk miralin (~Thunderbi@194.8.128.48) |
21:18.51 | drmessano | Yep |
21:18.52 | drmessano | lol |
21:47.43 | *** join/#asterisk miralin (~Thunderbi@194.8.128.48) |
22:08.54 | dan_j | Hi. I read somewhere that fail2ban is no longer recommended for asterisk13. What is currently recommended to block brute force attacks? |
22:18.16 | drmessano | fail2ban has always sucked |
22:18.44 | drmessano | iptables rate limiting is the way to go |
22:19.53 | drmessano | Filter based on INVITEs and REGISTERs per IP |
22:21.50 | dan_j | Interesting. Ok thanks. I'll look into it. |
22:23.37 | WIMPy | And standard answer: AMI is your friend. |
22:24.17 | dan_j | I know. But it means i need to write something to monitor AMI :) |
22:24.34 | WIMPy | Correct. |
22:26.19 | Samot | WIMPy: AMI is dead. |
22:26.23 | Samot | :) |
22:26.28 | dan_j | ? |
22:26.32 | WIMPy | Asterisk is dead. |
22:26.38 | Samot | It's a joke, dan_j. |
22:26.50 | Samot | For WIMPy. |
22:27.05 | WIMPy | Everything but the future is dead in here. |
22:27.24 | Samot | Well, 11 isn't dead. |
22:27.41 | WIMPy | I think there are other opinions around. |
22:27.47 | Samot | It's just that person on life support you don't want to visit. |
22:28.08 | WIMPy | But I'm in fact just cabout to compile the possibly last 11 now. |
22:28.58 | Samot | That must be why I hear Taps playing softly in the background.. |
22:57.45 | *** join/#asterisk infobot (ibot@rikers.org) |
22:57.45 | *** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.12.1 (2016/10/27), 11.24.1 (2016/10/27), Standard: 14.1.1 (2016/10/27); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.5.0 (2016/03/28) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu |
23:30.01 | drab | I'm ending up with a bunch of asterisk logs in syslog, but logger show channels only show full, messages and console in /var/log/asterisk |
23:30.22 | drab | any idea why logs are ending in syslog too? this is on asterisk 13 on ubuntu 16.04 |
23:31.37 | drab | at the end of logger.conf there is the syslog.local0 entry and that's commented out |