I subscribe to a SIP provider who gives me a primary number of say 555-1000. I have an alternate number they let me use which is 555-2000. Both come across as the same To: line, in fact, all the SIP headers are basically the same, the only difference is the alternate number has:
Which is setting a distinctive ring. I was hoping I could match on this, with an inbound dial-peer, and then use a translation pattern to to re-write the destination. I tried to use the "incoming uri request" command, but it doesn't seem to be able to match using that.
Does anyone know of another way to make this work, assuming all headers are the same with the exception of the addition of the Alert-Info?