00:13.42 | *** part/#asterisk gnudna (~gnudna@unaffiliated/sklav) |
00:18.19 | *** join/#asterisk Kerber0s (~Kerber0s@178.62.20.142) |
00:36.03 | *** join/#asterisk gnudna (~gnudna@unaffiliated/sklav) |
00:39.47 | *** join/#asterisk timahvo1 (~rogue@197.237.134.227) |
00:41.21 | ChannelZ | matrix1233: its pretty easy in Zoiper.. you hit the button with the two diagonal arrows |
00:41.54 | gnudna | Hi can somebody point me to reference that shows how to drop calls from unwanted numbers |
00:42.07 | matrix1233 | ChannelZ: yes i do this but it nathing happen |
00:42.43 | matrix1233 | ChannelZ: i must do a custumized context ? .. for info am using a2billing |
00:43.18 | ChannelZ | if you're connected to something it should pop up a little dialog asking you what extension to dial |
00:44.28 | matrix1233 | ChannelZ: yes the popup appair and when i put a number to transfer example 0033XXXXXX nathing happen |
00:44.58 | ChannelZ | gnudna: just do a Wait(60) or something. Or a NoOp and nothing. |
00:45.31 | ChannelZ | matrix1233: is this through your own asterisk? |
00:45.55 | gnudna | i tried creating a new context and included it in my inbound |
00:46.07 | matrix1233 | ChannelZ: yes |
00:46.16 | gnudna | but my extension still rings when i receive a call |
00:46.38 | ChannelZ | Well transfers make a new call so that number has to be a legitimate extension in whatever context your Zoiper peer is in |
00:46.56 | ChannelZ | without seeing any console or SIP debug I can't say what's going on beyond that |
00:47.26 | WIMPy | Is it a number you're allowed to call? |
00:47.58 | gnudna | WIMPy im looking to block telemarketers |
00:48.17 | gnudna | in this case im using my cell as a test to see if i am blocked |
00:48.24 | ChannelZ | gnudna: presumably you need to look at the CALLERID(num) and respond appropriately |
00:48.26 | WIMPy | That was for matrix1233, sorry. |
00:48.30 | *** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-esozbcbzpwcbrvhh) |
00:48.41 | gnudna | I guess i missed that part |
00:48.54 | matrix1233 | WIMPy: it a number yes |
00:48.59 | gnudna | i just assumed the number itself is always displayed behind the scenes |
00:49.01 | ChannelZ | I do it in a PHP script which looks up incoming numbers from a database |
00:49.08 | matrix1233 | yes allwed |
00:49.14 | WIMPy | gnudna: Included contexts will only match if there's no match in the original context. |
00:52.24 | gnudna | ok was not aware about that |
01:02.15 | *** join/#asterisk stevePearPear (~stevePear@cm244.epsilon47.maxonline.com.sg) |
01:04.51 | gnudna | ChannelZ care to paste an example for me using some kinda pastebin? |
01:21.38 | gnudna | will be back later guys thanks for the references |
01:21.43 | *** join/#asterisk cmendes0101| (~cmendes01@pool-98-112-76-22.lsanca.fios.verizon.net) |
01:21.44 | *** part/#asterisk gnudna (~gnudna@unaffiliated/sklav) |
01:36.23 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
01:56.27 | *** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it) |
02:18.26 | *** join/#asterisk cmendes0101| (~cmendes01@pool-98-112-76-22.lsanca.fios.verizon.net) |
02:50.01 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
02:56.44 | *** join/#asterisk CeBe (~CeBe@port-92-206-88-98.dynamic.qsc.de) |
03:09.40 | *** join/#asterisk W0rmDr1nk (~wormdrink@unaffiliated/wormdrink) |
03:21.17 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
03:21.43 | *** join/#asterisk vinhdizzo (~vinh@cpe-98-154-210-61.socal.res.rr.com) |
03:21.59 | *** join/#asterisk gnudna (~gnudna@unaffiliated/sklav) |
03:23.53 | gnudna | guys i just got blacklist working using asterisk internaldb |
03:24.09 | *** join/#asterisk vinhdizzo (~vinh@cpe-98-154-210-61.socal.res.rr.com) |
03:32.45 | *** join/#asterisk FreezingCold (~FreezingC@CPE602ad06bea2a-CM602ad06bea27.cpe.net.cable.rogers.com) |
03:35.25 | *** join/#asterisk vinhdizzo (~vinh@cpe-98-154-210-61.socal.res.rr.com) |
03:41.29 | *** join/#asterisk cmendes0101| (~cmendes01@74-80-244-98.ic2net.net) |
03:45.46 | gnudna | hey guys anybody aware of a decent blacklist of phone numbers for asterisk? |
03:47.02 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
03:58.13 | *** join/#asterisk cmendes0101| (~cmendes01@74-80-244-98.ic2net.net) |
04:15.32 | *** part/#asterisk vinhdizzo (~vinh@cpe-98-154-210-61.socal.res.rr.com) |
04:16.40 | *** join/#asterisk _Kerber0s_ (~Kerber0s@41.143.47.91) |
04:26.55 | Penguin | gnudna: That isn't something objective. |
04:29.23 | gnudna | what do you mean not objective |
04:29.51 | gnudna | im looking for something like http://www.everycall.us/ |
04:30.10 | gnudna | only i want to download a list and populate my astdb as i see fit |
04:30.52 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
04:31.32 | Penguin | A blacklist is a subjective item. Your blacklist won't serve me well, and might won't be right for you. You create your own in response to "bad calls." |
04:31.41 | Penguin | s/might/mine/ |
04:32.24 | gnudna | Penguin i was hoping for known telemarketing or spam callers |
04:32.39 | *** join/#asterisk cmendes0101| (~cmendes01@74-80-244-98.ic2net.net) |
04:32.48 | gnudna | primarily telemarketers who annoy me weekly with trips to bahamas as of late |
04:33.05 | *** join/#asterisk VultureZ (~VultureZ@2a04:1980:3100:1aac:21b:21ff:feda:4d39) |
04:33.07 | Penguin | The company that calls you offering to sell you some wonderful thing gets put on your blacklist... |
04:33.13 | gnudna | their phone changes everytime so blacklisting might work for the week at best |
04:33.20 | Penguin | But the problem is that that company is a company I do business with regularly. |
04:33.54 | Penguin | So your blacklist just blocked my business relationship. |
04:33.55 | gnudna | true for you if you like to donate money weekly to spammers |
04:34.06 | gnudna | i get what you are saying |
04:34.24 | gnudna | same way smtp blacklist are not for everyone |
04:35.09 | gnudna | but it does not hurt if a number from a list gets a few extra checks in the process |
04:36.07 | gnudna | but based on searches i can see there is not much hope to find a relatively recent list of highly probable scammers |
04:36.35 | *** join/#asterisk Kerber0s (~Kerber0s@41.143.47.91) |
04:36.36 | gnudna | so with that set i can go about the manual method for a while |
04:36.36 | Penguin | I don't want to have to whitelist everyone I might potentially need to talk to. I'd rather blacklist those which are problems for me. |
04:48.26 | *** join/#asterisk infobot (ibot@rikers.org) |
04:48.26 | *** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: Asterisk 11.12.0 (2014/08/19), 1.8.30.0 (2014/08/19); Standard: Asterisk 12.5.0 (2014/08/19); DAHDI: DAHDI-linux 2.10.0 (2014/08/13), DAHDI-tools 2.10.0 (2014/08/13); libpri 1.4.15 (2014/06/16) -=- Visit the official Asterisk wiki: wiki.asterisk.org -=- Read the Code of Conduct bit.ly/1hH6P22 |
04:49.58 | *** join/#asterisk cmendes0101| (~cmendes01@74-80-244-98.ic2net.net) |
04:50.10 | gnudna | brb Penguin |
04:56.44 | *** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl) |
04:58.03 | Penguin | http://pastebin.com/jBrseSRZ |
04:58.04 | gnudna | Penguin can your rules be used with what i pasted? |
04:58.50 | gnudna | i see thanks for that |
05:00.12 | Penguin | Hopefully you get the idea. |
05:01.28 | gnudna | will try to test it shortly using your example |
05:02.11 | Penguin | My example assume you have those sound files installed. |
05:02.41 | gnudna | i will have to check but i was aware they might be missing |
05:02.44 | *** join/#asterisk stevePearPear (~stevePear@cm244.epsilon47.maxonline.com.sg) |
05:04.07 | Penguin | Hmm. *25 might make more sense. *BL, that is. |
05:04.47 | Penguin | I remember someone suggested they used *34 for that, so I went with *34 when I created mine. |
05:05.14 | gnudna | im sure big telecome has that feature just do not remeber the default * code |
05:05.25 | gnudna | i was going to search and use that instead |
05:05.35 | Penguin | I've never heard of that features on residential service. |
05:05.55 | gnudna | you have to pay for it and then the key combo is available |
05:05.57 | Penguin | (which doesn't mean that it doesn't exist; I just haven't heard of it) |
05:06.04 | gnudna | let me look quickly |
05:08.34 | gnudna | *60 aka call screening |
05:08.47 | *** join/#asterisk ShapeShifter499 (~Raansu@unaffiliated/shapeshifter499) |
05:08.56 | Penguin | I have screening, too, but it is different from blacklisting. |
05:08.56 | gnudna | page 17 in the pdf http://support.bell.ca/_web/guides/homephone/userguide/stsuserguide%28en%29.pdf |
05:09.57 | gnudna | screening seems to offer the option of blocking callers from a list |
05:10.07 | gnudna | that is what i was thinking about anyways |
05:24.50 | gnudna | ok i think i got it working |
05:27.29 | gnudna | Penguin which sound files did you install btw? |
05:28.13 | *** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-qtdhwblfvaanwyoe) |
05:28.55 | Penguin | I think just core and extra. |
05:29.16 | gnudna | let me check if extra is installed |
05:32.52 | gnudna | seems i cannot find extras on debian wheezy |
05:33.02 | gnudna | could have sworn i had seen them |
05:34.41 | Penguin | I don't know what's available in the repo, but you could always install them by another method. |
05:34.59 | Penguin | http://downloads.asterisk.org/pub/telephony/sounds/asterisk-extra-sounds-en-wav-current.tar.gz |
05:35.00 | gnudna | yeah i see the gsm downloadn option |
05:35.13 | Penguin | replace wav with whatever format you want. |
05:35.52 | gnudna | seems i have the following in the repo asterisk-moh-opsound-wav |
05:36.23 | gnudna | moh i assumed was music on hold thought but description lables them as "asterisk extra sound files" |
05:36.58 | Penguin | I'd have to get that file and see what's in it, but I would think it's just moh. |
05:37.28 | Penguin | http://downloads.asterisk.org/pub/telephony/sounds/asterisk-moh-opsound-wav-current.tar.gz |
05:38.21 | Penguin | That's just moh files. |
05:38.28 | gnudna | k |
05:38.49 | MaliutaLap | yay! files |
05:39.01 | MaliutaLap | transcode them to your hearts content |
05:42.49 | gnudna | from cli can i reload the sound files? |
05:42.50 | Penguin | There's nothing useful for you in the package repository. Grab the tarball and make your own package. |
05:43.04 | gnudna | i added them to the custom folder |
05:43.11 | gnudna | should work i believe |
05:43.22 | Penguin | No, you cannot reload the sound files. You can't load or reload them. When the dial plan executes, if the files exist, they play. |
05:43.58 | gnudna | k lets test again |
05:49.18 | gnudna | missing some prompts |
05:50.43 | gnudna | n(press3),BackGround(press&digits/3) are these sound files? |
05:53.30 | gnudna | ok fixed it |
05:53.37 | Penguin | press.wav and digits/3.wav, perhaps |
05:53.45 | gnudna | would have been nice if custom did no need to be defined as a path |
05:54.07 | gnudna | n(press3),BackGround(custom/press&digits/3) instead on my system |
05:54.12 | Penguin | You've obviously got to use your subdirectories in the file path. |
05:54.38 | gnudna | custom was a default so i assumed it was mapped i will fix it shortly |
05:55.17 | gnudna | now to unblock me cell number ;) |
05:55.19 | *** join/#asterisk spicyramen_ (~Adium@c-98-210-160-181.hsd1.ca.comcast.net) |
05:56.42 | Penguin | haha |
06:04.59 | gnudna | everything works now but i have a warning that i need to clear up |
06:05.29 | gnudna | No such label 'hangup()' in extension 4501234567 in context 'users' |
06:05.42 | *** join/#asterisk gusto (~gusto@2001:470:1f0b:a42:224:1dff:fecd:234c) |
06:05.48 | Penguin | Did I really type that? |
06:06.09 | Penguin | No. No I didn't. |
06:06.21 | gnudna | which part |
06:06.29 | Penguin | label 'hangup()' |
06:06.34 | Penguin | did not type |
06:06.57 | MaliutaLap | Penguin: you have no hangup()'s ;) |
06:07.22 | MaliutaLap | may have been awake long enough to go into silly mode |
06:07.29 | Penguin | I have plenty of Hangup()s, but that's not germane to this situation. |
06:07.45 | gnudna | easy enough i have a blacklist context that does one thing hangup |
06:07.58 | gnudna | i can point it there |
06:08.03 | Penguin | Or you could have copied what I typed exactly instead. |
06:08.11 | MaliutaLap | Penguin: it's Germain - as in Greer ... but I don't see what early feminism has to do with anything ;) |
06:08.13 | gnudna | i thought i did |
06:08.14 | Penguin | copy/paste |
06:08.17 | gnudna | let me look again |
06:09.14 | Penguin | The extra context and additional extension was superfluous. My way uses the existing priority in the existing extension in the existing context. |
06:09.34 | gnudna | oh i see |
06:09.42 | gnudna | same => n(hangup),Hangup(); |
06:09.58 | Penguin | label hangup runs Hangup() application |
06:09.59 | gnudna | i just have it set to same => n,Hangup() |
06:10.17 | Penguin | But your error indicates you made another mistake. |
06:10.27 | gnudna | and now i know what (hangup),Hangup(); does |
06:10.34 | gnudna | off course i did |
06:10.45 | Penguin | GotoIf($[${BLACKLIST()}]?hangup); |
06:10.52 | gnudna | i added () to the label |
06:10.53 | Penguin | The error says you did GotoIf($[${BLACKLIST()}]?hangup()); |
06:11.01 | gnudna | nice catch |
06:11.14 | Penguin | copy. |
06:11.16 | Penguin | paste. |
06:11.52 | gnudna | im trying to understand what i am doing do not have you on speed dial for future references |
06:11.54 | gnudna | ;) |
06:12.00 | Penguin | I will SOMETIMES make mistakes in what I pastebin, but for the most part, they are drop-in bits. |
06:14.03 | Penguin | When I was pulling out that info for you, I saw my blacklist target plays a sound file "you are blacklisted" to the caller. |
06:14.19 | *** join/#asterisk evilman_home (kvirc@89-179-77-66.broadband.corbina.ru) |
06:14.30 | Penguin | same => n,Playback(silence/1&privacy-you-are-blacklisted&vm-goodbye); |
06:14.56 | gnudna | i like it better that they get a busy signal |
06:14.58 | Penguin | You are blacklisted. Goodbye. |
06:15.15 | Penguin | Congestion()? I thought you were doing Hangup(). |
06:15.37 | gnudna | i prefer they know nothing or this number is no longer in service but i rather not have to pay my provider for answering them |
06:15.48 | Penguin | Yeah. |
06:16.02 | Penguin | ss-noservice |
06:16.18 | gnudna | that is what i had earlier today when i was testing |
06:16.25 | gnudna | with my simple rules |
06:16.30 | Penguin | I use that quite a bit for all sorts of crap callers. |
06:16.43 | Penguin | Reduce your credit card debt! |
06:16.46 | Penguin | Blacklisted. |
06:17.04 | Penguin | Need a mortgage? |
06:17.05 | Penguin | Blacklisted. |
06:17.14 | gnudna | i keep winning trip to bahamas 3 times a week too bad they ask you to pay to get the prize ;) |
06:17.37 | Penguin | If you're willing to pay for the calls, you could send them to the torture chamber. |
06:18.02 | Penguin | I've got several who are not on the blacklist but are on the torture list. |
06:18.07 | gnudna | i do not mind paying half a cent but they are all automated with a recording |
06:18.22 | Penguin | Yeah, you've got to screen them to know if it's a person. |
06:18.35 | Penguin | Robodial won't talk to your torture machine. |
06:18.54 | gnudna | also i try to keep the system as simple as possible for the family |
06:19.12 | Penguin | People, though, will talk to my torture machine and always end up hanging up out of frustration. |
06:19.33 | gnudna | aka replaced pots with this so i have tried to make it identical in that regard |
06:19.44 | gnudna | hehe |
06:20.02 | gnudna | soon enough my daughter will hate me one day |
06:20.05 | Penguin | Some of them are pretty hilarious. |
06:20.08 | gnudna | >:) |
06:20.12 | Penguin | I record them all, just for giggles. |
06:26.37 | Penguin | It's late and I'm tired, so I'm heading out. Enjoy. |
06:27.33 | gnudna | Thank for the Help Penguin |
06:27.42 | gnudna | same here 2:30 almost |
06:27.57 | gnudna | thanks ^ |
06:32.22 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
06:38.57 | *** join/#asterisk _Kerber0s_ (~Kerber0s@41.251.3.193) |
07:09.15 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
07:14.58 | *** part/#asterisk gnudna (~gnudna@unaffiliated/sklav) |
07:25.18 | *** join/#asterisk tzafrir (~tzafrir@local.xorcom.com) |
07:44.58 | *** join/#asterisk gnudna (~gnudna@unaffiliated/sklav) |
07:49.25 | *** part/#asterisk gnudna (~gnudna@unaffiliated/sklav) |
07:50.11 | *** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club) |
07:56.09 | *** join/#asterisk roentgen (~none@openvpn/community/support/roentgen) |
08:01.10 | *** join/#asterisk bkruse (~Adium@24.42.207.11) |
08:36.30 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
08:55.07 | *** join/#asterisk LiohAu (~LiohAu@lse83-h04-89-86-22-242.dsl.sta.abo.bbox.fr) |
08:56.42 | *** join/#asterisk LiohAu (~LiohAu@lse83-h04-89-86-22-242.dsl.sta.abo.bbox.fr) |
09:10.59 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
09:24.05 | *** join/#asterisk CeBe1 (~CeBe@port-92-206-88-98.dynamic.qsc.de) |
09:29.32 | *** join/#asterisk bkruse (~Adium@24.42.207.11) |
09:32.18 | *** join/#asterisk wonderworld (~ww@ip-62-143-157-238.hsi01.unitymediagroup.de) |
09:41.34 | *** join/#asterisk riess82 (~riessma@194-166-87-173.adsl.highway.telekom.at) |
09:42.13 | *** join/#asterisk roentgen (~none@openvpn/community/support/roentgen) |
09:49.23 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
09:51.08 | *** join/#asterisk calum_ (~calum_@cpc9-harg5-2-0-cust26.7-1.cable.virginm.net) |
10:11.12 | *** join/#asterisk areski (~areski@80.174.128.55.dyn.user.ono.com) |
10:25.56 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
11:01.01 | *** join/#asterisk stevePearPear (~stevePear@cm244.epsilon47.maxonline.com.sg) |
11:06.07 | *** join/#asterisk evilman_home (kvirc@89-179-77-66.broadband.corbina.ru) |
11:06.32 | *** join/#asterisk CeBe (~CeBe@port-92-206-156-9.dynamic.qsc.de) |
11:16.06 | *** join/#asterisk aness (~aness@wsip-98-172-26-170.dc.dc.cox.net) |
11:25.11 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
11:26.29 | *** join/#asterisk LiohAu (~LiohAu@lse83-h04-89-86-22-242.dsl.sta.abo.bbox.fr) |
11:29.30 | *** join/#asterisk puzzled_ (~patrick@54692558.cm-12-2a.dynamic.ziggo.nl) |
11:33.03 | *** join/#asterisk wonderworld (~ww@ip-62-143-157-238.hsi01.unitymediagroup.de) |
11:37.49 | *** join/#asterisk war9407 (war@c-71-62-63-105.hsd1.va.comcast.net) |
12:54.52 | *** join/#asterisk Draecos (~Draecos@124.149.107.71) |
13:09.08 | *** join/#asterisk aness (~aness@wsip-98-172-26-170.dc.dc.cox.net) |
13:09.58 | *** join/#asterisk timahvo1 (~rogue@197.237.134.227) |
13:27.52 | *** join/#asterisk LiohAu (~LiohAu@lse83-h04-89-86-22-242.dsl.sta.abo.bbox.fr) |
13:30.55 | *** join/#asterisk Draecos (~Draecos@124.149.107.71) |
13:32.35 | *** join/#asterisk Draecos (~Draecos@124.149.107.71) |
13:55.18 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
13:56.31 | *** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl) |
14:31.38 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
14:36.07 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
14:37.14 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
14:39.40 | *** join/#asterisk amizraa4 (~amizraa@gateway/tor-sasl/amizraa) |
14:45.43 | *** join/#asterisk g_r_eek (~g_r_eek@176.92.187.121) |
14:56.52 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
15:05.19 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
15:21.16 | *** join/#asterisk amizraa4 (~amizraa@gateway/tor-sasl/amizraa) |
15:35.37 | *** join/#asterisk stevePearPear (~stevePear@cm244.epsilon47.maxonline.com.sg) |
16:01.01 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
16:02.23 | *** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil) |
16:08.53 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
16:10.12 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
16:10.54 | *** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2) |
16:24.01 | *** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com) |
16:28.25 | *** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net) |
16:43.55 | *** join/#asterisk aross42 (~aross@50-204-179-34-static.hfc.comcastbusiness.net) |
16:46.41 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
16:56.31 | *** join/#asterisk Kerber0s (~Kerber0s@41.141.101.166) |
17:00.58 | *** join/#asterisk troyt (~troyt@2601:7:6200:1362:44dd:acff:fe85:9c8e) |
17:04.04 | *** join/#asterisk roentgen (~none@openvpn/community/support/roentgen) |
17:08.01 | *** join/#asterisk D-Boy (~D-Boy@unaffiliated/cain) |
17:23.15 | *** join/#asterisk slav3_sergal (~frankthet@unaffiliated/slav3-kitten/x-0866809) |
17:25.51 | *** join/#asterisk fstd_ (~fstd@unaffiliated/fisted) |
17:47.06 | *** join/#asterisk sjobke (~quassel@D57D8992.static.ziggozakelijk.nl) |
17:54.31 | *** join/#asterisk spicyramen_ (~Adium@c-98-210-160-181.hsd1.ca.comcast.net) |
17:57.10 | *** part/#asterisk c|oneman (cloneman@2605:6400:2:fed5:22:0:3b06:3913) |
18:04.24 | *** join/#asterisk bkruse (~Adium@24.42.207.11) |
18:12.50 | *** join/#asterisk sekil (~Ognjen@78.24.104.82) |
18:19.24 | *** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net) |
18:32.01 | *** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-jtwoyyedeibzmmln) |
18:33.49 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
18:36.23 | *** join/#asterisk P-NuT (~P-NuT@2.216.84.81) |
18:40.43 | P-NuT | Is there anything you have to change in sip.conf in asteriks 11 to support SIP SIMPLE messaging and presence? |
18:51.59 | *** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl) |
19:01.00 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
19:10.04 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
19:13.36 | *** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net) |
19:14.35 | *** join/#asterisk wonderworld (~ww@ip-62-143-157-238.hsi01.unitymediagroup.de) |
19:39.09 | *** join/#asterisk drmessano (~nonya@pdpc/supporter/active/drmessano) |
19:53.32 | *** join/#asterisk gusto (~gusto@2001:470:1f0b:a42:224:1dff:fecd:234c) |
19:57.26 | *** join/#asterisk aness (~aness@wsip-98-172-26-170.dc.dc.cox.net) |
20:22.56 | *** join/#asterisk jeffspeff (~jeffspeff@12.49.160.131) |
20:25.02 | jeffspeff | I'm having an odd issue. just setup new phones in a remote office, the traffic is going over our vpn. the phone gets its tftp files fine, boots and registers with asterisk, but the peer shows as "unreachable", however, the peer can make outbound calls. it's been a while since i've ran into this and i'm stumped on how to diag it. |
20:29.10 | *** join/#asterisk P-NuT (~P-NuT@2.216.84.81) |
20:29.22 | P-NuT | Is anyone using SIP SIMPLE for messaging? |
20:29.58 | *** join/#asterisk LiohAu (~LiohAu@lse83-h04-89-86-22-242.dsl.sta.abo.bbox.fr) |
20:34.22 | *** join/#asterisk CeBe (~CeBe@port-92-206-5-44.dynamic.qsc.de) |
20:35.13 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
20:37.25 | *** join/#asterisk CeBe1 (~CeBe@port-92-206-5-44.dynamic.qsc.de) |
20:37.32 | *** join/#asterisk areski (~areski@80.174.255.122.dyn.user.ono.com) |
20:57.59 | *** join/#asterisk gusto (~gusto@2001:470:1f0b:a42:224:1dff:fecd:234c) |
20:59.37 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
21:00.39 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
21:11.46 | *** join/#asterisk CeBe1 (~CeBe@port-92-206-5-44.dynamic.qsc.de) |
21:25.13 | *** join/#asterisk Shawn0 (~textual@cpe-173-89-164-105.neo.res.rr.com) |
21:25.24 | *** join/#asterisk ShapeShifter499 (~Raansu@unaffiliated/shapeshifter499) |
21:26.52 | *** join/#asterisk hfp (~hfp@MTRLPQ0736W-LP130-02-1279512586.dsl.bell.ca) |
21:27.41 | Shawn0 | hey there. so i have an issue. i have a cisco 7940 that was bricked with the protocol application invalid error. i have in my router, which is running ddwrt, this setting: "dhcp-option=150,"192.168.1.144:69". i have tried both option 66 and option 150, and have had no luch, all i get out of the phone is a TFTP timeout message. i am running Asterisknow on the server, have all the files in the tftpboot folder, but no luck getting the |
21:27.42 | Shawn0 | <PROTECTED> |
21:28.53 | Penguin | jeffspeff: Do you have qualify enabled for the peers? |
21:29.11 | Shawn0 | also: I have tried googling around. none of the solutions that worked for other people worked for me. |
21:29.32 | Penguin | shawn0: Is there any application on the phone right now? |
21:29.51 | Shawn0 | all i have displayed is the universal application loader |
21:30.06 | Shawn0 | with the message tftp timeout |
21:30.21 | Penguin | Press your settings button to see if you can get to the menu. |
21:30.28 | Shawn0 | nope. no response |
21:31.38 | Penguin | It's been quite some time since I messed with mine, so I'm thinking of what we can try. |
21:32.18 | Shawn0 | ummm. can you think any way to verify that the tftp server is working? |
21:32.41 | Penguin | Yeah. Use something else to request a file from the server. |
21:33.04 | Shawn0 | any knowledge of the tftp client on a mac? |
21:33.27 | Shawn0 | actually, better yet, let me rdp into my windows machine |
21:33.29 | Penguin | I would guess if you get a terminal emulator, there's a tftp application. |
21:35.24 | Shawn0 | hmm. server returned permission denied |
21:35.28 | Shawn0 | sooooo chmod 777? |
21:35.31 | Penguin | Never. |
21:35.42 | Shawn0 | i mean 444 |
21:35.44 | Shawn0 | sorry |
21:35.51 | Shawn0 | got my numbers backwards |
21:36.44 | Penguin | Let's just look at the server settings. AsteriskNOW is CentOS and will be using xinetd to run tftpd. Let's verify the server path. |
21:37.29 | Penguin | Read the value of server_args from /etc/xinetd.d/tftp |
21:39.01 | Shawn0 | i hate to say im new to this. how would i do that? |
21:39.12 | Penguin | Do you have a favorite text editor? |
21:39.22 | Shawn0 | not really. i usually just use nano |
21:39.31 | Penguin | nano will suffice, if you know how to use it. |
21:39.34 | Shawn0 | so open the file in nano... |
21:39.37 | Penguin | Bring up that file with nano. |
21:40.01 | file | if you open me up... do I bleed? |
21:40.10 | Penguin | The server_args like will have an option or two. |
21:40.14 | Shawn0 | "-s /tftpboot" |
21:40.20 | Shawn0 | thats all thats there, minus quotes |
21:40.25 | Penguin | Okay, that's good. |
21:40.29 | Penguin | You can close the file. |
21:40.55 | Penguin | Now let's look at the permissions on /tftpboot |
21:41.00 | Penguin | ls -dl /tftpboot |
21:41.18 | Shawn0 | dr--r--r--. 5 asterisk asterisk 4096 Sep 7 17:21 /tftpboot |
21:41.35 | Penguin | That's probably bad. By default, it should be drwxr-xr-x |
21:41.47 | Penguin | So chmod 755 /tftpboot |
21:42.06 | Penguin | And by default on my box, it is owned by root:root |
21:42.21 | Penguin | I don't know if that will affect the results, though. |
21:42.30 | Penguin | probably won't. |
21:42.38 | Shawn0 | resetting phone, its requesting configuration |
21:42.55 | Penguin | You should also check the permissions on the files in that directory. |
21:44.07 | Shawn0 | http://pastebin.com/mv3vKPzV |
21:44.55 | Penguin | I don't like that. |
21:45.18 | Shawn0 | any way to recursively set them all to 755? |
21:45.32 | Penguin | They should NOT BE 755. |
21:45.41 | Penguin | No file in there needs to be executable. |
21:45.54 | Shawn0 | ah ok. |
21:45.58 | Penguin | One second. |
21:47.07 | Penguin | find /tftpboot -type f -exec chmod 644 {} + |
21:48.04 | Shawn0 | they all have -rw-r--r-- 1 asterisk asterisk 16080 Dec 14 2013 ringer1.pcm |
21:48.19 | Shawn0 | minus a few of them with a d on the front, but obviously directories |
21:48.25 | Penguin | Good. That command has properly set all files which are not directories to be readable. |
21:48.54 | Penguin | Oh, did you even enable the tftp server? |
21:49.11 | Shawn0 | i /think/ i did, but im not sure my google search |
21:49.21 | Penguin | We should have checked that while you were in the /etc/xinetd.d/tftp file. |
21:49.26 | Penguin | Open it up again. |
21:49.32 | Penguin | See if it says disable = yes |
21:49.43 | Shawn0 | disable = no |
21:50.01 | Penguin | And have you restarted xinetd or the entire computer since you changed that? |
21:50.08 | Shawn0 | yes |
21:50.14 | Penguin | Okay, try the phone again. |
21:50.25 | Penguin | It should serve the files if they are requested. |
21:50.37 | Shawn0 | requesting configuration... |
21:51.00 | Penguin | If that's not working, we can add some verbosity to the server side and watch the log. |
21:51.18 | *** join/#asterisk its_jeremy_ (~omghax@gateway/tor-sasl/itsjeremy/x-75806909) |
21:51.41 | Shawn0 | nope. timed out. if this helps, this is my dhcp setting in ddwrt https://unsee.cc/badipore/ |
21:52.15 | Penguin | Did you specify the proper software in OS79XX.TXT ? |
21:52.44 | Shawn0 | no i didnt... but i can. |
21:52.48 | Penguin | You have to. |
21:52.48 | Shawn0 | where is the file located |
21:52.57 | Penguin | It's in your tftp root. |
21:53.07 | Penguin | Open it with nano. |
21:53.41 | Shawn0 | normally the phone displays the file it is requesting, it doesnt even show its requested. im opening it now though |
21:53.46 | Penguin | You need to specify which software to load. I would use P003-08-11-00 in mine, but it looks like you have 8.12 software instead of 8.11. |
21:54.05 | Penguin | So P003-08-12-00 needs to be in your OS79XX.TXT. |
21:54.16 | Shawn0 | yep. thats there |
21:55.23 | Penguin | Let's create a new file... |
21:55.32 | Penguin | XMLDefault.cnf.xml |
21:56.11 | Shawn0 | alright. |
21:58.05 | Penguin | http://pastebin.com/WafE6NiH |
21:58.35 | Penguin | That's the content of /tftpboot/XMLDefault.cnf.xml |
21:58.49 | Shawn0 | done |
21:59.34 | Penguin | Try the phone again. |
22:01.24 | *** join/#asterisk Marquel (~Marquel@unaffiliated/marquel) |
22:01.37 | Shawn0 | timed out. |
22:01.54 | Penguin | Let's look at the server side. Back to the configuration file... |
22:02.08 | Shawn0 | xinetd? |
22:02.13 | Penguin | yeah |
22:02.21 | Penguin | On the server_args line, add a space and -vvv after /tftpboot |
22:02.41 | Penguin | server_args = -s /tftpboot -vvv |
22:02.54 | Shawn0 | done |
22:03.21 | Penguin | Then: kill -HUP `cat /var/run/xinetd.pid` |
22:03.25 | Penguin | That'll reload the config. |
22:03.59 | Shawn0 | done |
22:04.15 | Penguin | tailf /var/log/messages |
22:05.00 | Shawn0 | trying the phone again |
22:05.01 | Penguin | You should see that it has readjusted the tftp service and it will not exit... you'll keep watching the file. |
22:05.29 | Shawn0 | it did readjust |
22:05.43 | Penguin | You should see the phone try. It should show in.tftpd RRQ from your phone IP address request filename /whatever |
22:06.20 | *** join/#asterisk beardy (~beardy@unaffiliated/beardy) |
22:06.58 | Shawn0 | still timing out, no response from the log. |
22:07.13 | Shawn0 | so phone is not requesting the files... |
22:07.15 | Penguin | That kind of tells me that the phone doesn't know where your tftpd is. |
22:07.47 | Shawn0 | im going to try telneting in to the phone, see what it can tell me |
22:08.19 | Penguin | If you can gain access to the menu, go to the network settings and force override the tftp address setting. |
22:08.56 | *** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net) |
22:09.18 | Penguin | I can't remember if the 7940 uses option 66 or 150, since it's been several years since I used the SIP software on my phones. |
22:09.39 | Shawn0 | im using option 150, but i can switch to 66 to see if it works |
22:10.11 | Penguin | That would be a good idea. |
22:10.23 | Shawn0 | phones internal telnet server isnt responding |
22:10.31 | Shawn0 | which means it hasnt booted far enough to run it |
22:10.47 | Penguin | or that it was disabled the last time it loaded a config? |
22:11.56 | Shawn0 | the telnet server always runs on the phone. its the diagnostic progrma |
22:11.59 | Shawn0 | *program |
22:12.21 | Penguin | Well, at least the tftpd is all set up and ready to go. You just need to get the phone to learn the tftp-server-name value. |
22:12.26 | Shawn0 | changed to 66, no good. |
22:12.42 | Penguin | Which dhcpd are you running? |
22:12.51 | Shawn0 | the one in ddwrt. |
22:12.59 | Shawn0 | do you want to waffle around in it with teamviewer? |
22:13.03 | Penguin | I don't know what that would be. Maybe dnsmasq. |
22:13.40 | Shawn0 | https://unsee.cc/nuzesira/ |
22:13.54 | Shawn0 | thats the options i have. i do have dnsmasq, but i also have DHCP server. |
22:14.59 | Penguin | If you're using the ISC dhcpd, we might ought to take a look at the values of your options. |
22:15.31 | Shawn0 | the unsee link is a screenshot of my options |
22:16.57 | *** join/#asterisk ShapeShifter499 (~Raansu@unaffiliated/shapeshifter499) |
22:18.03 | Penguin | If that's the ISC dhcp server, that isn't the right syntax for dhcpd.conf. |
22:18.32 | Penguin | option tftp-server-name dnsname.of.tftpserver; |
22:18.41 | Penguin | That's the correct syntax. |
22:19.38 | Shawn0 | sooooo... |
22:19.50 | Shawn0 | tftp-server-name 192.168.1.144 |
22:20.02 | Penguin | dns name of tftp server |
22:20.08 | Penguin | quote, unquote |
22:20.40 | Penguin | Although I think I may have successfully used an IP address instead of the required DNS name. |
22:20.55 | Penguin | Try what you just typed. |
22:21.25 | Penguin | From my config: |
22:21.26 | Penguin | rob@Rt-60451448F# grep tftp /opt/vyatta/etc/dhcpd.conf option tftp-server-name "asterisk.local"; |
22:22.12 | Shawn0 | no luck :/ |
22:24.25 | Penguin | If you're using dnsmasq for a dhcp server, the man page says: --dhcp-option=66,"1.2.3.4" |
22:24.54 | Penguin | I don't have the answer to which one you're using in your router. |
22:26.22 | *** join/#asterisk caveat- (~caveat@2a01:4f8:191:9111:30::10) |
22:27.04 | Shawn0 | im not sure... but i just had an idea... im half tempted to take my phone to the walmart down the road, find a ethernet port, plug in, let it download the firmware from there..... |
22:27.14 | Shawn0 | they use 7940s there... |
22:31.51 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
22:35.55 | *** join/#asterisk Kerber0s (~Kerber0s@41.141.101.166) |
22:36.58 | *** join/#asterisk Vutral (~ss@mirbsd/special/Vutral) |
22:45.47 | *** join/#asterisk caveat- (hoax@2a01:4f8:191:9111:30::10) |
22:53.42 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
23:10.25 | *** join/#asterisk caveat- (hoax@2a01:4f8:191:9111:30::10) |
23:14.20 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
23:19.36 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
23:24.34 | *** join/#asterisk drmessano (~nonya@pdpc/supporter/active/drmessano) |
23:25.04 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
23:26.54 | *** join/#asterisk caveat- (hoax@2a01:4f8:191:9111:30::10) |
23:27.15 | *** join/#asterisk cyborg-one (~cyborg-on@212-178-3-60.broadband.tenet.odessa.ua) |
23:40.40 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
23:46.59 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
23:59.57 | *** join/#asterisk BitEvil (~quassel@tor/regular/SpeedEvil) |