Hello, In my 1.6.1.18-powered system, I've got the following dialplan (in extensions.ael) : Dial(SIP/foo,15); if (${DIALSTATUS}="NOANSWER") Dial(SIP/bar,15); When SIP/baz dials peer SIP/foo which do not answer, I've got a single CDR entry like this: SIP/baz SIP/bar time_when_foo_started_to_ring time_when_bar_ended_talking ANSWERED How can I get two CDR entries : - one for the unanswered call from SIP/baz to SIP/foo - and one for the answered one from SIP/baz to SIP/bar ? I've read about ForkCDR app but from reading its embedded doc, I couldn't find if and how I could get the result I'm after. What would you suggest ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110922/704b91b5/attachment-0001.htm>
Hi you cannt do itin default CDR of the asterisk, To do so you can use Mysql and do it from dialplan On Thu, Sep 22, 2011 at 18:53, Olivier <oza_4h07 at yahoo.fr> wrote:> Dial(SIP/foo,15); > if (${DIALSTATUS}="NOANSWER") > Dial(SIP/bar,15); >-- Amit Anand +91 9818559898 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110923/4f10af52/attachment.htm>
2011/9/23 amit anand <onewaytoconnect at gmail.com>> Hi > > you cannt do itin default CDR of the asterisk, To do so you can use Mysql > and do it from dialplan >How ? Shall I simply append a new record into MySQL CDR table ?> > > On Thu, Sep 22, 2011 at 18:53, Olivier <oza_4h07 at yahoo.fr> wrote: > >> Dial(SIP/foo,15); >> if (${DIALSTATUS}="NOANSWER") >> Dial(SIP/bar,15); >> > > > > -- > > Amit Anand > > > +91 9818559898 > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110923/1f755f59/attachment.htm>