Re: [OpenSIPS-Users] Database Record
acc_db_request inserts information in a table that you mentioned in second parameter of the function with some comments mentioned in first parameter. For example, acc_db_request("some information", "acc"). The function works only in request and failure route. If you want put some information in acc table before call hang up then you should make acc_db_request("some information", "acc") in any request route where INVITE processed. From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Wednesday, May 08, 2013 2:27 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record version: opensips 1.8.2-notls (x86_64/linux) flags: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. svnrevision: 2:9954M @(#) $Id: main.c 9791 2013-02-15 10:15:25Z bogdan_iancu $ main.c compiled on 15:29:28 Apr 18 2013 with gcc 4.4.5 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of dpa Sent: Wednesday, May 08, 2013 7:48 AM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record The version of Opensips? From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Tuesday, May 07, 2013 4:52 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record Hello, Please can you make it more clear or give me an example for the function acc_log_request("Some comment", "Some table"); onreply_route[2] { if (is_method("INVITE") && t_check_status("200") ) { acc_log_request("coonect time ","acc"); ??? } From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of dpa Sent: Tuesday, May 07, 2013 1:06 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record Hello Try http://www.opensips.org/html/docs/modules/1.6.x/acc.html#id293991 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Tuesday, May 07, 2013 2:01 PM To: users@lists.opensips.org Subject: [OpenSIPS-Users] Database Record Dears, I am using acc module and I am inserting two rows for each call (INVITE,BYE) , I have a problem such I want to update the record in acc table before the calls ends which have a method = INVITE, and now that cant be done now since opensips Does not insert the invite record before the calls ends How to let the invite record inserted in database before calls ends Please advice Khaled Chehab Senior NGN Engineer Description: icucall Operations Office - Lebanon Office: +961 1 515155 ext 300 Mobile : +961 3 045212 E-mail: kche...@icucall.com MSN ID :khalidche...@hotmail.com Skype: k_chehab Web Site: http://www.icucall.com http://www.allohi.com <>___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Database Record
version: opensips 1.8.2-notls (x86_64/linux) flags: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. svnrevision: 2:9954M @(#) $Id: main.c 9791 2013-02-15 10:15:25Z bogdan_iancu $ main.c compiled on 15:29:28 Apr 18 2013 with gcc 4.4.5 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of dpa Sent: Wednesday, May 08, 2013 7:48 AM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record The version of Opensips? From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Tuesday, May 07, 2013 4:52 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record Hello, Please can you make it more clear or give me an example for the function acc_log_request("Some comment", "Some table"); onreply_route[2] { if (is_method("INVITE") && t_check_status("200") ) { acc_log_request("coonect time ","acc"); ??? } From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of dpa Sent: Tuesday, May 07, 2013 1:06 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record Hello Try http://www.opensips.org/html/docs/modules/1.6.x/acc.html#id293991 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Tuesday, May 07, 2013 2:01 PM To: users@lists.opensips.org Subject: [OpenSIPS-Users] Database Record Dears, I am using acc module and I am inserting two rows for each call (INVITE,BYE) , I have a problem such I want to update the record in acc table before the calls ends which have a method = INVITE, and now that cant be done now since opensips Does not insert the invite record before the calls ends How to let the invite record inserted in database before calls ends Please advice Khaled Chehab Senior NGN Engineer Description: icucall Operations Office - Lebanon Office: +961 1 515155 ext 300 Mobile : +961 3 045212 E-mail: kche...@icucall.com MSN ID :khalidche...@hotmail.com Skype: k_chehab Web Site: http://www.icucall.com http://www.allohi.com <>___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Database Record
The version of Opensips? From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Tuesday, May 07, 2013 4:52 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record Hello, Please can you make it more clear or give me an example for the function acc_log_request("Some comment", "Some table"); onreply_route[2] { if (is_method("INVITE") && t_check_status("200") ) { acc_log_request("coonect time ","acc"); ??? } From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of dpa Sent: Tuesday, May 07, 2013 1:06 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record Hello Try http://www.opensips.org/html/docs/modules/1.6.x/acc.html#id293991 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Tuesday, May 07, 2013 2:01 PM To: users@lists.opensips.org Subject: [OpenSIPS-Users] Database Record Dears, I am using acc module and I am inserting two rows for each call (INVITE,BYE) , I have a problem such I want to update the record in acc table before the calls ends which have a method = INVITE, and now that cant be done now since opensips Does not insert the invite record before the calls ends How to let the invite record inserted in database before calls ends Please advice Khaled Chehab Senior NGN Engineer Description: icucall Operations Office - Lebanon Office: +961 1 515155 ext 300 Mobile : +961 3 045212 E-mail: kche...@icucall.com MSN ID :khalidche...@hotmail.com Skype: k_chehab Web Site: http://www.icucall.com http://www.allohi.com <>___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Database Record
Hi Khaled, You need to study the cdr flag options, if I have time I will definitely post the appropriate parameter here. --Aamir --- Sent from My BlackBerry --- -Original Message- From: "dpa" Sender: users-boun...@lists.opensips.org Date: Tue, 7 May 2013 14:06:15 To: 'OpenSIPS users mailling list' Reply-To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Database Record ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Database Record
Hello, Please can you make it more clear or give me an example for the function acc_log_request("Some comment", "Some table"); onreply_route[2] { if (is_method("INVITE") && t_check_status("200") ) { acc_log_request("coonect time ","acc"); ??? } From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of dpa Sent: Tuesday, May 07, 2013 1:06 PM To: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Database Record Hello Try http://www.opensips.org/html/docs/modules/1.6.x/acc.html#id293991 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Tuesday, May 07, 2013 2:01 PM To: users@lists.opensips.org Subject: [OpenSIPS-Users] Database Record Dears, I am using acc module and I am inserting two rows for each call (INVITE,BYE) , I have a problem such I want to update the record in acc table before the calls ends which have a method = INVITE, and now that cant be done now since opensips Does not insert the invite record before the calls ends How to let the invite record inserted in database before calls ends Please advice Khaled Chehab Senior NGN Engineer Description: icucall Operations Office - Lebanon Office: +961 1 515155 ext 300 Mobile : +961 3 045212 E-mail: kche...@icucall.com MSN ID :khalidche...@hotmail.com Skype: k_chehab Web Site: http://www.icucall.com http://www.allohi.com <>___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Database Record
Hello Try http://www.opensips.org/html/docs/modules/1.6.x/acc.html#id293991 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of M.Khaled W Chehab Sent: Tuesday, May 07, 2013 2:01 PM To: users@lists.opensips.org Subject: [OpenSIPS-Users] Database Record Dears, I am using acc module and I am inserting two rows for each call (INVITE,BYE) , I have a problem such I want to update the record in acc table before the calls ends which have a method = INVITE, and now that cant be done now since opensips Does not insert the invite record before the calls ends How to let the invite record inserted in database before calls ends Please advice Khaled Chehab Senior NGN Engineer Description: icucall Operations Office - Lebanon Office: +961 1 515155 ext 300 Mobile : +961 3 045212 E-mail: kche...@icucall.com MSN ID :khalidche...@hotmail.com Skype: k_chehab Web Site: http://www.icucall.com http://www.allohi.com <>___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Database Record
Dears, I am using acc module and I am inserting two rows for each call (INVITE,BYE) , I have a problem such I want to update the record in acc table before the calls ends which have a method = INVITE, and now that cant be done now since opensips Does not insert the invite record before the calls ends How to let the invite record inserted in database before calls ends Please advice Khaled Chehab Senior NGN Engineer Description: icucall Operations Office - Lebanon Office: +961 1 515155 ext 300 Mobile : +961 3 045212 E-mail: kche...@icucall.com MSN ID :khalidche...@hotmail.com Skype: k_chehab Web Site: http://www.icucall.com http://www.allohi.com <>___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users