Raúl Alexis Betancor Santana escreveu:
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.
Raul, I didn't understand that way.... He has to change the destination
(RURI) _before_ sending to a PSTN-GW, not saying that presentation has
to be changed. But if the PSTN forwards also presentation info, then You
are right... (és duro admitirlo, pero cuando tenes razon, tenes razon...
;) )