Skip to main content

Inbound route based on caller id

Posted by gregor on Fri, 07/25/2008

Dear,

I hope that I am missing something obviously.

Is there a way to say in inbound route if incoming call is coming from this number (caller id) then go to ....?

As i understand inbound routes are only based on DID

Sincerely yours,

Gregor


Submitted by eeman on Sat, 07/26/2008 Permalink

not already written, but you are looking for the use of GotoIf(condition?true:false)

I had some telemarketers that I coded their 800 number into my dialplan to play the disconnected or not in service message.

Submitted by gregor on Tue, 07/29/2008 Permalink

Thank you eeman for your answer.

I am looking for some kind of functionality of pattern matching (based on callerid) also in inbound routes like it is in outbound routes. Freepbx has such thing.

I think then I can accomplish this with custom script with 3 parameters (caller id, goto if true, goto if false).

Maybe do you have some other suggestion? How did you code for 800?

Sincerely yours, Gregor