[OpenSIPS-Users] RPID or FROM?

Iñaki Baz Castillo ibc at aliax.net
Sun Mar 13 13:11:35 CET 2011

2011/3/11 Toyima Dias <toyimads at gmail.com>:
> if a user wants to make a call to the pstn, where does he define the
> originator of the call? in the from header? or using a RPID? i'm quite
> confuse aboout this?

Hi, this is not the correct question. A user is not a trusted node in
the network (usually) so the user should just set the mandatory From
header (and maybe the P-Preferred-Identity). Its outboud proxy is the
responsible of asserting the identity of the originator (the user) and
can append  a P-Asserted-Identity or Remote-Party-Id header containing
the asserted identity (AoR). The proxy should ignore and remove any
PAI or RPID header in a request coming from a user (a NON trusted
The proxy would then route the call to some PSTN gateway which trusts
the proxy and uses the PAI or RPID value as call line identifier.

NOTE: The RPID header is *NOT* a standard. It's widely used but a new
deployment should move to the standard: P-Asserted-Identity.

For more information about how all this stuf works, please read RFC
3325 in which *every* detail is fully explained.

Iñaki Baz Castillo
<ibc at aliax.net>

More information about the Users mailing list