[Kamailio-Users] Translate name in RURI to number

Edson - Listas 4lists at gmail.com
Thu Aug 14 15:21:36 CEST 2008


Raúl Alexis Betancor Santana escreveu:
> El Jueves, 14 de Agosto de 2008 12:52, Ali Jawad escribió:
>> Hi all..my users are all registered with names...I want to forward their
>> calls to my pstn gw..however those only take numerical ANI numbers. So I
>> need to change the sip packet on the Openser server to a number (diff
>> number per user) before forwarding that to the PSTN Gateway ..any ideas
>> ? Would ENUM work ? THanks
> 
> Better and easier is to have and AVP on DB with the ANI you want to them to 
> use, load that AVP and set a PAI header (if your gateways support it)
> 
Did You evaluate the alias capability? Seams to be easier and after the
'lookup("aliases")', You would got the numeric equivalent of the name.
Process should go from that point on...

Edson.




More information about the sr-users mailing list