[Users] How openser identify BYE within a DIALOG

Klaus Darilion klaus.mailinglists at pernau.at
Mon Jul 24 14:06:27 CEST 2006


openser does no dialog matching for accounting. Thus you can create any 
BYE and it should be accounted (although there was no INVITE)

Make sure you set the accounting flag for the BYE message before 
loose_route().

regards
klaus

tele wrote:
> Hi all,
> 
> I want to know how OpenSER is able to identify the BYE that match a
> dialog. what are the essential header needed for the BYE message?
> 
> I try to understand how work the acc module and what are the header
> needed in the BYE for generate accounting.
> 
> My goal as i have wrote is to send a fake BYE to OpenSER and do
> accounting.
> 
> In my test OpenSER correctly parse fake BYE and try to send the BYE to
> the UA, but don't send accounting info maybe i missing something
> essential for send acct.
> 
> My fake BYE have: Via, Record-Route with ftag, To to-tag, From from-tag,
> Call-ID. i miss only the correct CSeq but i insert a custom CSeq like
> 9999.
> 
> Any hints pls?
> 
> :tele
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users





More information about the sr-users mailing list