SER module pdt

pdt: This module translates numerical codes into domains and update accordingly the R-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: read the code after the prefix from the user part of the uri and keep the rest as the user part of the new uri. The host part will be the domain matched for the leading code.

[<prefix>]<code><userid><:password>@<mydomain.com> ...

and the result will be:

<userid><:password>@<domain[:port]>...

Example 1-1.
prefix=2
code=3330
domain[3330]=iptel.org

2333091001@mydomain.com => 91001@iptel.org

The code is always ended with a special digit (a parameter of the module). This digit will not be inside the code at all.



Back to SIP Express Router
pdt: This module translates numerical codes into domains and update accordingly the R-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: read the code after the prefix from the user part of the uri and keep the rest as the user part of the new uri. The host part will be the domain matched for the leading code.

[<prefix>]<code><userid><:password>@<mydomain.com> ...

and the result will be:

<userid><:password>@<domain[:port]>...

Example 1-1.
prefix=2
code=3330
domain[3330]=iptel.org

2333091001@mydomain.com => 91001@iptel.org

The code is always ended with a special digit (a parameter of the module). This digit will not be inside the code at all.



Back to SIP Express Router
Created by: oej, Last modification: Wed 29 of Oct, 2003 (15:48 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+