Can you try with "^\\*\\*[0-9]{5}$" or "^[*]{2}[0-9]{5}$"?

I don't remember by hart how backspace escape is interpreted in the case statement and have no time for the moment to check the code.

Cheers,
Daniel

On 17/06/14 14:41, Joel White wrote:
case /"^\*\*[0-9]{5}$":

break;


On Mon, Jun 16, 2014 at 8:50 AM, Daniel-Constantin Mierla <mico...@gmail.com <mailto:mico...@gmail.com>> wrote:

    Can you give an example where you try to use it?

    In regular expressions you have to escape it with backslash if you
    want to match the character.

    Cheers,
    Daniel


    On 16/06/14 14:21, Joel White wrote:
    I am having an issue using an asterisk * in the kamailio
    routing.  How would I implement this?

    Thank you in advance


    _______________________________________________
    SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
    sr-users@lists.sip-router.org  <mailto:sr-users@lists.sip-router.org>
    http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- Daniel-Constantin Mierla -http://www.asipto.com
    http://twitter.com/#!/miconda  <http://twitter.com/#%21/miconda>  
-http://www.linkedin.com/in/miconda


    _______________________________________________
    SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
    list
    sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
    http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

_______________________________________________
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

Reply via email to