The problem with a lot of posts on this forum, are that, people ask questions, while they provide little if no details.
I guess you are attempting to reuse your apt wiring, Is that correct?
Kind people like Lavarock, attempt to guess what kind of setup you have, Steve does not take into account others might read your post, and start pulling/cutting wires wily nilly, without knowing what they are doing.
There are many, many variations of wiring. It is not one size fits all.
If you could post a wider angle shot, that would be helpful, but looking at your photo, looks like the 4 connector punchdown on the left is labeled "IN", so pulling those wires off, should disconnect your apt wiring from the Telco line.
Do the other number of wires connected, correspond to the number of phone jacks in your apt?
I can't make out the labeling on the jack, other than In , and Out
what are the other labels?
Please don't cut the wires, the next person to use your apt, might need them (you just pull them gently off)
"The landline was a digital line. There a board in my closet, which all the voice cable connects to. The input line has 4 pairs, labeled PR1 to PR4. I connected the blue wire on PR1 and now OBI works with the wall jack, except there is a static background.
"Do I need to disconnect all the wires? There is no socket for the wires and they went through some narrow clips and it's quite hard to pull (I think it's called 110 connector and I don't have the tools). So if there is just a couple that I need to pull, that will be great."
You say you connected the blue wire on PR1, blue wire From WHERE?
You say the wires went thru some narrow clips, you don't post any photo of that