[Serusers] re : re : redirect using external application.

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Thu Jul 29 09:32:22 CEST 2004


Gandhi, Jignesh wrote:
> Hello, 
> 
> We have the following setup. A proxy forwarding all
> the calls to our SER and the SER replies to the proxy
> with the appropriate location where the call should be
> routed (statless). So the first call could go to A and
> the next call could go to C and so on.
> 
> I want to be able to do some load balancing and smart
> routing. By smart routing I mean that a program
> running on the same box as the SER will keep track of
> the health status of all the destination boxes like A,
> B, C stated above. So when an invite comes from the
> proxy, How can I call an external let's say "c"
> program which will return the destination address the
> SER should should return to the Proxy to use.
> 
> I have looked at exec_dst but the admin guide provides
> only exec_msg examples.  I have a feeling that I could
> use it, but not sure.

indeed, the answer for you is exec_dst() - used for rewriting RURI. For 
a detailed description, take a look into README file in modules/exec.
bogdan
> 
> I hope that I explained the setup properly. If anyone
> has any questions please ask.
> 
> thanks in advance for your help.
> Jignesh Gandhi
> Software Engineer II
> Jignesh.Gandhi at glenayre.com
> 
> 
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list