[Freeswitch-users] lcr cid maniluaption
Raymond Chandler
intralanman at freeswitch.org
Wed Jul 31 22:53:10 MSD 2013
https://wiki.freeswitch.org/wiki/Mod_translate will let you define
translation rules to handle this sort of thing without even having to
hit the XML dialplan.
-Ray
On 07/31/2013 08:45 AM, Miha wrote:
> Avi sorry,
>
> I was looking at wrong palce. I need a manipulation with destination
> number as some cerrier is sending 385*xxxxx, some are sending without
> * (385xxxx).
>
> I did two routes in lcr but from what I can see lcr module does not
> look at *, for with * and without * same route is used.
>
> What whout be the best way to deal with this?
>
> BR,
> Miha
>
> Dne 7/31/2013 2:24 PM, pis(e Avi Marcus:
>> If you only need to replace the * with nothing, then try: /\*//
>> -Avi
>>
>>
>> On Wed, Jul 31, 2013 at 2:49 PM, Miha <miha at softnet.si
>> <mailto:miha at softnet.si>> wrote:
>>
>> HI,
>>
>> I need a little help with regex for cid manipulation in lcr.
>>
>> On wiki I can see that I can do it like this: /search/replace/
>>
>> I am getting sometime number like: 385*60001264567 and sometimes
>> without
>> * (385*60001264567) (from different carrier).
>>
>> How can I get rid of * with regex in LCR table? I can see that
>> row CID
>> is for this manipulation.
>>
>> tnx
>> miha
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130731/06368744/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list