[Kamailio-Users] Username vs DID

Iñaki Baz Castillo ibc at aliax.net
Tue Nov 25 15:58:11 CET 2008


El Martes, 25 de Noviembre de 2008, Matteo D'Amato escribió:
> Hello,
>
>                 I have users with one or more DID numbers assigned to them
> and some with none. What is the standard convention when choosing
> usernames? Initially  I started with usernames with the following format
> 1001,1002,etc however when a user dials a number their username shows up
> instead of their DID. I'm assigning DID with the alias command. Is there a
> way to show their DID number or do I need to change the way I create
> usernames?

In case you route calls to a PSTN gateway add "P-Asserted-Identity" header 
containing the DID value.
In case of calls between local users the only way is changing the From in the 
proxy (and replacing it with the DID), not very "cool".



-- 
Iñaki Baz Castillo




More information about the Users mailing list