El Martes, 17 de Junio de 2008 07:40, thomas schorpp escribió:
> Raúl Alexis Betancor Santana wrote:
> > Hi all,
> >
> > I'm trying to set some CDR custom fields from the dialplan, but they
> > never get send to the DB (cdr_pgsql.so is used here).
> >
> > With this dialplan code:
> > ...
> > exten => _X.,n,Set(CDR(src_ip)=${SIP_HEADER(X-Source-IP)})
> > ...
> >
> > I whant to save into CDR for this call the source IP of the client,
> > callweaver does not fail, but src_ip field on the cdr table is never
> > filled.
> >
> > Is this not supported by callweaver ?
>
> check sysntax and rhs evaluation with a NoOp above.

Syntax is ok, I have checked it, also it's a simple evalutaion, no cut or 
other functions involved.

> check db access rights by callweaver user.

It's only a field more on the same register, rights are ok or CallWeaver would 
break when doing insert, also I've activated the SQL log statement on 
PostgreSQL and the INSERT clause does not contain the src_ip field, only the 
standar fields.

-- 
Saludos.

Raúl Alexis Betancor Santana
Dimensión Virtual S.L.
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to