[OpenSIPS-Users] [cdrtool] Multiple international access codes required by gateways

Adrian Georgescu ag at ag-projects.com
Sun Apr 15 14:39:02 CEST 2012


You can write your own class and set it up for being used in global.inc into your data source E164_class setting. See global.inc.complex.sample sample file.

Adrian

On Apr 15, 2012, at 1:47 PM, Remco . wrote:

> Hi,
> 
> I have multiple PSTN gateways which require different international prefixes (e.g. '00' or +) which is not in my control.
> Looking at the intAccessCode variable in global.inc, i can change from '00' to '+', but is there a way to handle both?
> 
> I prefer not to modify the CDRtool code, however extending some class might be a neat solution?
> 
> Thanks,
> Remco.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list