[Users] How openser identify BYE within a DIALOG

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

Increase the debug level - maybe you see some error messages.


tele wrote:
> Yes true is not dialog statefull.
> Yes i do the setflag() before loose_route()
> for all other call the accounting is done correct.
> but for the fake BYE no accounting is sent but the message is processed
> correctly, no error message in the syslog.. i need to do more debugging
> for understand what's happen.
> thank you anyway klaus
> On Mon, 2006-07-24 at 14:06 +0200, Klaus Darilion wrote:
>> 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
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users

More information about the sr-users mailing list