Acme Packet (MOSC)

MOSC Banner

LRT to Route based on the FROM uri-user? and Regex in the user type?

edited Oct 16, 2018 7:04PM in Acme Packet (MOSC) 11 commentsAnswered

Hi fellows,

I was trying to looking for a way to route extension just with 4 or 5 digits to the next hop SA. But I would like to make that based on the From uri-user

I think could be something like below example where user type is E164, but I would like to know if in the line of user type I can define any regular expresion?

for example   <user type="E164">!^\d{4,5}</user>

and then in the next hop I can define something like <next type="regex">!(^.*$)!sip:\1@ip_next_hop!</next>

Or If I can not define regular expresion in the user type then I could create something like

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center