[SR-Users] Set CLI.

Iñaki Baz Castillo ibc at aliax.net
Thu Jul 28 22:56:26 CEST 2011


2011/7/28 Henrik Aagaard Sørensen <henrikaagaardsorensen at gmail.com>:
> Is it possible to set CLI via the usr_preferences table in Kamailio?
> Or any other way?
> So that certain subscribers get there from-number overwritten with a
> specific one.

You can use whatever mechanism you prefer to store users CLI's (so
their AoR username would be replaced by kamailio when, for example,
routing a call to a PSTN gateway). It can be a extra column in
subscriber table, an entry in usr_preferences or anything (LDAP,
custom DB table....).

Then you can add a P-Asserted-Identity header with retrieved CLI
before routing the INVITE to a PSTN gateway, or you can replace the


More information about the sr-users mailing list