[SR-Users] Query in Dialplan module

yu at yu-boot.ru yu at yu-boot.ru
Wed Aug 23 12:09:07 CEST 2017


How do you call dialplan? Post your cfg to pastebin.com plz.
--
Отправлено из myMail для Android среда, 23 августа 2017г., 13:06 +03:00 от Logeshwaran G  logeshwarangs at gmail.com :

>Sorry, Typo Error in previous mail.
>
>^222([0-9]+)$ I do have the same subst_exp but the first three digits are not removing.
>
>Thanks & Kind Regards,
>Logeshwaran G
>
>On Wed, Aug 23, 2017 at 3:31 PM,  < yu at yu-boot.ru > wrote:
>>subst_exp: ^222([0-9]­+)$ 
>>And if you call dialplan before lcr, remove 222 from lcr table entries.
>>--
>>Отправлено из myMail для Android среда, 23 августа 2017г., 12:56 +03:00 от Logeshwaran G  logeshwarangs at gmail.com :
>>
>>>Hi,
>>>
>>>I have one query in Dialplan module, my scenario is If I call 22291+++++++++ the first three digit should remove and the call place to 91+++++++.
>>>
>>>But i dont get the exact result, the first three digits are not removing. I have used the below rules:
>>>
>>>Lcr_rule table:
>>>============
>>>id: 5
>>>lcr_id: 2
>>>Prefix:22291
>>>Request uri: NULL
>>>Stopper: 1
>>>Enabled: 1
>>>
>>>LCR_rule_target:
>>>==================
>>>id:3
>>>lcr_id:2
>>>rule_id:5
>>>gw:id:2
>>>priority:1
>>>weight:1
>>>
>>>Dialplan table:
>>>=============
>>>id:3
>>>dpid:2
>>>pr:1
>>>match_op:1
>>>match_exp: ^222[0-9]+$ 
>>>subst_exp: ^222[0-9]+$ 
>>>repl_exp:\1
>>>
>>>Is it correct or not, Please guide me.
>>>
>>>
>>>
>>>
>>>Thanks & Kind Regards,
>>>Logeshwaran G
>>>_______________________________________________
>>>Kamailio (SER) - Users Mailing List
>>>sr-users at lists.kamailio.org
>>>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>>_______________________________________________
>>Kamailio (SER) - Users Mailing List
>>sr-users at lists.kamailio.org
>>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170823/e1d27659/attachment.html>


More information about the sr-users mailing list