[SR-Users] Reg. invalid cseq error. (Daniel-Constantin Mierla)

Daniel-Constantin Mierla miconda at gmail.com
Wed Apr 8 09:45:18 CEST 2015


Welcome! Good it was found and fixed.

Cheers,
Daniel

On 07/04/15 14:27, Badri Ranganathan wrote:
> Thanks a lot Daniel. It was indeed the Cseq coming out of order from my box. Your comment helped me in identifying the problem.
>
> Regards,
> Badri.
>
> -----Original Message-----
> From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of sr-users-request at lists.sip-router.org
> Sent: 03 April 2015 11:00
> To: sr-users at lists.sip-router.org
> Subject: sr-users Digest, Vol 119, Issue 3
>
> Send sr-users mailing list submissions to
>         sr-users at lists.sip-router.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> or, via email, send a message with subject or body 'help' to
>         sr-users-request at lists.sip-router.org
>
> You can reach the person managing the list at
>         sr-users-owner at lists.sip-router.org
>
> When replying, please edit your Subject line so it is more specific than "Re: Contents of sr-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Make deb (Daniel-Constantin Mierla)
>    2. Re: [sr-dev] Announcement: Kamailio is now        systemd-rtc-server
>       (Alex Balashov)
>    3. Re: Kamailio coredump when "INVITE" enter in failure      route
>       (Jos? Seabra)
>    4. Re: Kamailio coredump when "INVITE" enter in failure      route
>       (Daniel-Constantin Mierla)
>    5. Re: Upgrade from Sip Express Router 0.9.6 (Andres)
>    6. Dialog based CDRs and failed dialogs (Mickael Marrache)
>    7. Re: Upgrade from Sip Express Router 0.9.6
>       (Daniel-Constantin Mierla)
>    8. Re: Dialog based CDRs and failed dialogs
>       (Daniel-Constantin Mierla)
>    9. Re: Upgrade from Sip Express Router 0.9.6 (Andres)
>   10. Re: Dialog based CDRs and failed dialogs (Mickael Marrache)
>   11. Kamailio v4.2.4 Released (Daniel-Constantin Mierla)
>   12. Reg. invalid cseq error. (Badri Ranganathan)
>   13. Re: Reg. invalid cseq error. (Daniel-Constantin Mierla)
>   14. Re: Dialog based CDRs and failed dialogs
>       (Daniel-Constantin Mierla)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 02 Apr 2015 12:07:06 +0200
> From: Daniel-Constantin Mierla <miconda at gmail.com>
> To: jay binks <jaybinks at gmail.com>
> Cc: "Kamailio \(SER\) - Users Mailing List"
>         <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] Make deb
> Message-ID: <551D14CA.4030201 at gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Do you see db_cassandra being compiled in the logs printed by 'make deb'?
>
> Cheers,
> Daniel
>
> On 02/04/15 03:37, jay binks wrote:
>> I have managed to confirm that "make deb" does not actually build
>> db_cassandra but it does make a deb for it :)  ( has changelog etc but
>> no db_cassandra.so file )
>>
>> why does it not build the .so when calling make deb ??
>> can someone point me in the direction to debug that part.
>>
>> doesnt seem to be related to the debian rules or control file ..
>>
>> is there something like modules.lst for when using "make deb" ?
>>
>>
>> On 2 April 2015 at 00:24, Daniel-Constantin Mierla <miconda at gmail.com
>> <mailto:miconda at gmail.com>> wrote:
>>
>>     The spec files to build debian packages are kept inside
>>     'pkg/kamailio/deb/' directory, groupped per distribution name
>>     inside specific sub-directories (using debian and ubuntu version
>>     names -- the one 'debian' is the generic one, but for a specific
>>     version you should choose the one matching the name).
>>
>>     Then I am not that familiar with debian spec files to be able to
>>     advice by heart, however you should find easily on the web many
>>     sources of information about the files inside those folder and how
>>     to build deb packages.
>>
>>     Say you want to build for debian wheezy:
>>
>>     - edit the files inside pkg/kamailio/deb/wheezy/ to fit your needs
>>     - in the root directory with kamailio sources do:
>>
>>     ln -s pkg/kamailio/deb/wheezy debian
>>     make deb
>>
>>     And you should get the packaging process started.
>>
>>     Cheers,
>>     Daniel
>>
>>
>>     On 01/04/15 14:46, jay binks wrote:
>>>     Sorry, this confused me a little..
>>>     can you give an example of what you mean ?
>>>
>>>     On 1 April 2015 at 22:40, Daniel-Constantin Mierla
>>>     <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>>
>>>         Hello,
>>>
>>>         you have to edit spec files and remove the other modules in
>>>         the folder matching your debian distribution inside
>>>         'pkg/kamailio/deb/'. This is the only way I know to change
>>>         the packaging content for debs. Then make a symlink inside
>>>         root folder of kamailio server named 'debian' to the
>>>         respective folder inside 'pkg/kamailio/deb/' and run 'make deb'.
>>>
>>>         Cheers,
>>>         Daniel
>>>
>>>
>>>         On 01/04/15 13:50, jay binks wrote:
>>>>         is there any way to make deb packages for only 1 of the
>>>>         modules ??
>>>>         currently it takes a long time to run "make deb"
>>>>
>>>>         im simply trying to build and package db_cassandra ( need
>>>>         the package for my environment )
>>>>
>>>>         As a side note, is there any chance db_cassandra could be
>>>>         added to the kamailio deb packages ?
>>>>
>>>>         --
>>>>         Sincerely
>>>>
>>>>         Jay
>>>>
>>>>
>>>>         _______________________________________________
>>>>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>>         sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>>>
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>         --
>>>         Daniel-Constantin Mierla
>>>         http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>>>         Kamailio World Conference, May 27-29, 2015
>>>         Berlin, Germany - http://www.kamailioworld.com
>>>
>>>
>>>         _______________________________________________
>>>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>>>         mailing list
>>>         sr-users at lists.sip-router.org
>>>         <mailto:sr-users at lists.sip-router.org>
>>>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>>
>>>
>>>     --
>>>     Sincerely
>>>
>>>     Jay
>>     --
>>     Daniel-Constantin Mierla
>>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>>     Kamailio World Conference, May 27-29, 2015
>>     Berlin, Germany - http://www.kamailioworld.com
>>
>>
>>
>>
>> --
>> Sincerely
>>
>> Jay
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/e297fa0a/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 02 Apr 2015 06:43:45 -0400
> From: Alex Balashov <abalashov at evaristesys.com>
> To: sr-users at lists.sip-router.org, sr-dev at lists.sip-router.org
> Subject: Re: [SR-Users] [sr-dev] Announcement: Kamailio is now
>         systemd-rtc-server
> Message-ID: <551D1D61.7060400 at evaristesys.com>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> On 04/02/2015 04:07 AM, Daniel-Constantin Mierla wrote:
>
>> On 02/04/15 08:59, Olle E. Johansson wrote:
>>> In addition this also totally removes the need for tools like Icinga,
>>> Nagios and Monit. If something happens, your systemd kernel will
>>> simply call you.
>> Yep, don't forget to call in first and register as supervising agent
>> via dtmf (the code is the crc32 over your user password).
> I am pleased to hear of these best-of-breed developments. Leveraging SIMPLE, the synergistic Ameriglobal enterprise is e-enabled to deliver an enhanced portfolio of high-ROI, next-generation B2B & B2C services.
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
> 303 Perimeter Center North, Suite 300
> Atlanta, GA 30346
> United States
>
> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 2 Apr 2015 12:53:48 +0100
> From: Jos? Seabra <joseseabra4 at gmail.com>
> To: Daniel-Constantin Mierla <miconda at gmail.com>,  "Kamailio (SER) -
>         Users Mailing List" <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] Kamailio coredump when "INVITE" enter in
>         failure route
> Message-ID:
>         <CAEVZRWteJPa4PJ3D8Vzb0+4s8LJdPe-Wu_C5qebiwjc+onv36Q at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello Daniel,
> After apply your patch i can't reproduce the issue anymore
>
> Thank your for your support
>
> Cheers
> Jos? Seabra
>
> 2015-03-30 9:58 GMT+01:00 Jos? Seabra <joseseabra4 at gmail.com>:
>
>> Hello Daniel,
>> Thank you for your patch,
>>
>> I will apply this, then I will report back to you when I have all
>> tests completed
>>
>> Thank you
>>
>> Cheers
>> Jos? Seabra
>>
>> 2015-03-28 14:07 GMT+00:00 Daniel-Constantin Mierla <miconda at gmail.com>:
>>
>>>  Hello,
>>>
>>> can you try with the patch from next commit?
>>>
>>>   -
>>> https://github.com/kamailio/kamailio/commit/8a7c70a5b831542cde77e7945
>>> e97d51901b95310
>>>
>>> You can cherry pick it in 4.2 branch with:
>>>
>>> git cherry-pick -x 8a7c70a5b831542cde77e7945e97d51901b95310
>>>
>>> If you report that is working ok, I will backport it in the main
>>> repository.
>>>
>>> Cheers,
>>> Daniel
>>>
>>>
>>> On 27/03/15 16:53, Jos? Seabra wrote:
>>>
>>> Hi there,
>>>
>>>  I have  noticed that my kamailio proxy, version 4.2.2 is originating
>>> core dumps.
>>>
>>>  This happens when Kamailio receives an INVITE in failure route, then
>>> execute the function async_sleep(3), after that  changes request uri,
>>> then it stops with following error message shown below:
>>>
>>>   <core> [mem/f_malloc.c:586]: fm_free(): BUG: fm_free: bad pointer 0x7f8d26605ed8 (out of memory block!), called from <core>: parser/msg_parser.c:
>>>  set_path_vector(822) - aborting
>>>
>>>
>>>
>>>  Please see the attachment that contains the " gdb bt full" from
>>> core.dump originated
>>>
>>>  Thank you for your attention
>>> Best Regards
>>>
>>>  --
>>> Cumprimentos
>>> Jos? Seabra
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>>> listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/
>>> mailman/listinfo/sr-users
>>>
>>>
>>> --
>>> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda -
>>> http://www.linkedin.com/in/miconda
>>> Kamailio World Conference, May 27-29, 2015 Berlin, Germany -
>>> http://www.kamailioworld.com
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>>> list sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>> --
>> Cumprimentos
>> Jos? Seabra
>>
>
>
> --
> Cumprimentos
> Jos? Seabra
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/ae97b0d5/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 02 Apr 2015 14:03:06 +0200
> From: Daniel-Constantin Mierla <miconda at gmail.com>
> To: Jos? Seabra <joseseabra4 at gmail.com>, "Kamailio (SER) - Users
>         Mailing List" <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] Kamailio coredump when "INVITE" enter in
>         failure route
> Message-ID: <551D2FFA.5000209 at gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> thanks for testing and reporting back. The patch has been backported and will be part of the v4.2.4 to be released today.
>
> Cheers,
> Daniel
>
> On 02/04/15 13:53, Jos? Seabra wrote:
>> Hello Daniel,
>> After apply your patch i can't reproduce the issue anymore
>>
>> Thank your for your support
>>
>> Cheers
>> Jos? Seabra
>>
>> 2015-03-30 9:58 GMT+01:00 Jos? Seabra <joseseabra4 at gmail.com
>> <mailto:joseseabra4 at gmail.com>>:
>>
>>     Hello Daniel,
>>     Thank you for your patch,
>>
>>     I will apply this, then I will report back to you when I have all
>>     tests completed
>>
>>     Thank you
>>
>>     Cheers
>>     Jos? Seabra
>>
>>     2015-03-28 14:07 GMT+00:00 Daniel-Constantin Mierla
>>     <miconda at gmail.com <mailto:miconda at gmail.com>>:
>>
>>         Hello,
>>
>>         can you try with the patch from next commit?
>>
>>           -
>>
>> https://github.com/kamailio/kamailio/commit/8a7c70a5b831542cde77e7945e
>> 97d51901b95310
>>
>>         You can cherry pick it in 4.2 branch with:
>>
>>         git cherry-pick -x 8a7c70a5b831542cde77e7945e97d51901b95310
>>
>>         If you report that is working ok, I will backport it in the
>>         main repository.
>>
>>         Cheers,
>>         Daniel
>>
>>
>>         On 27/03/15 16:53, Jos? Seabra wrote:
>>>         Hi there,
>>>
>>>         I have  noticed that my kamailio proxy, version 4.2.2
>>>         is originating core dumps.
>>>
>>>         This happens when Kamailio receives an INVITE in failure
>>>         route, then execute the function async_sleep(3), after that
>>>          changes request uri, then it stops with following error
>>>         message shown below:
>>>
>>>          <core> [mem/f_malloc.c:586]: fm_free(): BUG: fm_free: bad pointer 0x7f8d26605ed8 (out of memory block!), called from <core>: parser/msg_parser.c:
>>>          set_path_vector(822) - aborting
>>>
>>>
>>>         Please see the attachment that contains the " gdb bt full"
>>>         from core.dump originated
>>>
>>>         Thank you for your attention
>>>         Best Regards
>>>
>>>         --
>>>         Cumprimentos
>>>         Jos? Seabra
>>>
>>>
>>>         _______________________________________________
>>>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>         sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>         --
>>         Daniel-Constantin Mierla
>>         http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>>         Kamailio World Conference, May 27-29, 2015
>>         Berlin, Germany - http://www.kamailioworld.com
>>
>>
>>         _______________________________________________
>>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>>         mailing list
>>         sr-users at lists.sip-router.org
>>         <mailto:sr-users at lists.sip-router.org>
>>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>>
>>     --
>>     Cumprimentos
>>     Jos? Seabra
>>
>>
>>
>>
>> --
>> Cumprimentos
>> Jos? Seabra
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/0b061f96/attachment-0001.html>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 02 Apr 2015 08:29:48 -0400
> From: Andres <andres at telesip.net>
> To: Alex Balashov <abalashov at evaristesys.com>, "Kamailio (SER) - Users
>         Mailing List" <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] Upgrade from Sip Express Router 0.9.6
> Message-ID: <551D363C.3070902 at telesip.net>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> On 4/1/15 11:10 PM, Alex Balashov wrote:
>> How complex is the SER configuration? SER couldn't do that much, by
>> the standards of the modern feature set, so there may not be much to
>> port. :-)
> It is very simple.  I am more concerned about the procedure to migrate the thousands of mysql entries from one version to another. If I have to write a script I will but before I do that I wanted to check in an see if somebody has already done it even if for an older version of Kamailio.
>
> Thanks.
>> On 1 April 2015 22:58:14 GMT-04:00, Andres <andres at telesip.net> wrote:
>>
>>     How would one even approach the daunting task of upgrading a fully
>>     operational Sip Express Router 0.9.6 installation with thousands of
>>     users that has been running unmodified for over 10 years.
>>
>>     I would like some pointers on how to approach the mysql database
>>     migration from the old schema to the Kamailio 4.2 schema.  I sure hope I
>>     don't have to start from scratch.  Maybe somebody has already done an
>>     upgrade script?
>>
>>     Regarding the config file, I will certainly have to rewrite it but I was
>>     wondering if there was a list of deprecated commands or syntaxes that
>>     would no longer be valid and their equivalent replacement.
>>
>>     Thanks,
>>
>>
>> --
>> Alex Balashov | Principal | Evariste Systems LLC
>> 303 Perimeter Center North, Suite 300
>> Atlanta, GA 30346
>> United States
>>
>> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
>> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>>
>> Sent from my Nexus 10.
>
> --
> Technical Support
> http://www.cellroute.net
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/88345989/attachment-0001.html>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 2 Apr 2015 15:36:11 +0300
> From: "Mickael Marrache" <mickaelmarrache at gmail.com>
> To: <sr-users at lists.sip-router.org>
> Subject: [SR-Users] Dialog based CDRs and failed dialogs
> Message-ID: <1b4e01d06d41$9aa08fa0$cfe1aee0$@gmail.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
>
>
> I'm using the ACC module to generate dialog based CDRs and I see that CDRs are generated even for failed calls.
>
>
>
> For example, a CDR is generated for cancelled calls.
>
>
>
> At first, I thought that dialog based CDRs are generated only for successfully established dialogs but it doesn't seem to be the case.
>
>
>
> Thanks,
>
> Mickael
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/f3b0f46e/attachment-0001.html>
>
> ------------------------------
>
> Message: 7
> Date: Thu, 02 Apr 2015 14:44:51 +0200
> From: Daniel-Constantin Mierla <miconda at gmail.com>
> To: andres at telesip.net,  "Kamailio (SER) - Users Mailing List"
>         <sr-users at lists.sip-router.org>, Alex Balashov
>         <abalashov at evaristesys.com>
> Subject: Re: [SR-Users] Upgrade from Sip Express Router 0.9.6
> Message-ID: <551D39C3.1040902 at gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
>
>
> On 02/04/15 14:29, Andres wrote:
>> On 4/1/15 11:10 PM, Alex Balashov wrote:
>>> How complex is the SER configuration? SER couldn't do that much, by
>>> the standards of the modern feature set, so there may not be much to
>>> port. :-)
>> It is very simple.  I am more concerned about the procedure to migrate
>> the thousands of mysql entries from one version to another.  If I have
>> to write a script I will but before I do that I wanted to check in an
>> see if somebody has already done it even if for an older version of
>> Kamailio.
> The database structure from ser 0.9.x is closer to current kamailio database in many aspects than to ser 2.0. I don't know what tables are you using, but subscriber, usr_preferences or grp should be pretty compliant. Maybe you ca list here what modules are you using.
>
> The location needs to changed, but that is something which fills itself.
> You can first lower the max expires for registrar/usrloc modules so you force phones to register more often. Then restart with kamailio, and phones will register quickly after, populating location table.
>
> Also, you need to set appropriate version values in 'version' table.
>
> Cheers,
> Daniel
>> Thanks.
>>> On 1 April 2015 22:58:14 GMT-04:00, Andres <andres at telesip.net> wrote:
>>>
>>>     How would one even approach the daunting task of upgrading a fully
>>>     operational Sip Express Router 0.9.6 installation with thousands of
>>>     users that has been running unmodified for over 10 years.
>>>
>>>     I would like some pointers on how to approach the mysql database
>>>     migration from the old schema to the Kamailio 4.2 schema.  I sure hope I
>>>     don't have to start from scratch.  Maybe somebody has already done an
>>>     upgrade script?
>>>
>>>     Regarding the config file, I will certainly have to rewrite it but I was
>>>     wondering if there was a list of deprecated commands or syntaxes that
>>>     would no longer be valid and their equivalent replacement.
>>>
>>>     Thanks,
>>>
>>>
>>> --
>>> Alex Balashov | Principal | Evariste Systems LLC
>>> 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States
>>>
>>> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
>>> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>>>
>>> Sent from my Nexus 10.
>>
>> --
>> Technical Support
>> http://www.cellroute.net
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>> list sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/1ca853aa/attachment-0001.html>
>
> ------------------------------
>
> Message: 8
> Date: Thu, 02 Apr 2015 14:59:08 +0200
> From: Daniel-Constantin Mierla <miconda at gmail.com>
> To: "Kamailio (SER) - Users Mailing List"
>         <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] Dialog based CDRs and failed dialogs
> Message-ID: <551D3D1C.9060202 at gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Hello,
>
> On 02/04/15 14:36, Mickael Marrache wrote:
>> Hi,
>>
>>
>>
>> I'm using the ACC module to generate dialog based CDRs and I see that
>> CDRs are generated even for failed calls.
>>
>>
>>
>> For example, a CDR is generated for cancelled calls.
>>
>>
>>
>> At first, I thought that dialog based CDRs are generated only for
>> successfully established dialogs but it doesn't seem to be the case.
>>
> at least, is the duration 0?
>
> I didn't have time to look in the source yet, but I guess it won't be hard to add an option to skip storing those records.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/e288b2b3/attachment-0001.html>
>
> ------------------------------
>
> Message: 9
> Date: Thu, 02 Apr 2015 09:00:16 -0400
> From: Andres <andres at telesip.net>
> To: miconda at gmail.com, "Kamailio (SER) - Users Mailing List"
>         <sr-users at lists.sip-router.org>, Alex Balashov
>         <abalashov at evaristesys.com>
> Subject: Re: [SR-Users] Upgrade from Sip Express Router 0.9.6
> Message-ID: <551D3D60.2060101 at telesip.net>
> Content-Type: text/plain; charset="windows-1252"; Format="flowed"
>
> On 4/2/15 8:44 AM, Daniel-Constantin Mierla wrote:
>>
>> On 02/04/15 14:29, Andres wrote:
>>> On 4/1/15 11:10 PM, Alex Balashov wrote:
>>>> How complex is the SER configuration? SER couldn't do that much, by
>>>> the standards of the modern feature set, so there may not be much to
>>>> port. :-)
>>> It is very simple.  I am more concerned about the procedure to
>>> migrate the thousands of mysql entries from one version to another.
>>> If I have to write a script I will but before I do that I wanted to
>>> check in an see if somebody has already done it even if for an older
>>> version of Kamailio.
>> The database structure from ser 0.9.x is closer to current kamailio
>> database in many aspects than to ser 2.0. I don't know what tables are
>> you using, but subscriber, usr_preferences or grp should be pretty
>> compliant. Maybe you ca list here what modules are you using.
> That is great to know.  I remember when SER 2.0 came out I was totally put off by the massive changes.  I am happy to hear the Kamailio schema is not that different from 0.9.6.  I have not taken a look at it yet but will do so shortly.
>
> The modules we are running are:
>
> loadmodule "/usr/local/lib/ser/modules/mysql.so"
> loadmodule "/usr/local/lib/ser/modules/nathelper.so"
> loadmodule "/usr/local/lib/ser/modules/sl.so"
> loadmodule "/usr/local/lib/ser/modules/tm.so"
> loadmodule "/usr/local/lib/ser/modules/rr.so"
> loadmodule "/usr/local/lib/ser/modules/acc.so"
> loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
> loadmodule "/usr/local/lib/ser/modules/usrloc.so"
> loadmodule "/usr/local/lib/ser/modules/registrar.so"
> loadmodule "/usr/local/lib/ser/modules/textops.so"
> loadmodule "/usr/local/lib/ser/modules/group.so"
> loadmodule "/usr/local/lib/ser/modules/exec.so"
> loadmodule "/usr/local/lib/ser/modules/uri_db.so"
> loadmodule "/usr/local/lib/ser/modules/xlog.so"
> loadmodule "/usr/local/lib/ser/modules/domain.so"
> loadmodule "/usr/local/lib/ser/modules/lcr.so"
> loadmodule "/usr/local/lib/ser/modules/avp.so"
> loadmodule "/usr/local/lib/ser/modules/permissions.so"
> loadmodule "/usr/local/lib/ser/modules/auth.so"
> loadmodule "/usr/local/lib/ser/modules/auth_db.so"
>
> I must add that to this day I continue to be totally impressed with the SIP Express Router.  Our servers have processed hundreds of millions of calls since 2003 and SER has practically never missed a beat.
>
> Thanks.
>> The location needs to changed, but that is something which fills
>> itself. You can first lower the max expires for registrar/usrloc
>> modules so you force phones to register more often. Then restart with
>> kamailio, and phones will register quickly after, populating location
>> table.
>>
>> Also, you need to set appropriate version values in 'version' table.
>>
>> Cheers,
>> Daniel
>>> Thanks.
>>>> On 1 April 2015 22:58:14 GMT-04:00, Andres <andres at telesip.net> wrote:
>>>>
>>>>     How would one even approach the daunting task of upgrading a fully
>>>>     operational Sip Express Router 0.9.6 installation with thousands of
>>>>     users that has been running unmodified for over 10 years.
>>>>
>>>>     I would like some pointers on how to approach the mysql database
>>>>     migration from the old schema to the Kamailio 4.2 schema.  I sure hope I
>>>>     don't have to start from scratch.  Maybe somebody has already done an
>>>>     upgrade script?
>>>>
>>>>     Regarding the config file, I will certainly have to rewrite it but I was
>>>>     wondering if there was a list of deprecated commands or syntaxes that
>>>>     would no longer be valid and their equivalent replacement.
>>>>
>>>>     Thanks,
>>>>
>>>>
>>>> --
>>>> Alex Balashov | Principal | Evariste Systems LLC
>>>> 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United
>>>> States
>>>>
>>>> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
>>>> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>>>>
>>>> Sent from my Nexus 10.
>>>
>>> --
>>> Technical Support
>>> http://www.cellroute.net
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>>> list sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> --
>> Daniel-Constantin Mierla
>> http://twitter.com/#!/miconda  -http://www.linkedin.com/in/miconda
>> Kamailio World Conference, May 27-29, 2015 Berlin, Germany
>> -http://www.kamailioworld.com
>
> --
> Technical Support
> http://www.cellroute.net
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/03cfcf0e/attachment-0001.html>
>
> ------------------------------
>
> Message: 10
> Date: Thu, 2 Apr 2015 16:02:32 +0300
> From: "Mickael Marrache" <mickaelmarrache at gmail.com>
> To: <miconda at gmail.com>, "'Kamailio \(SER\) - Users Mailing List'"
>         <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] Dialog based CDRs and failed dialogs
> Message-ID: <1b8b01d06d45$48f60c80$dae22580$@gmail.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Yes, the duration is set to 0.
>
>
>
> From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla
> Sent: Thursday, April 02, 2015 3:59 PM
> To: Kamailio (SER) - Users Mailing List
> Subject: Re: [SR-Users] Dialog based CDRs and failed dialogs
>
>
>
> Hello,
>
> On 02/04/15 14:36, Mickael Marrache wrote:
>
> Hi,
>
>
>
> I'm using the ACC module to generate dialog based CDRs and I see that CDRs are generated even for failed calls.
>
>
>
> For example, a CDR is generated for cancelled calls.
>
>
>
> At first, I thought that dialog based CDRs are generated only for successfully established dialogs but it doesn't seem to be the case.
>
>
> at least, is the duration 0?
>
> I didn't have time to look in the source yet, but I guess it won't be hard to add an option to skip storing those records.
>
> Cheers,
> Daniel
>
>
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150402/9409e2ed/attachment-0001.html>
>
> ------------------------------
>
> Message: 11
> Date: Thu, 02 Apr 2015 15:04:18 +0200
> From: Daniel-Constantin Mierla <miconda at gmail.com>
> To: "Kamailio (SER) - Users Mailing List"
>         <sr-users at lists.sip-router.org>,  sr-dev
>         <sr-dev at lists.sip-router.org>, business at lists.kamailio.org
> Subject: [SR-Users] Kamailio v4.2.4 Released
> Message-ID: <551D3E52.1000605 at gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Hello,
>
> Kamailio SIP Server v4.2.4 stable release is out.
>
> This is a maintenance release of the latest stable branch, 4.2, that includes fixes since release of v4.2.3. There is no change to database schema or configuration language structure that you have to do on installations of v4.2.x. Deployments running previous v4.x.x versions are strongly recommended to be upgraded to v4.2.4.
>
> For more details about version 4.2.4 (including links and guidelines to download the tarball or from GIT repository), visit:
>
>   * http://www.kamailio.org/w/2015/04/kamailio-v4-2-4-released/
>
> RPM, Debian/Ubuntu packages will be available soon as well.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
>
>
>
> ------------------------------
>
> Message: 12
> Date: Thu, 2 Apr 2015 16:00:23 +0100
> From: Badri Ranganathan <badri at arcatech.com>
> To: "sr-users at lists.sip-router.org" <sr-users at lists.sip-router.org>
> Subject: [SR-Users] Reg. invalid cseq error.
> Message-ID:
>         <59A209A9ED7A3D468145168E4293B42103C8F9DD667B at ARCATECHSERVER.arcatechl.local>
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi all,
>
> I make calls towards the Kamailio from my call generator and I get a message saying  "invalid cseq error" sometimes at the 1005th registration or sometimes at the 1013thregistration, but the cseq number seems to be fine. Any idea about why this would happen?
>
> Thanks,
> Badri.
>
>
>
> ------------------------------
>
> Message: 13
> Date: Fri, 03 Apr 2015 11:53:27 +0200
> From: Daniel-Constantin Mierla <miconda at gmail.com>
> To: "Kamailio (SER) - Users Mailing List"
>         <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] Reg. invalid cseq error.
> Message-ID: <551E6317.3060702 at gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Hello,
>
> does it happen to have a sample trace of the register and the reply?
>
> The reason can be that the register request has a lower cseq that
> another register processed before.
>
> Cheers,
> Daniel
>
> On 02/04/15 17:00, Badri Ranganathan wrote:
>> Hi all,
>>
>> I make calls towards the Kamailio from my call generator and I get a message saying  "invalid cseq error" sometimes at the 1005th registration or sometimes at the 1013thregistration, but the cseq number seems to be fine. Any idea about why this would happen?
>>
>> Thanks,
>> Badri.
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015
> Berlin, Germany - http://www.kamailioworld.com
>
>
>
>
> ------------------------------
>
> Message: 14
> Date: Fri, 03 Apr 2015 11:54:19 +0200
> From: Daniel-Constantin Mierla <miconda at gmail.com>
> To: Mickael Marrache <mickaelmarrache at gmail.com>,  "'Kamailio (SER) -
>         Users Mailing List'" <sr-users at lists.sip-router.org>
> Subject: Re: [SR-Users] Dialog based CDRs and failed dialogs
> Message-ID: <551E634B.3090809 at gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> OK, I will look a the code and try to add an option to skip storing cdrs
> for failed dialogs with the first chance.
>
> Cheers,
> Daniel
>
> On 02/04/15 15:02, Mickael Marrache wrote:
>> Yes, the duration is set to 0.
>>
>>
>>
>> *From:*sr-users [mailto:sr-users-bounces at lists.sip-router.org] *On
>> Behalf Of *Daniel-Constantin Mierla
>> *Sent:* Thursday, April 02, 2015 3:59 PM
>> *To:* Kamailio (SER) - Users Mailing List
>> *Subject:* Re: [SR-Users] Dialog based CDRs and failed dialogs
>>
>>
>>
>> Hello,
>>
>> On 02/04/15 14:36, Mickael Marrache wrote:
>>
>>     Hi,
>>
>>
>>
>>     I'm using the ACC module to generate dialog based CDRs and I see
>>     that CDRs are generated even for failed calls.
>>
>>
>>
>>     For example, a CDR is generated for cancelled calls.
>>
>>
>>
>>     At first, I thought that dialog based CDRs are generated only for
>>     successfully established dialogs but it doesn't seem to be the case.
>>
>>
>> at least, is the duration 0?
>>
>> I didn't have time to look in the source yet, but I guess it won't be
>> hard to add an option to skip storing those records.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>> Kamailio World Conference, May 27-29, 2015
>> Berlin, Germany - http://www.kamailioworld.com
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015
> Berlin, Germany - http://www.kamailioworld.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150403/b4a9ec8a/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> ------------------------------
>
> End of sr-users Digest, Vol 119, Issue 3
> ****************************************
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-users mailing list