[OpenSIPS-Users] ACC Clairification

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Feb 25 15:17:45 CET 2009


Hi Brett,

Brett Nemeroff wrote:
>>> So I look for things like the $rd after calling cr_route. But if I do
>>> this, sometimes on re-invites, the IPs are reversed. Also, sometimes
>>> I've had carrier switches ACK with a different IP (That I don't
>>> recognize, but is valid).
>>>
>>>       
>> But the carrier is select when routing the initial request (the INVITE) -
>> why do you need this information in the ACK or re-INVITE acc records?
>>     
>
> Since I'm logging failures as well as success, I see a few invites..
> So I can't take the first one.. it failed.. Would it be 'syntactically
> correct' if I take the first invite that returned 200?
>   
yes, you have a reply code in the acc record.
> I haven't tried logging with the missed flag.. I'm not sure how it get
> written any differently when you use it.. I'll try it out..
>   

it is not differently written - it simply produce a new acc record (in 
missed_calls table) when a branch of the transaction fails.

Regards,
Bogdan



More information about the Users mailing list