Hi All.
We have multiple PSTN gateways in our network. Some are our own and some are owned and operated by 3rd parties.
We are also use ser-0.9 stable with the LCR module for call routing.
Some of these 3rd party PSTN gateways require us to prefix accounting digits to the R-URI before sending the call to their network.
So my questions is this; does the LCR module support a scenerio whereby it can prefix digits for specific PSTN gateways?
For example, suppose I have 3 PSTN gateways. The the second gateway requires prefixed digits on the R-URI. When the fist GW fails, the LCR module would prefix the required digits and then send to the send GW. If the second GW fails, then the LCR module would remove the previously prefixed digits and then send the call to the 3rd GW.
Is this possible is the LCR module Juha provides for ser-0.9 stable? If not, is it possible with the LCR module in the unstable CVS HEAD?
Regards, Paul
Paul Hazlett wrote:
So my questions is this; does the LCR module support a scenerio whereby it can prefix digits for specific PSTN gateways?
I implemented a patch some time ago, which you can find here:
http://www.linguin.org/ser.php#lcr-cap
I really try hard to find some time porting it to CVS-HEAD and get in touch with Juha for integrating it into CVS, but time is my enemy ;o)
Andy
Andreas,
Attached is a patch which fixes core dumps when using your LCR patch. Core dumps were happening because we used AVPs for other things in our ser.cfg file and the LCR module was erroneously touching AVPs not related to the LCR module.
Many thanks for the patch -- it saved us a bunch of time and effort!
Regards, Paul
On 7/21/05, Andreas Granig andreas.granig@inode.info wrote:
Paul Hazlett wrote:
So my questions is this; does the LCR module support a scenerio whereby it can prefix digits for specific PSTN gateways?
I implemented a patch some time ago, which you can find here:
http://www.linguin.org/ser.php#lcr-cap
I really try hard to find some time porting it to CVS-HEAD and get in touch with Juha for integrating it into CVS, but time is my enemy ;o)
Andy
Paul Hazlett wrote:
Attached is a patch which fixes core dumps when using your LCR patch. Core dumps were happening because we used AVPs for other things in our ser.cfg file and the LCR module was erroneously touching AVPs not related to the LCR module.
Thank you very much. I wasn't aware of this because I'm not using AVPs elsewhere.
Andy
Andreas Granig writes:
So my questions is this; does the LCR module support a scenerio whereby it can prefix digits for specific PSTN gateways?
I implemented a patch some time ago, which you can find here:
i just added support for gw specific prefix to CVS HEAD lcr module. see if that fulfils your needs.
-- juha