[Kamailio-Users] ACC with mysql

Uriel Rozenbaum uriel.rozenbaum at gmail.com
Fri Feb 27 15:52:36 CET 2009


Here are the sources I used.

[root at ops3 soft]# ls
confuse-2.6  confuse-2.6.tar.gz  kamailio-1.4.3-notls
kamailio-1.4.3-notls_src.tar.gz

On Fri, Feb 27, 2009 at 9:58 AM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

> According to the config, you do not even set the accounting flag for ACK,
> or I missed something there?
>
> Can you compile with memory debug turned on and test? Watch the syslog for
> critical errors. It can turn to be a buffer overflow somewhere.
>
> Once again, what is the version are you using?
>
> Cheers,
> Daniel
>
>
> On 02/27/2009 01:45 PM, Uriel Rozenbaum wrote:
>
>> Here it is
>>
>> On Fri, Feb 27, 2009 at 9:31 AM, Daniel-Constantin Mierla <
>> miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>
>>
>>
>>    On 02/27/2009 12:57 PM, Uriel Rozenbaum wrote:
>>
>>        I´ve checked the captures again and all ACK messages have the
>>        RPID, for 487 or 200 messages.
>>
>>    ok, but is the ack you sent causing the trouble? It does not look
>>    as an ack for 200ok, because it does not have a Route header.
>>    Non-200ok ACK do not get accounted.
>>
>>
>>        I'm just using a plain build of kamailio downloaded from the
>>        site including carrerroute module.
>>
>>        Would it be useful if I sent the .cfg?
>>
>>
>>    Could help, yes.
>>
>>    Daniel
>>
>>
>>        On Fri, Feb 27, 2009 at 8:34 AM, Daniel-Constantin Mierla
>>        <miconda at gmail.com <mailto:miconda at gmail.com>
>>        <mailto:miconda at gmail.com <mailto:miconda at gmail.com>>> wrote:
>>
>>           I tried to reproduce, but no success. The crash is
>>        indicated when
>>           processing the lumps, a very old piece of code, so I guess
>>        there
>>           is somewhere a buffer overlow.
>>
>>           Are you having some private modules that are you using the
>>        config
>>           file?
>>
>>           Thanks,
>>           Daniel
>>
>>
>>
>>           On 02/27/2009 11:39 AM, Daniel-Constantin Mierla wrote:
>>
>>               Hello,
>>
>>               is this of an ACK due to 200ok? Are you doing
>>        record-routing?
>>               Because Route header is missing.
>>
>>               If you don't do record-routing, then the ACK should be
>>               end-to-end between caller and callee and you cannot
>>        account.
>>
>>               Anyway, the reported issue should be fixed.
>>
>>               Cheers,
>>               Daniel
>>
>>
>>               On 02/24/2009 10:05 PM, Uriel Rozenbaum wrote:
>>
>>                   Daniel, I've been trying a litte longer with the server
>>                   and I captured one ACK that definetely has RPID:
>>
>>                   /ACK sip:1054111556446967 at cc1int.x.com.ar<sip%3A1054111556446967 at cc1int.x.com.ar>
>>        <mailto:sip%3A1054111556446967 at cc1int.x.com.ar<sip%253A1054111556446967 at cc1int.x.com.ar>
>> >
>>                   <mailto:sip%3A1054111556446967 at cc1int.x.com.ar<sip%253A1054111556446967 at cc1int.x.com.ar>
>>        <mailto:sip%253A1054111556446967 at cc1int.x.com.ar<sip%25253A1054111556446967 at cc1int.x.com.ar>
>> >>
>>                   <mailto:sip%3A1054111556446967 at cc1int.x.com.ar<sip%253A1054111556446967 at cc1int.x.com.ar>
>>        <mailto:sip%253A1054111556446967 at cc1int.x.com.ar<sip%25253A1054111556446967 at cc1int.x.com.ar>
>> >
>>                   <mailto:sip%253A1054111556446967 at cc1int.x.com.ar<sip%25253A1054111556446967 at cc1int.x.com.ar>
>>        <mailto:sip%25253A1054111556446967 at cc1int.x.com.ar<sip%2525253A1054111556446967 at cc1int.x.com.ar>>>>
>> SIP/2.0
>>
>>                   Via: SIP/2.0/UDP
>>                   192.168.200.11:5060;branch=z9hG4bK31a69f48;rport
>>                   From: "541160911100"
>>        <sip:541160911100 at 192.168.200.11<sip%3A541160911100 at 192.168.200.11>
>>        <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>> >
>>                   <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>>        <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>> >>
>>                   <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>>        <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>> >
>>                   <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>>        <mailto:sip%25253A541160911100 at 192.168.200.11<sip%2525253A541160911100 at 192.168.200.11>
>> >>>>;tag=as799b3334
>>
>>                   To: <sip:1054111556446967 at cc1int.cpsnet.com.ar<sip%3A1054111556446967 at cc1int.cpsnet.com.ar>
>>        <mailto:sip%3A1054111556446967 at cc1int.cpsnet.com.ar<sip%253A1054111556446967 at cc1int.cpsnet.com.ar>
>> >
>>                   <mailto:sip%3A1054111556446967 at cc1int.cpsnet.com.ar<sip%253A1054111556446967 at cc1int.cpsnet.com.ar>
>>        <mailto:sip%253A1054111556446967 at cc1int.cpsnet.com.ar<sip%25253A1054111556446967 at cc1int.cpsnet.com.ar>
>> >>
>>                   <mailto:sip%3A1054111556446967 at cc1int.cpsnet.com.ar<sip%253A1054111556446967 at cc1int.cpsnet.com.ar>
>>        <mailto:sip%253A1054111556446967 at cc1int.cpsnet.com.ar<sip%25253A1054111556446967 at cc1int.cpsnet.com.ar>
>> >
>>                         <mailto:
>> sip%253A1054111556446967 at cc1int.cpsnet.com.ar<sip%25253A1054111556446967 at cc1int.cpsnet.com.ar>
>>        <mailto:sip%25253A1054111556446967 at cc1int.cpsnet.com.ar<sip%2525253A1054111556446967 at cc1int.cpsnet.com.ar>
>> >>>>;tag=f8f2ab2c1295e90ed7dbb499b30f44b2.90f4
>>
>>
>>
>>                   Contact: <sip:541160911100 at 192.168.200.11<sip%3A541160911100 at 192.168.200.11>
>>        <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>> >
>>                   <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>>        <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>> >>
>>                   <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>>        <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>> >
>>                   <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>>        <mailto:sip%25253A541160911100 at 192.168.200.11<sip%2525253A541160911100 at 192.168.200.11>
>> >>>>
>>
>>                   Call-ID:
>>        5d7adcce1399bafd45c194b049479a1b at 192.168.200.11
>>        <mailto:5d7adcce1399bafd45c194b049479a1b at 192.168.200.11>
>>                         <mailto:
>> 5d7adcce1399bafd45c194b049479a1b at 192.168.200.11
>>        <mailto:5d7adcce1399bafd45c194b049479a1b at 192.168.200.11>>
>>                         <mailto:
>> 5d7adcce1399bafd45c194b049479a1b at 192.168.200.11
>>        <mailto:5d7adcce1399bafd45c194b049479a1b at 192.168.200.11>
>>                         <mailto:
>> 5d7adcce1399bafd45c194b049479a1b at 192.168.200.11
>>        <mailto:5d7adcce1399bafd45c194b049479a1b at 192.168.200.11>>>
>>                   CSeq: 102 ACK
>>                   User-Agent: Metrotel
>>                   Max-Forwards: 70
>>                   Remote-Party-ID: "541160911100"
>>                   <sip:541160911100 at 192.168.200.11<sip%3A541160911100 at 192.168.200.11>
>>        <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>> >
>>                   <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>>        <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>> >>
>>                   <mailto:sip%3A541160911100 at 192.168.200.11<sip%253A541160911100 at 192.168.200.11>
>>        <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>> >
>>                   <mailto:sip%253A541160911100 at 192.168.200.11<sip%25253A541160911100 at 192.168.200.11>
>>        <mailto:sip%25253A541160911100 at 192.168.200.11<sip%2525253A541160911100 at 192.168.200.11>
>> >>>>;privacy=off;screen=no
>>
>>
>>                   Content-Length: 0/
>>
>>                   Hope it helps,
>>                   Uriel
>>
>>
>>    --    Daniel-Constantin Mierla
>>    http://www.asipto.com
>>
>>
>>
> --
> Daniel-Constantin Mierla
> http://www.asipto.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20090227/1c50e0d1/attachment-0001.htm 


More information about the Users mailing list