View Full Version : Redirect based on sip address

04-30-2009, 08:37 AM
Hello, please can anyone give me a step by step on this concept
I want to redirect all incoming calls from a specific sip address (ie. 11111111@sip.eypgi.com) to an auto attandant via the call routing table. Tryed loads of different ways, I am stuck.

04-30-2009, 01:56 PM
Do I understand right, that you want to redirect ALL calls from that address, regardless of the called number?? The call routing table is based on the destination number, not the source, so this is not easy to achieve.

I suppose this is a gateway device, not aPBX?
You can try the following:
set the "Route all incoming SIP calls to Call Routing" checkbox ON.
Then on ALL the routing rules, set the Inbound filter to {?,??,???,????,?????,??????,???????,????????,!1111 1111}.
You have to do that as the system doesn't allow to use {*,!11111111} syntax... If your callers can have usernames longer than 8 digits, then you will need to add ?????????,??????????,,.. etc to that list (the max number of questionmarks is equal to max number of digits in possible callers' usarnames...
At the end if the table have a single routing rule with

So all the callers will be passed thotugh existing routing rules, and if nothing matches, will be routed to 00. The 1111111@sip.epygi.com will be routed to 00 immediately, as no rule will match for him.

This is not very elegant way, but as soon as you don't provide any specific info on your specific config, this is the only way I can think of (the most generic). With nore information on usage of this device (possible callers/destination etc), I might suggest something else...

Best regards,