OpenSER module pdt

pdt module translates a numerical prefix into a domain and updates accordingly the request URI.

The module looks up at the R-URI part of a message and if the user part begins with an established prefix it will update the URI. Updating the uri consists of: remove the prefix from the user part of the URI and keep the rest as the user part of the new URI. The host and port are changed with the domain matched for the leading prefix and the domain in From URI. Translating rules are loaded at startup and used from OpenSER memory.


<prefix><userid>@<mydomain.com>


and the result will be:


<userid>@<newdomain>


Links to documentation of pdt module:
pdt module translates a numerical prefix into a domain and updates accordingly the request URI.

The module looks up at the R-URI part of a message and if the user part begins with an established prefix it will update the URI. Updating the uri consists of: remove the prefix from the user part of the URI and keep the rest as the user part of the new URI. The host and port are changed with the domain matched for the leading prefix and the domain in From URI. Translating rules are loaded at startup and used from OpenSER memory.


<prefix><userid>@<mydomain.com>


and the result will be:


<userid>@<newdomain>


Links to documentation of pdt module:
Created by: miconda, Last modification: Thu 01 of Mar, 2007 (11:13 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+