On Fri, Sep 12, 2008 at 04:07:29PM +0300, Konstantinos Arvanitis wrote:
> 2008/9/11 Raúl Alexis Betancor Santana <[EMAIL PROTECTED]>
> 
> > 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 ?
> >
> > As far as I have checked, it's not supported, but then why it does not give
> > any error while running ?
> 
> From my understanding, you can add as many custom variables in the CDR as
> you want, but the CDR fields that get saved in the database are hard-coded
> in the cdr_psql.c code.
> 
> Try using the cdr_custom_psql.c, it allows custom-defined fields by editing
> the configuration file.


Thanks a lot, It was on fron on my eyes and I don't see it .. X) ...
maybe because it's not compiled on my CW packages by default :-(

Best Regards
--
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