Re: [Asterisk-Users] ASTCC -- semantic note of 'callstart' in cdrs?

2005-10-15 Thread Darren Wiebe
This will actually be easy to fix.  I'll post a patch along with 
someother stuff shortly.


Darren

Darren Wiebe wrote:

That is true.  It's just one of those things that is easier to leave 
alone to avoid breakage in upgrades.  It would be nice to get fixed 
though


Darren Wiebe
[EMAIL PROTECTED]

Eric Lyons wrote:

Looking at the code, it would appear that the 'callstart' column of 
the cdrs table should really be called 'callend':


   $dialstr = IAX2/$res-{path}/$phone|30|HL( . 
($maxtime * 60 * 1000) . :6:3);

   $res = $AGI-exec(DIAL $dialstr);
   $answeredtime = $AGI-get_variable(ANSWEREDTIME);
   $dialstatus = $AGI-get_variable(DIALSTATUS);
   $callstart = localtime();
   return $dialstatus;

No?

Eric.
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] ASTCC -- semantic note of 'callstart' in cdrs?

2005-10-07 Thread Eric Lyons
Looking at the code, it would appear that the 'callstart' column of the cdrs table should really be 
called 'callend':


   $dialstr = IAX2/$res-{path}/$phone|30|HL( . ($maxtime * 60 * 1000) . 
:6:3);

   $res = $AGI-exec(DIAL $dialstr);
   $answeredtime = $AGI-get_variable(ANSWEREDTIME);
   $dialstatus = $AGI-get_variable(DIALSTATUS);
   $callstart = localtime();
   return $dialstatus;

No?

Eric. 


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ASTCC -- semantic note of 'callstart' in cdrs?

2005-10-07 Thread Darren Wiebe
That is true.  It's just one of those things that is easier to leave 
alone to avoid breakage in upgrades.  It would be nice to get fixed 
though


Darren Wiebe
[EMAIL PROTECTED]

Eric Lyons wrote:

Looking at the code, it would appear that the 'callstart' column of 
the cdrs table should really be called 'callend':


   $dialstr = IAX2/$res-{path}/$phone|30|HL( . 
($maxtime * 60 * 1000) . :6:3);

   $res = $AGI-exec(DIAL $dialstr);
   $answeredtime = $AGI-get_variable(ANSWEREDTIME);
   $dialstatus = $AGI-get_variable(DIALSTATUS);
   $callstart = localtime();
   return $dialstatus;

No?

Eric.
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users