[Kamailio-Users] Translate name in RURI to number

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Thu Aug 14 16:23:53 CEST 2008


El Jueves, 14 de Agosto de 2008 14:21, Edson - Listas escribió:
> 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...

lookup("...") is not valid for that, it will change RURI and that isn't what 
he wants, he wants to change the presentation on the remote UAC.

-- 
Saludos.

Raúl Alexis Betancor Santana
Dimensión Virtual S.L.




More information about the sr-users mailing list