I read the README file located in the exec module dir,but was not sure about interface, since there is not a lot of info.
In the admin guide there is a few examples of exec_msg but none of the exec_dst. Has anyone implemented this. I would surely appreciate any info.
thanks, Jignesh Gandhi
-----Original Message----- From: Bogdan-Andrei IANCU [mailto:iancu@fokus.fraunhofer.de] Sent: Thursday, July 29, 2004 3:32 AM To: Gandhi, Jignesh Cc: 'serusers@lists.iptel.org' Subject: Re: [Serusers] re : re : redirect using external application.
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@glenayre.com
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers