SOLVED Outbound route problem

Status
Not open for further replies.

bcmike

Active Member
Jun 7, 2018
337
58
28
54
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.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
This should work, check in the invite and see what it sends, could be the carrier that has changed.
 
Status
Not open for further replies.