I have this problem with one of my clients.
They use more(for a simplicity lets say 3) PSTN lines coming from one(same) telecom provider. When someone tries to calls one of the lines, the telecom provider uses ringall strategy and then all of them are signaling asterisk(3 lines ring at same time, showing the same incoming CID). I fight with the telcom but they are saying it cannot be changed to linear logic
Now what I need is a small adaptation on the asterisk inbound routes module, where if a same call(same CID) comes in on a x trunks with in a window of lets say 4-5sec, one of the incaming calls to be placed for a farther processing, and all of the rest n-1 calls to be discarded as not needed...
Can this be done?
I havent programmed C in a long time, but should be not that hard to change inside the inbound module.