Hello Takeshi,
I'd like to permit our subscribers to have several
aliases for
outgoing calls (basically, several number in the PSTN). I think they
could set this in the header From of the INVITE to us and we would
identify them, authenticate them and finally relay that same alias
(and not the subscriber name) to the GW (currently we permit them to
have a single alias for outgoing using a field in the subscriber
table).
I can see the module alias_db can be used to manage aliases, but I
understand it can only be used for incoming calls as it provides
just a single function alias_db_lookup that operates on the Request-
URI.
Any ideas?
You can use both Remote-Party-ID and PAI headers for sending the
caller id to the gateway:
append_rpid_hf() for rpid or append_hf() for PAI.
Saludos
JesusR.
------------------------------------
Jesus Rodriguez
VozTelecom Sistemas, S.L.
jesusr(a)voztele.com
http://www.voztele.com
Tel. 902360305
-------------------------------------