[Users] acc module and logging incomplete calls

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Mar 1 13:42:00 CET 2006


Hi,

you might see the following options of ACC module:
    failed_transaction_flag - 
http://openser.org/docs/modules/1.1.x/acc.html#AEN229
    db_missed_flag - http://openser.org/docs/modules/1.1.x/acc.html#AEN413

regards,
bogdan

Script Head wrote:

> My SER distributes calls to a bunch of Asterisk servers. Here's my route:
>
> route{
>         setflag(1);
>
>        if (!mf_process_maxfwd_header("10")) {
>                log("LOG: Too many hops\n");
>                sl_send_reply("483","Too Many Hops");
>                return;
>        };
>
>         if (loose_route()) {
>                 t_relay();
>                 return;
>         };
>
>         if(uri==myself) {
>                 if(method=="REGISTER") {
>                         save("location");
>                         return;
>                 };
>         };
>
>         if(method=="INVITE") {
>                record_route();
>
>                if (uri=~"^sip:1[0-9]*{10}@192.168.1.10 
> <mailto:10%7D at 192.168.1.10>") {
>                         ds_select_dst("2", "0");
>                         forward(uri:host, uri:port);
>                         return;
>                };
>         };
> }
>
> I am trying to log all calls including failed, busy, congestion, 
> incomplete using acc. Strangely, in my acc table I only see records 
> affiliated with BYE and not with INVITE. Thru, all I see are 
> successful calls. Is there a way I can make acc log incomplete calls?
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the sr-users mailing list