[Devel] Patch - LCR Strip Option
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Nov 23 09:53:34 CET 2005
Hi,
indeed, looks like a useful functionality.
Juha, do you find the patch ok to be applied?
regards,
bogdan
Klaus Darilion wrote:
> Hi Bayan!
>
> Thanks for the patch!
>
> I like this feature.
>
> regards
> klaus
>
> Bayan William Towfiq wrote:
>
>> Here is a small patch that we've created to add a strip option to
>> each gateway so that you can strip a certain number of characters
>> before prefixing. Lets take the example of dealing with E164 numbers
>> on your network that need to be normalized to a provider that takes
>> 011... for international A-Z and another provider that takes
>> [0-9]{10} for calls to country code 55 for as the RURI format. You
>> would insert two rows to the gw table one gateway with prefix 011 and
>> strip 1 to strip off the '+' and the second gatway with no prefix and
>> strip 3 to strip off the '+55'.
>>
>> I hope you find this useful. Feel free to commit to CVS so that it
>> can be maintained as part of the LCR module.
>>
>> Bayan Towfiq
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list