Re: [asterisk-users] question about CDR
thanks asghar for your help and support and thanks ishfaq 2013/5/9 Asghar Mohammad asghar...@gmail.com hi, asterisk insert cdr when call is hangup and last dial statment, i dont understatnd why you are using 2 dial statment on same extenstion? if you you want dial to both extensions you can use 506,1,Dial(SIP/223SIP/276) if you want dial both same time or if you want to do failover the check Dial status and gotoif dialstatus = NO ANSWER or what ever you need. On Thu, May 9, 2013 at 10:46 AM, Salaheddine Elharit salah.elharit...@gmail.com wrote: hello list, i need your help about cdr ,i have installed the module cdr in my asterisk 1.4 . for the inbound calls when i call my sip exten like below : exten = 506,1,Dial(SIP/223, 10) exten = 506,n,Dial(SIP/276, 10) in CDR i have just one line with SIP /276 the last line but there is no historic for the first SIP 223 recid Record ID | calldate |clid |src | dst |dcontext |channel | dstchannel |lastapp |lastdata |duration |billsec |disposition |amaflags |accountcode |uniqueid |3 | 626747 |2013-05-09 09:22:55|0661551203 |0661551203|506 |default |Zap/14-1 |SIP/276-092ac7b0 |Dial|SIP/276| 10|21 |0 |NO ANSWER any help please to have the historic for 223 and 276 thanks and regards -- _ -- 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 -- _ -- 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 -- _ -- 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
Re: [asterisk-users] question about CDR
On Thu, 2013-05-09 at 08:46 +, Salaheddine Elharit wrote: hello list, i need your help about cdr ,i have installed the module cdr in my asterisk 1.4 . for the inbound calls when i call my sip exten like below : exten = 506,1,Dial(SIP/223, 10) exten = 506,n,Dial(SIP/276, 10) in CDR i have just one line with SIP /276 the last line but there is no historic for the first SIP 223 recid Record ID | calldate |clid |src | dst |dcontext |channel | dstchannel |lastapp |lastdata |duration |billsec |disposition |amaflags |accountcode |uniqueid |3 | 626747 |2013-05-09 09:22:55|0661551203 |0661551203| 506 |default |Zap/14-1 |SIP/276-092ac7b0 |Dial|SIP/276| 10|21 |0 |NO ANSWER any help please to have the historic for 223 and 276 Hi You need to look into Channel Event Logging https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=5242932 Regards Ish -- Ishfaq Malik i...@pack-net.co.uk Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, 2A ENTERPRISE HOUSE, LLOYD STREET NORTH, MANCHESTER SCIENCE PARK, MANCHESTER, M156SE COMPANY REG NO. 04920552 -- _ -- 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
Re: [asterisk-users] question about CDR
thanks i verify but i don't understanding if can someone give me an example best regards 2013/5/9 Ishfaq Malik i...@pack-net.co.uk On Thu, 2013-05-09 at 08:46 +, Salaheddine Elharit wrote: hello list, i need your help about cdr ,i have installed the module cdr in my asterisk 1.4 . for the inbound calls when i call my sip exten like below : exten = 506,1,Dial(SIP/223, 10) exten = 506,n,Dial(SIP/276, 10) in CDR i have just one line with SIP /276 the last line but there is no historic for the first SIP 223 recid Record ID | calldate |clid |src | dst |dcontext |channel | dstchannel |lastapp |lastdata |duration |billsec |disposition |amaflags |accountcode |uniqueid |3 | 626747 |2013-05-09 09:22:55|0661551203 |0661551203| 506 |default |Zap/14-1 |SIP/276-092ac7b0 |Dial|SIP/276| 10|21 |0 |NO ANSWER any help please to have the historic for 223 and 276 Hi You need to look into Channel Event Logging https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=5242932 Regards Ish -- Ishfaq Malik i...@pack-net.co.uk Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, 2A ENTERPRISE HOUSE, LLOYD STREET NORTH, MANCHESTER SCIENCE PARK, MANCHESTER, M156SE COMPANY REG NO. 04920552 -- _ -- 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 -- _ -- 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
Re: [asterisk-users] question about CDR
hi, asterisk insert cdr when call is hangup and last dial statment, i dont understatnd why you are using 2 dial statment on same extenstion? if you you want dial to both extensions you can use 506,1,Dial(SIP/223SIP/276) if you want dial both same time or if you want to do failover the check Dial status and gotoif dialstatus = NO ANSWER or what ever you need. On Thu, May 9, 2013 at 10:46 AM, Salaheddine Elharit salah.elharit...@gmail.com wrote: hello list, i need your help about cdr ,i have installed the module cdr in my asterisk 1.4 . for the inbound calls when i call my sip exten like below : exten = 506,1,Dial(SIP/223, 10) exten = 506,n,Dial(SIP/276, 10) in CDR i have just one line with SIP /276 the last line but there is no historic for the first SIP 223 recid Record ID | calldate |clid |src | dst |dcontext |channel | dstchannel |lastapp |lastdata |duration |billsec |disposition |amaflags |accountcode |uniqueid |3 | 626747 |2013-05-09 09:22:55|0661551203 |0661551203|506 |default |Zap/14-1 |SIP/276-092ac7b0 |Dial|SIP/276| 10|21 |0 |NO ANSWER any help please to have the historic for 223 and 276 thanks and regards -- _ -- 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 -- _ -- 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
Re: [asterisk-users] question about CDR command
I don't believe there is any quick simple way of doing this. You would need to add the column in the DB and modify cdr.c. I'm sure someone out there has a step by step doc on how to do this. You may try the #asterisk channel on irc. bp On 10/19/06, unplug [EMAIL PROTECTED] wrote: Thanks!!Just one more question.Can I do the same add fieldname=1 if I adda field fieldname in the cdr table to perform the same action? On 10/19/06, William Piper [EMAIL PROTECTED] wrote: In cdr_mysql.conf add userfield=1 under the globals setting. bp On 10/18/06, unplug [EMAIL PROTECTED] wrote: I want to set some custom data in the field of userfield in table CDR as following. exten = s,19,Set(CDR(userfield)=1234) exten = s,20,Dial(SIP/1234) However, the userfield doesn't get update after making the call. After that, I relocate the command as following. exten = s,19,Dial(SIP/1234) exten = s,20,Set(CDR(userfield)=1234) The userfield doens't get update at all.I don't know why the field can't update after issuing the command.Anyone can help? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users___ --Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] question about CDR command
In cdr_mysql.conf add userfield=1 under the globals setting. bp On 10/18/06, unplug [EMAIL PROTECTED] wrote: I want to set some custom data in the field of userfield in table CDRas following.exten = s,19,Set(CDR(userfield)=1234) exten = s,20,Dial(SIP/1234)However, the userfield doesn't get update after making the call.After that, I relocate the command as following.exten = s,19,Dial(SIP/1234)exten = s,20,Set(CDR(userfield)=1234) The userfield doens't get update at all.I don't know why the fieldcan't update after issuing the command.Anyone can help?___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] question about CDR command
Thanks!! Just one more question. Can I do the same add fieldname=1 if I add a field fieldname in the cdr table to perform the same action? On 10/19/06, William Piper [EMAIL PROTECTED] wrote: In cdr_mysql.conf add userfield=1 under the globals setting. bp On 10/18/06, unplug [EMAIL PROTECTED] wrote: I want to set some custom data in the field of userfield in table CDR as following. exten = s,19,Set(CDR(userfield)=1234) exten = s,20,Dial(SIP/1234) However, the userfield doesn't get update after making the call. After that, I relocate the command as following. exten = s,19,Dial(SIP/1234) exten = s,20,Set(CDR(userfield)=1234) The userfield doens't get update at all. I don't know why the field can't update after issuing the command. Anyone can help? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users