[OpenSIPS-Users] Database Record
    dpa 
    denis7979 at mail.ru
       
    Wed May  8 13:08:37 CEST 2013
    
    
  
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-bounces at lists.opensips.org
[mailto:users-bounces at 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-bounces at lists.opensips.org
[mailto:users-bounces at 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-bounces at lists.opensips.org
[mailto:users-bounces at 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-bounces at lists.opensips.org
[mailto:users-bounces at 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-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of M.Khaled W Chehab
Sent: Tuesday, May 07, 2013 2:01 PM
To: users at 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    : kchehab at icucall.com
MSN ID :khalidchehab at hotmail.com 
Skype    : k_chehab 
Web Site: http://www.icucall.com
                     http://www.allohi.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130508/ee018a0f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5316 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20130508/ee018a0f/attachment-0001.png>
    
    
More information about the Users
mailing list