[OpenSER-Users] setting caller id in FROM

Iñaki Baz Castillo ibc at aliax.net
Sat Jun 21 00:27:01 CEST 2008


El Sábado, 21 de Junio de 2008, Alex Balashov escribió:
> David Villasmil wrote:
> > Hello all,
> >
> > I'm required to set a specific caller id on an outbound call. I've tried
> > with P-Asserted-Id but it seems the carrier wants me to change the
> > FROM-URI, I'm trying to set $fU but I get an error saying:
> >
> > line 380, column 17-18: invalid left operand in assignment
> >
> > So I assume $fU is not readable?
> >
> > How do i change it?
>
> You can use subst() on the message, or you can drop and append your own
> From: header (append_hf).

No, better use UAC module that includes a function to change properly 
the "From" header.

PD: Before it I'd try adding a RPID header. Maybe your carrier understands it.

-- 
Iñaki Baz Castillo




More information about the Users mailing list