[Users] How openser identify BYE within a DIALOG

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Jul 25 12:33:05 CEST 2006


Hello,

On 07/24/06 15:41, tele wrote:
> i use maxium debug level 9 ;).
> i think to add more debug messages to the acc module for see what
> happens in detail to understand why don't send acct message.
>   

is the BYE replied with 200 OK? If not, by default openser does not 
account failed transactions. See the acc module's documentation for how 
to enable it.

An alternative is to use acc_db_request() in your script.

Cheers,
Daniel

> On Mon, 2006-07-24 at 14:24 +0200, Klaus Darilion wrote:
>   
>> Increase the debug level - maybe you see some error messages.
>>
>> regards
>> klaus
>>
>> 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
>>>       
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list