I have a problem prefixing an out bound route. Its a pretty basic route to accept a ten digit number and then prefix it with a one before sending it to the gateway. I need to prefix it with a 1 so that it gets properly rated on an ASTPP box (the gateway the call is being sent to).
Anyway this is the route without a prefixed 1 and it works fine:
^(\d{10})$
sofia/gateway/f5fd173f-27d6-46d1-a402-26794b505588/$1
This however results in a "number not found" recording and nothing hitting the ASTPP box
^(\d{10})$
sofia/gateway/f5fd173f-27d6-46d1-a402-26794b505588/1$1
Also I can swear that this worked at some point but I'm not sure what changed.
Anyway this is the route without a prefixed 1 and it works fine:
^(\d{10})$
sofia/gateway/f5fd173f-27d6-46d1-a402-26794b505588/$1
This however results in a "number not found" recording and nothing hitting the ASTPP box
^(\d{10})$
sofia/gateway/f5fd173f-27d6-46d1-a402-26794b505588/1$1
Also I can swear that this worked at some point but I'm not sure what changed.