Details

    • Type: New Feature New Feature
    • Status: Closed
    • Severity: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Target Release Version/s: None
    • Labels:
      None
    • Mantis ID:
      4832
    • Regression:
      No

      Description

      This patch is the finishing touch on the cluster work I was doing recently.

      When realtime is in use, the fullcontact will be placed/taken from the realtime abstraction layer rather than astdb which limits the registration to 1 box.

      With this patch applied and the activation of thes options in [general]
      rtCacheFriends=yes
      rtAutoClear=yes
      rtIgnoreRegExpire=yes

      10 boxes may share 1 realtime db and once you register on any 1 box
      inbound and outbound calls to the peer may be placed on the other 9 with no
      further registration.

      NOTE make sure you add the fullcontact column to your realtime sip table if you are using a database.
      NOTE this already works on IAX and this patch is all that stands in the way of them behaving identically with the aforementioned options.

                • ADDITIONAL INFORMATION ******

      Disclaimer on file.
      anthmct@yahoo.com

      1. sip_cluster_rev3.diff
        9 kB
      2. sip_cluster_rev4.diff
        5 kB
      3. sip_cluster_rev5_plus_bug_3923_rev1.diff
        28 kB
      4. sip_cluster_rev5_plus_bug_3923.diff
        28 kB
      5. sip_cluster_rev6.diff.txt
        11 kB
      6. sip_cluster_rev7.diff.txt
        11 kB
      7. utils_rev2.diff
        1 kB
      8. utils_rev3.diff
        2 kB
      9. utils.diff
        2 kB

        Activity

        Hide
        Lorenz Barth added a comment -

        Hi,

        I've just updated two of our test server to see how the new code in HEAD works. And I have a few Problems with it.

        I have a sip client registred on one Server. The fullcontact is in the DB. If I now do a "sip show peer <mytestpeer> load" on the second server, the peer is loaded but without the fullcontact ( Addr->IP , Defaddr->IP). Also I recive a few segfaults But I think these are not related to this problem. I'll open a an other Bug fore those.

        Show
        Lorenz Barth added a comment - Hi, I've just updated two of our test server to see how the new code in HEAD works. And I have a few Problems with it. I have a sip client registred on one Server. The fullcontact is in the DB. If I now do a "sip show peer <mytestpeer> load" on the second server, the peer is loaded but without the fullcontact ( Addr->IP , Defaddr->IP). Also I recive a few segfaults But I think these are not related to this problem. I'll open a an other Bug fore those.
        Hide
        Mark Spencer added a comment -

        Please find me on IRC so I can diagnose this. Thanks!

        Show
        Mark Spencer added a comment - Please find me on IRC so I can diagnose this. Thanks!
        Hide
        Mark Spencer added a comment -

        If you are still having trouble with this after updating to latest CVS head, let me know in the next day or two, otherwise we'll close this back out.

        Show
        Mark Spencer added a comment - If you are still having trouble with this after updating to latest CVS head, let me know in the next day or two, otherwise we'll close this back out.
        Hide
        Kevin P. Fleming (Inactive) added a comment -

        Closed due to lack of response. If there is still an issue, please open a new bug with the requested details so it can be addressed.

        Show
        Kevin P. Fleming (Inactive) added a comment - Closed due to lack of response. If there is still an issue, please open a new bug with the requested details so it can be addressed.
        Hide
        Digium Subversion added a comment -

        Repository: asterisk
        Revision: 6870

        U trunk/channels/chan_sip.c
        U trunk/configs/sip.conf.sample

        ------------------------------------------------------------------------
        r6870 | markster | 2008-01-15 15:52:26 -0600 (Tue, 15 Jan 2008) | 2 lines

        Merge highly modified fullcontact in realtime sip patch (bug ASTERISK-4710, heavy mods)

        ------------------------------------------------------------------------

        http://svn.digium.com/view/asterisk?view=rev&revision=6870

        Show
        Digium Subversion added a comment - Repository: asterisk Revision: 6870 U trunk/channels/chan_sip.c U trunk/configs/sip.conf.sample ------------------------------------------------------------------------ r6870 | markster | 2008-01-15 15:52:26 -0600 (Tue, 15 Jan 2008) | 2 lines Merge highly modified fullcontact in realtime sip patch (bug ASTERISK-4710 , heavy mods) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6870

          People

          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development