New toilet sometimes won't flush
I have just installed a new toilet / replacement toilet and sometimes it just won't flush. The bowl fills up like it is clogged but it can't be because it is only liquid and no solids in the bowl. When it doesn't flush I notice that if I fill the sink with water and then let it drain out it will cause the toilet to buble or gurgle. I checked the vent pipe on the roof and it doesn't seem clogged. The sink drain seems to operate fine and so do all the drains down the line from this toilet.
In the basement the layout is the toilet is on the end of the line then the bathroom sink drain T's into the 3" main, then the washing machine does the same and the kitchen sink. All of these travel the full length of the house before exisitng to the town sewer. At about midway to the exit this pipe connects to the other bathroom via a Y type connection and then they run together the rest of the way.
One thing to complicate matters worse is that the town sewer was connected a few months back just before we purchsed the house. It is now a very long run for this toilet that sometimes does not flush. When I say a long run I mean probably 60 to 80 feet and right before it goes out the foundation it drops 3 feet vertically and then exits.
Any suggestions would be appreciated. The other toilet works fine.
Thanks
John