Richard,
Unfortunately the prefix2domain() function is not available in failure route
block as of today. So, there is no easy way to do that right now.
I don't see there is major problem getting the function available in failure
route. You can request the implementer to make it available.
Zeus
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org] On Behalf Of Richard
Sent: Wednesday, 8 September 2004 5:02 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] revert uri to its early state, but no the original
Hi,
In our ser.cfg, when an r-uri is first received, it goes
through some number to domain matching. For example,
8005551212(a)80.123.45.167 is mapped to 1212(a)companya.com. If
the call is eventually forwarded to sems after failure route,
we want to revert it back to 1212(a)companya.coom, otherwise it
would be 1212@<phone-ip-address>. Is there a function to do
it? The revert_uri() would revert it back to the original
8005551212(a)80.123.45.167.
Thanks,
Richard