The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for November, 2016

Fritz!Box 7490 with fiber connection, routing anonymous/withheld ISDN calls to a new answering machine

Posted by jpluimers on 2016/11/04

I got a bit fed-up with truckloads of anonymous calls. 95% of these are from sales persons. The others from organisations shielding their phone numbers. Too bad for the latter: if they want to stay anonymous, they’re not worth dealing with.

My original setup was incoming ISDN connected through a Gigaset DX600A with a bunch of DECT handsets, but there you need to configure each handheld device and the Gigaset base station itself to skip anonymous incoming calls.

One of my fiber connections at home goes through a Fritz!Box 7490 which has a connector to provide an internal ISDN S0 bus. I discovered – though not advertised in the German or English manual – that you can hook it to external ISDN even though it is not connected to external DSL but external fiber to the home (FTTH).

A note first: the the Fritz!Box 7490 has built-in resistors to terminate the S0 bus, so it can only be on one side of the S0 bus. The other far end of the S0 bus needs to be terminated too.

Steps to hook up ISDN on both incoming and outgoing S0 bus:

  1. Fritz!Box Y-Cable for connecting PSTN or ISDN (and optionally DSL) to your modem.

    Fritz!Box Y-Cable for connecting PSTN or ISDN (and optionally DSL) to your modem.

    Put the long end of the Y-cable ** into the DSL/TEL connection of the Fritz!Box.
    The long end is usually labelled DSL/TEL.

  2. Put the black small end into your ISDN NT1 (sometimes called ISDN NTBA).
    The black small end is usually labelled TEL.
  3. Leave the grey small end disconnected. It is usually called DSL. Since I’m using FTTH, no DSL for me.
  4. Connect the chain of other ISDN devices (and the terminator) to the FON S0 connector on the Fritz!Box **.
  5. Test if your original equipment still works.

Configuring your Fritz!Box to use ISDN MSNs:

  1. Logon as administrator to your Fritz!Box.
  2. In the menu on the left, click on “Telephony”, then on “Telephone Numbers”.
  3. A new View appears, where you click on the “Line Settings” tab.
  4. Ensure “Landline network enabled” is enabled, then click on “Apply” and wait for the changes to be saved.
  5. In the menu on the left, click on “Telephony”, then on “Telephone Numbers”.
  6. Click on “New Telephone Number”, then follow the steps in the wizard:
    1. Choose “Configure landline number”, click “Next”
    2. Choose “multiple landline numbers (ISDN line)”, click “Next”
    3. Add the MSN numbers you will use in your Fritz!Box each in a separate entry, then click “Next”
    4. Click “Next” to save the settings.
  7. Configure any devices you need to connect to the MSN numbers you entered.

Setting up the diversion of Anonymous calls to an Answering Machine:

  1. Finally I set-up an answering machine for anonymous call forwarding:
    Automatically diverting anonymous calls to the internal answering machine | FRITZ!Box 7490 | AVM International.

    • Note that here you can divert all anonymous calls to “all numbers”, but not divert all anonymous calls to “Landline Network”. I think this is a bug in FRITZ!OS 6.20.
  2. And (since the Fritz!Box already has some VOIP numbers configured), I also added the GigaSet as an ISDN PBX to the Fritz!Box:
    1. In the menu on the left, click on “Telephony”, then on “Telephone Devices”.
    2. Choose “Configure New Device”, then follow the Wizard Steps:
      1. Choose “ISDN PBX”, click “Next”
      2. Note the MSNs the Fritz!Box shows (they should include both the ISDN MSNs and VOIP numbers), then click “Next”.
      3. Verify the ISDN PBX (the GigaSet) is on the FON S0 port, then click Apply to confirm.
    3. In the menu on the left, click on “Telephony”, then on “Telephone Devices”.
    4. Choose “Edit” for the “ISDN PBX” connected to “FON S0”.
    5. Verify the “Main Phone Number” is correct (choose either an ISDN MSN or VOIP number).
    6. Then I configured the extra VOIP numbers as MSNs in the GigaSet.

–jeroen

** Larger images.

Read the rest of this entry »

Posted in DECT, Gigaset, ISDN, Power User, PSTN, Telephony | Leave a Comment »

Fiddler for OS X Beta

Posted by jpluimers on 2016/11/03

–jeroen

Posted in Development, Fiddler, Software Development, Web Development | Leave a Comment »

EKON 20 link archive – anniversary edition of the famous Delphi related conference with lots of English sessions

Posted by jpluimers on 2016/11/03

My EKON20 link archive so I can refer to it through web.archive.org:

–jeroen

via: EKON 20 – anniversary edition of the famous Delphi related conference with lots of English sessions « The Wiert Corner – irregular stream of stuff

 

 

Posted in Conferences, Delphi, Development, EKON, Event, Software Development | Leave a Comment »

If you have enough Chrome Google related tabs open, Google will DoS G+ for you

Posted by jpluimers on 2016/11/03

I very often see the captcha. Today Google managed to DoS G+.

It happened right after RDP-ing into my work machine that has like ~100 research related tabs open of which about half are Google hosted pages.

G+ wouldn’t work as those tabs send so many G+ requests that Google effectively did a DoS on G+ for my IP-address and user (switching to another user was fine).

Google doing a DoS on G+ because all the open tabs generate G+ traffic

Google doing a DoS on G+ because all the open tabs generate G+ traffic

Later this got simplfied into this:

–jeroen

Posted in Chrome, G+: GooglePlus, Google, Power User, SocialMedia | Leave a Comment »

Unity IoC container: tips, tricks and dirty hacks

Posted by jpluimers on 2016/11/03

The #Fellows | Unity IoC container: tips, tricks and dirty hacks post is a very readable and to-the-point introduction to Unity IoC focussing on Dependency Injection. Implementation details of various IoC/DI frameworks differ, so some keywords:

  • Container
  • InjectionConstructor
  • InjectionProperty
  • Inversion of Control
  • Named registration (or keyed registration)
  • PerResolveLifetimeManager
  • Register
  • RegisterType
  • Resolve
  • ResolvedParameter

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »

Delphi XE2 sanctuary lib galore…

Posted by jpluimers on 2016/11/02

Anyone who knows how to work around this? It happens every once in a while right after logging in over RDP to a VM with running Delphi XE2 (but similarly also in other Delphi versions like XE7):

---------------------------
Error
---------------------------
Access violation at address 74FD82A4 in module 'shell32.dll'. Write of address 00000014.
---------------------------
OK Details >>
---------------------------

With the below stacktrace including the sanctuary which always give me the creeps.

http://qc.embarcadero.com/wc/qcmain.aspx?d=139126 (which – like all IDE submitted bug reports – is private hence the copy at https://gist.github.com/jpluimers/6d8c0f29be107a83e48a5fd035900f74 ).

Read the rest of this entry »

Posted in Delphi, Delphi XE2, Delphi XE7, Development, QC, Software Development | 2 Comments »

Just blocked 95.131.[184|185|186|190|191].0/24 on my firewall because suspicious port scanning @WillHillBet

Posted by jpluimers on 2016/11/02

I just blocked these IP subnets on my routers:

  • 95.131.184.0/24
  • 95.131.185.0/24
  • 95.131.186.0/24
  • 95.131.190.0/24
  • 95.131.191.0/24

Within a day they managed to get 60+ IP addresses from these subnets into my port-scanner blacklists because of suspicious port scanning activities.

They mostly belong to Whg (International) Limited, Gibraltar and Whg (International) Limited, United Kingdom  which seem to be related to William Hill Organization Ltd, United Kingdom that I just blocked before.

If the situation continues I’m going to block the 95.131.184.0/26 superblock as well:

–jeroen

Continuation of Just blocked 141.138.130.0/24 and 141.138.131/24 on my firewall because suspicious port scanning @WillHillBet « The Wiert Corner – irregular stream of stuff

Posted in Internet, Network-and-equipment, Power User | Leave a Comment »

Just blocked 141.138.130.0/24 and 141.138.131/24 on my firewall because suspicious port scanning @WillHillBet

Posted by jpluimers on 2016/11/02

I just blocked these IP subnets on my routers:

  • 141.138.130.0/24
  • 141.138.131.0/24

Within a day they managed to get 80+ IP addresses from these subnets into my port-scanner blacklists because of suspicious port scanning activities.

They all belong to William Hill Organization Ltd, United Kingdom.

If the situation continues I’m going to block the superblock as well:

–jeroen

Posted in Network-and-equipment, Power User | 5 Comments »

Definition of Done – Programmer’s Life : Programmer’s Life

Posted by jpluimers on 2016/11/02

“It works on my machine.” is just the start of  reaching DoD (:

Definition of Done Definition of Done

–jeroen

Source: Definition of Done – Programmer’s Life : Programmer’s Life

Posted in Agile, Development, Scrum, Software Development | Leave a Comment »

nst/JSONTestSuite: A comprehensive test suite for RFC 7159 compliant JSON parsers

Posted by jpluimers on 2016/11/01

Cool: nst/JSONTestSuite: A comprehensive test suite for RFC 7159 compliant JSON parsers

Which is the result of the presentation seriot.ch – Parsing JSON is a Minefield 💣[WayBack]

Both the tests and presentation are well worth reading.

The graph gives me ambivalent feelings and make me wonder how various .NET and Delphi based JSON parsers stack up.

I wonder how Delphi and C# libraries stack up against these results especially since questions like What is the best JSON library to use for Delphi 10.1? To read and write JSON. – Godfrey Fletcher – Google+ [WayBack].

Hopefully the results by David Berneda will be published soon: I’ll do a quick test with TeeBI json import and the different libraries (System.Json, SuperObject etc)

Edit: Stefan Glienke mentioned he wrote a DUnit testsuite at http://pastebin.com/k5ktBxh9 [WayBack] that shows the built-in TJSONObject [WayBack] parser fails at least 25 of the tests.

–jeroen

via: David Berneda – Google+ [WayBack]

Read the rest of this entry »

Posted in .NET, C#, Delphi, Development, JavaScript/ECMAScript, JSON, Scripting, Software Development | 1 Comment »