[Asterisk-Users] CDR Billing

Daniel Laursen daniel at daya.dk
Wed Jun 14 14:32:21 MST 2006


Hello there

I have a small php script that Originates a call, it looks like this:

Action: login
Events: off
Username: strUser
Secret: strSecret
Action: originate;
Channel: SIP/SIP04DK/59119994;
WaitTime: 30;
CallerId: ANYthing;
Exten: 27289955;
Context: Mycontext;
Priority: 1;
Action: Logoff;

Mycontext looks like this:
exten => _.,1,Answer
exten => _.,2,Wait(1) 
exten => _.,3,Background(pls-wait-connect-call)
exten => _.,4,Macro(dialout-trunk,2,${EXTEN},)

Everything is working
My phone at 59119994 rings and I hear a "please wait while I connect
your call" then my mobile rings.
What I dont get is why nothing is written in the db.
If I would like that both calls is charged to one user/extension how do
I do that ?


My box is a trixbox, with freePBX.
What I can see from the Reports page is:
1.   	2006-06-14 23:07:06  	SIP/SIP04D...  	27289955
"ANYthing" <27289955>  	27289955  	ANSWERED  	00:21


Hope that someone can point me in the right direction

Daya







More information about the asterisk-users mailing list