[OpenSIPS-Users] Changes in ACC Modules for 1.5?

Brett Nemeroff brett at nemeroff.com
Tue Mar 31 15:17:18 CEST 2009


Bogdan,
RURI modified by carrierroute, then t_relay(). Far end replies with 503.
Call carrierroute again, which errors since the only other route has a
prob=0. Without the failed_transaction_flag actually armed before the
failure_route, I get no database activitiy at all..

Nothing else is using that flag. I have it set at the top of my
failure_routes and my main acc flag set at the very top of the main routing
block.



On Tue, Mar 31, 2009 at 7:36 AM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:

> Hi Brett,
>
> the transactions you miss in the acc are replied in failure_route with
> t_reply() or you are passing the received reply ?
>
> also, are you sharing the "failed_transaction_flag" with other flags ?
>
> Regards,
> Bogdan
>
> Brett Nemeroff wrote:
>
>> Hello All,
>> I'm going to reply to my own message. I'm not sure if the upgrade actually
>> had anything to do with this, but I suspect it did..
>>
>> I log everything, failed, missed, acked, etc into one acc table. I was
>> setting the acc flag right at the very very top of my script to just catch
>> everything.
>>
>> Well this worked great in 1.4, but in 1.5, it seems that failed
>> transactions were getting skipped...
>>
>> I always had the failed_transaction_flag defined, but I only set that flag
>> in my failure route. For some reason, I wasn't getting failed transactions
>> ever.
>>
>> It's also notable that I used the carrierroute function, with only one
>> valid route, the secondard route (domain) had a probability of 0 (ie:
>> disabled). That may have contributed to this?
>>
>> Anyway, I set the failed transaction flag at the top of the script as
>> well, and it's working how I had expected. Not sure if something else broke
>> when I did that, but my typical call flows seem to be logged properly now.
>>
>> -Brett
>>
>>
>> On Mon, Mar 30, 2009 at 11:58 AM, Brett Nemeroff <brett at nemeroff.com<mailto:
>> brett at nemeroff.com>> wrote:
>>
>>    Hey All,
>>    So I've recently upgraded my 1.4 install to 1.5 and I've noticed,
>>    I don't get INVITEs that are replied with a 503 stored in ACC
>>    anymore, the whole transaction is missing.
>>
>>    I used to get those. I haven't changed any of my acc params. :/
>>
>>    Am I missing something?
>>    Thanks,
>>    Brett
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090331/62e6d1cc/attachment-0001.htm 


More information about the Users mailing list