Hello, On 10/02/16 13:26, Yasin CANER wrote: > Hello; > debug level is increased but there isnt ERR or any log about it. > pattern is dumped with "kamctl trusted dump" command and it is > correct. Also , checked whitespace , there isnt. ok.
> > tried to pattern^sip:850[0-9].* is mathced. Did you want to have .* ? Which matches any character, or [0-9]* ? > > i think it is about regexec funtion at hash.c in permission module. it > needs more debug , i will do it. Thanks for going ahead to troubleshoot further, let us know if you find something. Right now I can't set a testbed for looking into this case myself. Cheers, Daniel > > > > > 10.02.2016 12:30 tarihinde Daniel-Constantin Mierla yazdı: >> Hello, >> >> if you run with debug=3, do you see any hint in log messages? >> >> Not remembering by heart, check if there is a mi/rpc command to dump >> the content of those rules, in case there is caching in kamailio >> memory (I know there is one for dumping the content of address >> table), maybe the record was not loaded properly. Also, as sometimes >> happens to be, be sure there is no trailing whitespace to the regexp. >> >> Cheers, >> Daniel >> >> On 10/02/16 09:18, Yasin CANER wrote: >>> Hello; >>> i try to add a regular expression to from_pattern column. >>> >>> Fromuser header is _sip:8503027337__@ip_ >>> >>> i added from pattern ^sip:850[0-9]{7} - rejected! >>> try to like that ^sip:850[0-9][0-9][0-9][0-9][0-9][0-9][0-9] - >>> accepted. >>> >>> it is kinda weird. why first pattern wasnt accepted. >>> >>> Kamailio 4.1.7 (x86_64/linux) 85ffd9 >>> >>> Thanks >>> >>> -- >>> >>> <http://www.netgsm.com.tr> >>> >>> >>> _______________________________________________ >>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >>> sr-users@lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> -- >> Daniel-Constantin Mierla >> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda >> Book: SIP Routing With Kamailio - http://www.asipto.com >> http://miconda.eu > > -- > <http://www.netgsm.com.tr> -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users