[asterisk-dev] Violent Objections? CDR dst/dcontext probs in 1.4+ when a macro is involved.

Benny Amorsen benny+usenet at amorsen.dk
Fri Jun 29 06:12:49 CDT 2007


>>>>> "TL" == Tilghman Lesher <tilghman at mail.jeffandtilghman.com> writes:

TL> Nothing is preventing you from creating another CDR variable (and
TL> logging it) called Destination.

You cannot tell the database backend to include special fields in
CDR's. Very inconvenient.

I have a similar problem in this setup:

[outgoing-sipprovider]
 exten => _X,1,Set(CALLERID(num)=00${CALLERID(num)})
 exten => _X,n,Dial(00${EXTEN}@sipprovider

I want to log everything in E.264-format -- a US call would look like
this: source 11235556666, destination 11235557777. The sip provider
wants it like this: source 0011235556666, 0011235555777. If I could
manipulate the CDR variables directly, it would be relatively easy to
fix.


/Benny





More information about the asterisk-dev mailing list