Iñaki Baz Castillo writes:

> The problem is that it would require perform N regular expression
> matching and such expressions will be very long (all the country
> prefixes in the world). The main problem is that some groups would
> contain prefixes starting with, for example, 12, while in other group
> there is the prefix 1 (an the very same in multiple cases, so doing it
> manually would be too much manual work and any change in the world
> would require hard modifications).

perhaps you could use dialplan module.  it there is overlapping regular
expressions, one is selected based on its priority.

-- juha

_______________________________________________
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