On Sun, 2010-03-28 at 21:13 -0400, M. Ranganathan wrote:
> I want to write a service which depends upon the From header of the
> sip request sent to the proxy however, Sipx does prefix based based on
> request URI of the request. So I propose to do the following:
> 
> Write a registrar redirector plugin that works as follows:
> 
> 1. Examine the From header. If the From header does not match
> criterion then do nothing. Otherwise step 2.
> 2. Add a prefix to the request URI
> 3. Define a gateway to which requests are routed based upon the prefix
> defined in step 2.
> 
> 
> Would this be the best way to accomplish what I am trying to do?

Prefixes are for humans - there's no reason to use them from
redirectors.  A redirector can just push a Route onto the contact and do
the whole operation in one (conditional) step.


_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to