[Kamailio-Users] Username vs DID
Pablo Hernan Saro
pablosaro at gmail.com
Tue Nov 25 17:14:58 CET 2008
Matteo,
IMHO, you can create users like name.lastname and link that usernames with
DIDs in other table (or db_aliases as well). Then, when you route a call to
PSTN you can do uac_replace_from or add headers like P-Asserted-Identity or
Remote-Party-ID (take care of this depending on your PSTN GW model) looking
for the preferred ANI in your db.
Pablo
On Tue, Nov 25, 2008 at 2:17 PM, <ingdavidcespedes at cable.net.co> wrote:
>
>
> ----- Mensaje original -----
> De: Matteo D'Amato <matteo at ecosma.com>
> Fecha: Martes, Noviembre 25, 2008 10:12 am
> Asunto: [Kamailio-Users] Username vs DID
>
> > Yes I am using a PSTN Gateway, should I create a new table to hold
> > the link between the username and DID or do I use the information
> > in the alias table?
> >
> > And there may be some local calls between users, so are you saying
> > it would have been easier to use their actual DID numbers as their
> > usernames?
> I have seen something like this
> ie:
>
> PSTN Number: 7565079
> Internal Extension:5079
>
> So you use as username= 5079, and PSTN number 7565079.
>
> But it's always better, I think, to have internal user names as "John" and
> associate its DID only when he is trying to reach the PSTN, adding the RFC
> 3325 header field P-Asserted-Identity with the DID number.
>
> > --Matteo
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20081125/6d82214d/attachment.htm
More information about the Users
mailing list