[Users] How openser identify BYE within a DIALOG
tele
tele at plexia.com
Tue Jul 25 14:05:13 CEST 2006
Hi,
Yes the BYE are not replied with a 200 OK cause the UA are unreacheable
if i disconnect the ethernet cable ;) so after some BYE retransimission
the request timeout automaticaly.
you mean this:
modparam("acc", "failed_transaction_flag", 4)
then add the setflag(4) in the script before loose_route()
ok! maybe is what i need for accomplish my goal.
thank you.
:tele
On Tue, 2006-07-25 at 13:33 +0300, Daniel-Constantin Mierla wrote:
> 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