Hey guys, I'm using Kamailio 1.5.3-notls and need to apply some re operation to an AVP.
The problem I have is that my re expression is held in an AVP, so the parser is not recognizing it :( Would it be very hard to change that behavior? Any ideas/tips to implement? This code route[16] { ... avp_subst("$avp(s:ANI)/$avp(s:ANIegress)", "$avp(s:carrierAniRegex)"); ... } returns this error ERROR:avpops:fixup_subst: avpops: bad subst re $avp(s:carrierAniRegex) This code route[16] { ... avp_subst("$avp(s:ANI)/$avp(s:ANIegress)", $avp(s:carrierAniRegex)); ... } returns this error CRITICAL:core:yyerror: parse error in config file, line 751, column 51-74: syntax error CRITICAL:core:yyerror: parse error in config file, line 751, column 74-75: bad arguments Do you think some other way I can achieve this? Be aware I'm using SQLops to get realtime the value of the expression... Thanks in advance! Uriel _______________________________________________ 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