Here's an example - placing a call to 271536 from local extension 10. The call file is:


Channel: Zap/1/271536
MaxRetries: 0
RetryTime: 60
WaitTime: 60
Context: home
Extension: 10
Priority: 1

... and the cdr record generated by * on completion of the call is:

"","","10","home","","Zap/1-1","SIP/cisco-4edb","Dial","sip/cisco||tTr","20
04-01-24 16:02:10","2004-01-24 16:02:13","2004-01-24 16:02:26",16,13,"ANSWERED","DOCUMENTATION"


"cisco" is the name given in sip.conf for extension 10. I was expecting a cdr entry for the Zap/1 channel.

Iain







--On Friday, January 23, 2004 21:55:40 -0500 John Todd <[EMAIL PROTECTED]> wrote:


Iain - Brian I believe is correct, and Kannaiyan perhaps is not correct. Perhaps you can post the actual values in one of your call spool files so that we can comment on it more clearly. Using the "Application:" statement in an outbound spool file will prevent a CDR from being created; use "Context:/Extension:/Priority:" methods. If that fails, then we have a bug.

JT

At 5:59 PM -0600 1/23/04, Brian West wrote:

NO it will log from a spool file if and only if you ref an extension and not an application.

bkw

On Fri, 23 Jan 2004, Kannaiyan Natesan wrote:

There is no CDR for the call from spool outgoing,

You need to write a patch to solve the same.

Kannaiyan

 ----- Original Message -----
 From: "Iain Stevenson" <[EMAIL PROTECTED]>
 To: <[EMAIL PROTECTED]>
 Sent: Friday, January 23, 2004 8:27 PM
 Subject: [Asterisk-Users] Back to front logging for calls placed
 through /var/spool/asterisk/outgoing?


> > I've just noticed that if you start a call by writing a file to > /var/spool/asterisk/outgoing the cdr created on termination logs the > call placed to the local extension - not to the destination in the > PSTN. Hence there is no record of the PSTN number dialled. I guess > most people want to > log the outgoing portion not the local call leg? Anyone know of a > setting that changes this? >
> > Iain
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to