[OpenSIPS-Users] Decrease the priority of contact

Gomtesh Jain gomtesh at gmail.com
Wed Jan 30 11:12:24 CET 2013


Thanx Duane  for replying  the mail ..

Let me explain you my scenario ...

  I have 2  registered contact
     1 . 1234 (q value .9)
     2    5678 (q value .8)

On IIVITE after lookup() 1234 will be on top of list . So after lookup I
just want to update contact 1234 with q value .7 in memory/data base .
So that for next call 5678 should come on top of the list for 2nd INVITE .

So I want make changes in memory/database so that 5678 should be picked up
as first contact by very next INVITE .

Thanx,
Gomtesh







On Wed, Jan 30, 2013 at 1:50 AM, <users-request at lists.opensips.org> wrote:

> Send Users mailing list submissions to
>         users at lists.opensips.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>         users-request at lists.opensips.org
>
> You can reach the person managing the list at
>         users-owner at lists.opensips.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>    1. Re: Failover and dialog termination (microx)
>    2. Re: Decrease the priority of contact (Duane Larson)
>    3. Re: Carrierroute failure route enhancement (Samuel Muller)
>    4. [RELEASE] OpenSIPS 1.9.0 - a new major release is out
>       (Bogdan-Andrei Iancu)
>    5. [RELEASES] Support and management of OpenSIPS     release -
>       IMPORTANT (Bogdan-Andrei Iancu)
>    6. Re: [RELEASE] OpenSIPS 1.9.0 - a new major release is out (Bakko)
>    7. Re: [OpenSIPS-Devel] [RELEASE] OpenSIPS 1.9.0 - a new major
>       release is out (Sa?l Ibarra Corretg?)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 29 Jan 2013 06:12:46 -0800 (PST)
> From: microx <acmicrox at gmail.com>
> Subject: Re: [OpenSIPS-Users] Failover and dialog termination
> To: users at lists.opensips.org
> Message-ID: <1359468766526-7584255.post at n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Schneur,
>
> Yes, the two proxy servers PA and PB are using the same database. And the
> db_mode regarding dialog
> is set to 1 to make each dialog be written into memory as well as the
> database.
>
> What do you mean master/master replication? Can you specify your method?
> Thanks so much.
>
> Best wishes,
> Chen-Che
>
>
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/Failover-and-dialog-termination-tp7584192p7584255.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 29 Jan 2013 10:39:22 -0600
> From: Duane Larson <duane.larson at gmail.com>
> Subject: Re: [OpenSIPS-Users] Decrease the priority of contact
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID:
>         <
> CAFcM1EqZxr_FhVkJswpBNPK5wueE-9PvJPJFCof0nr4GHAtpDg at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I'm not 100% sure what you are trying to do.  I needed to do some serial
> calling and here is what I did
>
>
> http://opensips-open-sip-server.1449251.n2.nabble.com/opensips-Bugs-3349030-Need-access-to-SIP-URI-Q-Value-td6554597.html
>
> http://www.opensips.org/Resources/DocsCoreVar19#toc75
>
>
>
> On Tue, Jan 29, 2013 at 2:02 AM, Gomtesh Jain <gomtesh at gmail.com> wrote:
>
> > Hi ,
> >    I want to decrease the priority (q value) of contact (in memory &
> > database)as soon as it comes on top of the list after lookup. So that
> next
> > call should not pick this contact (if other contacts are registered). As
> > soon as call finishes client will refresh its registration with original
> q
> > value.
> > How can I do this either in script after lookup() or in code in around
> > lookup.c ?
> >
> > Can someone help me on this ?
> >
> > Thanx,
> > Gomtesh
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> >
>
>
> --
> --
> *--*--*--*--*--*
> Duane
> *--*--*--*--*--*
> --
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opensips.org/pipermail/users/attachments/20130129/d66ee50b/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Tue, 29 Jan 2013 18:21:30 +0100
> From: Samuel Muller <sml at l33.fr>
> Subject: Re: [OpenSIPS-Users] Carrierroute failure route enhancement
> To: Bogdan-Andrei Iancu <bogdan at opensips.org>
> Cc: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID:
>         <
> CAEhWu_ZOcx-p6r7exe6Lc0EY-pFyMMauFS5UyGUb9Lzgs8ad4g at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> it's working like a charm ...
> 1 rule per number/group of numbers, each one with an AVP I can use to my
> wishes.
>
> thank you very much !
>
>
> Samuel MULLER
> sml at l33.fr
> www.l33.fr
>
>
> On Tue, Jan 29, 2013 at 10:23 AM, Bogdan-Andrei Iancu
> <bogdan at opensips.org> wrote:
> > Exactly ;)
> >
> >
> > Regards,
> >
> > Bogdan-Andrei Iancu
> > OpenSIPS Founder and Developer
> > http://www.opensips-solutions.com
> >
> >
> > On 01/28/2013 04:22 PM, Samuel Muller wrote:
> >>
> >> Mmmh,
> >>
> >> I just see the rule attribute column. I think I can use it for the
> >> stuff I need ?
> >>
> >> Samuel MULLER
> >> sml at l33.fr
> >> www.l33.fr
> >>
> >>
> >> On Mon, Jan 28, 2013 at 3:16 PM, Samuel Muller<sml at l33.fr>  wrote:
> >>>
> >>> Hello Bogdan,
> >>>
> >>> Thanks for your reply, I understand a bit more the how-to.
> >>>
> >>> This proxy (a stack of servers for fail-over and load-balancing, in
> >>> fact), where now DRouting is used, is some kind of pure class 4
> >>> switch.
> >>>
> >>> I do a DID mapping to route calls to MGWs, SBCs, and almost 20 of
> >>> other virtualized opensips that take care of my customers (as a class
> >>> 5 level) - these have all the necessary infos with DB and Radius.
> >>> I would like to limit db accesses (and radius only for accounting),
> >>> and it's more efficient to get all infos that are not so many in that
> >>> case: who's requested, where to route, in one request.
> >>> I just need the "when it fails" - for that, I just need 1 column that
> >>> store an AVP with the new way of routing the requested number : to a
> >>> PSTN number, to a call-center, to an IVR, ...
> >>>
> >>> I think I understood the system with the gateway attribute - I'm
> >>> afraid that if I've 100 000 numbers (or group of numbers) to take
> >>> care, I've to add a list of 100 000 gateways ...
> >>> Maybe the solution of the aliases table is good enough, but it's not
> >>> really clean (1 table to manage with almost the same request 2 times).
> >>>
> >>> Again, it's something that should be really simple at this cl.4 level
> >>> - all the complex stuff is done by the cl.5 systems (parallel forks
> >>> that you helped me last month, ...).
> >>>
> >>> Thank you for your help, I'm waiting for the tutorial !
> >>>
> >>>
> >>> Samuel MULLER
> >>> sml at l33.fr
> >>> www.l33.fr
> >>>
> >>>
> >>> On Mon, Jan 28, 2013 at 11:16 AM, Bogdan-Andrei Iancu
> >>> <bogdan at opensips.org>  wrote:
> >>>>
> >>>> Hi Samuel,
> >>>>
> >>>> We will have a DR tutorial in place next week (after the release).
> >>>>
> >>>> Now, reading your scenario, I see you have 2 ops here : (1) mapping
> the
> >>>> DID to your subscriber (what about using aliases here ?) and (2)
> doing call
> >>>> fwd on no-answer for your subscriber (serial forking)
> >>>>
> >>>> Of course you can combine all this in CR / DR tool, or you can simply
> >>>> script everything (using aliases and AVPs with serial forking for
> fallback).
> >>>>
> >>>> With DR, you need to set in dr_rules the DIDs and to point into
> >>>> dr_gateways (as IP of the proxy). Now, as attribute of the gateway
> you can
> >>>> define the mobile number ->  if the call to GW failed, you can use the
> >>>> attribute and get the mobile number.
> >>>>
> >>>> Regards,
> >>>>
> >>>> Bogdan-Andrei Iancu
> >>>> OpenSIPS Founder and Developer
> >>>> http://www.opensips-solutions.com
> >>>>
> >>>>
> >>>> On 01/18/2013 07:27 PM, Samuel Muller wrote:
> >>>>
> >>>> Hello Bogdan,
> >>>>
> >>>> it should be nice to get some tutorials, of course.
> >>>>
> >>>> but I tried today to understand a bit more the drouting module, and it
> >>>> does not do what I need, as the carriermodule.
> >>>>
> >>>> to explain briefly :
> >>>>
> >>>> an incoming call from PSTN to one of my subscriber DID I've to take in
> >>>> charge.
> >>>> the carrierroute module find as prefix the R-URI username and tries to
> >>>> route the call to one of my other proxy.
> >>>> but, I get a 408 Time Out and I need to route in fallback to, i.e.,
> the
> >>>> PSTN mobile phone of my subscriber.
> >>>> So, I've to rewrite to R-URI username and send the new request to my
> >>>> PSTN gateway.
> >>>>
> >>>> In the drouting module or in the carrierroute, I've no way to find
> this
> >>>> new username to rewrite.
> >>>>
> >>>> I think that I need to add a new column in the carrierfailureroute (or
> >>>> something equal in the drouting module) that contains the fallback
> r-uri
> >>>> username ...
> >>>>
> >>>> If you have better idea, I take it !
> >>>>
> >>>>
> >>>>
> >>>> Samuel MULLER
> >>>> sml at l33.fr
> >>>>
> >>>>
> >>>> On Wed, Jan 16, 2013 at 5:49 PM, Bogdan-Andrei
> >>>> Iancu<bogdan at opensips.org>  wrote:
> >>>>>
> >>>>> Hi Samuel,
> >>>>>
> >>>>> What is the kind of "complexity" you got stuck with DR ? You can use
> it
> >>>>> both in a simple or a complex way - maybe I can help with it.
> >>>>>
> >>>>> Anyhow we plan to publish a tutorial for Dynamic Routing after the
> >>>>> 1.9.0 release.
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> Bogdan-Andrei Iancu
> >>>>> OpenSIPS Founder and Developer
> >>>>> http://www.opensips-solutions.com
> >>>>>
> >>>>>
> >>>>> On 01/16/2013 03:03 PM, Samuel Muller wrote:
> >>>>>
> >>>>> Hey Bogdan,
> >>>>>
> >>>>> I already tried the drouting module, I found that it was too complex
> >>>>> for my needs - and I was not agree in some way to take in charge the
> routing
> >>>>> (source routing is so weird in my case, regex are not working, and
> so on) -
> >>>>> so I turned back myself to the old LCR module I used once upon a
> time which
> >>>>> was really sufficient - to finally use carrierroute - that I thought
> it was
> >>>>> maintained yet.
> >>>>>
> >>>>> I'll try again the drouting but I'm not really confident with this
> one
> >>>>> ...
> >>>>>
> >>>>> Thanks a lot,
> >>>>>
> >>>>>
> >>>>> Samuel MULLER
> >>>>> sml at l33.fr
> >>>>>
> >>>>>
> >>>>> On Wed, Jan 16, 2013 at 1:51 PM, Bogdan-Andrei
> >>>>> Iancu<bogdan at opensips.org>  wrote:
> >>>>>>
> >>>>>> Hi Samuel,
> >>>>>>
> >>>>>> I would suggest rather using the drouting module instead of
> >>>>>> carrierroute (this module is not maintained). With drouting module
> you have
> >>>>>> attributes per rules, per gateways and per carriers, and you use
> these
> >>>>>> attributes for whatever purposes (and they are available in script).
> >>>>>>
> >>>>>> Regards,
> >>>>>>
> >>>>>> Bogdan-Andrei Iancu
> >>>>>> OpenSIPS Founder and Developer
> >>>>>> http://www.opensips-solutions.com
> >>>>>>
> >>>>>>
> >>>>>> On 01/16/2013 02:40 PM, Samuel Muller wrote:
> >>>>>>
> >>>>>> Hello,
> >>>>>>
> >>>>>> I've a single question about carrierroute module.
> >>>>>>
> >>>>>> I would like to use the failure route to rewrite the user + domain
> to
> >>>>>> a new one as fallback (i.e. when 4xx catched after the main carrier
> route,
> >>>>>> redirect to another pstn number).
> >>>>>> Is there an easy way to do it - as adding a new column in the
> >>>>>> carrierfailureroute table ?
> >>>>>> I would like to save the db requests ...
> >>>>>>
> >>>>>> thanks a lot,
> >>>>>>
> >>>>>> Samuel MULLER
> >>>>>> sml at l33.fr
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Users mailing list
> >>>>>> Users at lists.opensips.org
> >>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >>>>>
> >>>>>
> >
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 29 Jan 2013 21:11:03 +0200
> From: Bogdan-Andrei Iancu <bogdan at opensips.org>
> Subject: [OpenSIPS-Users] [RELEASE] OpenSIPS 1.9.0 - a new major
>         release is      out
> To: "users at lists.opensips.org" <users at lists.opensips.org>,
>         "devel at lists.opensips.org" <devel at lists.opensips.org>,
>         news at lists.opensips.org, business at lists.opensips.org
> Message-ID: <51081EC7.1060609 at opensips.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi all,
>
> One more major release is out - OpenSIPS 1.9.0 Release Candidate (beta)
>
> *OpenSIPS 1.9.0* comes with several major improvements (scripting,
> dialog support, TCP, Web Sockets, timers), but also with new
> functionalities like CacheDB Interface - CouchBase, MongoDB, Cache2SQL
> DNS caching, nice provisioning tool like PI_HTTP module or great helper
> on integration, the Event_Route module (combined with a rich set of new
> events from core and modules).
>
> One of the important goals of this release were scalability (geo and
> load), integration capabilities and controllability (debugging, tracing,
> monitoring).
>
> A complete compilation with all the additions and improvements for
> *OpenSIPS 1.9.0 *release is available under:
> http://www.opensips.org/Main/Ver190
>
> A comprehensive migration document is available also:
> http://www.opensips.org/Resources/DocsMigration180to190
>
> Many thanks to all the people who got involved in this release (and in
> the overall OpenSIPS project) and contributed with code, with testing
> and debugging, with patches or reports, with support on the lists, help
> with packaging and documentation. Here is the a fast compiled list:
>
>
> http://opensips.svn.sourceforge.net/viewvc/opensips/branches/1.9/CREDITS?revision=9708&view=markup
> If someone was missed, apologies in advance and let me know ASAP to fix
> it ;)
>
> I want to thanks you all for out great job and not in my behalf, but in
> the behalf of people who will find this piece of software a useful tool.
>
> The full Changelog is available  here:
> http://opensips.org/pub/opensips/1.9.0/src/ChangeLog
>
>
> To get the *OpenSIPS 1.9.0* version, see :
>
>      * website page: http://www.opensips.org/Resources/Downloads
>
>      * SF project:
> https://sourceforge.net/projects/opensips/files/OpenSIPS/1.9.0/
>
>
> Note that for the moment only the source tarballs are available. Also
> DEBs for Debian ans Ubuntu should be ready soon on the official repository.
>
>
> Enjoy it and best regards,
> Bogdan
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 29 Jan 2013 21:17:17 +0200
> From: Bogdan-Andrei Iancu <bogdan at opensips.org>
> Subject: [OpenSIPS-Users] [RELEASES] Support and management of
>         OpenSIPS        release - IMPORTANT
> To: "users at lists.opensips.org" <users at lists.opensips.org>,
>         "devel at lists.opensips.org" <devel at lists.opensips.org>,
>         news at lists.opensips.org, business at lists.opensips.org
> Message-ID: <5108203D.7070009 at opensips.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi all,
>
> Following the new 1.9 RC release, according to the new release policy
> (see http://www.opensips.org/Development/Development), here are the
> changes in what versions are to be supported or not and for how long:
>
>
> 1) 1.7.x releases are no longer officially maintained.
>
> 2) 1.8.x is an LTS release (Long Term Supported)
>
> 3) 1.9.x is a STS release (Short Term Supported - up to the next major
> release).
>
>
> Most probably 1.10 will be an LTS .
>
> Please adjust your upgrading plans according to these changes !
>
> Thanks and Regards,
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 29 Jan 2013 14:25:44 -0500
> From: Bakko <asannucci at gmail.com>
> Subject: Re: [OpenSIPS-Users] [RELEASE] OpenSIPS 1.9.0 - a new major
>         release is out
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID: <51082238.7000206 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Very good news.
>
> Thank you
>
>
> El 29/01/2013 14:11, Bogdan-Andrei Iancu escribi?:
> > Hi all,
> >
> > One more major release is out - OpenSIPS 1.9.0 Release Candidate (beta)
> >
> > *OpenSIPS 1.9.0* comes with several major improvements (scripting,
> > dialog support, TCP, Web Sockets, timers), but also with new
> > functionalities like CacheDB Interface - CouchBase, MongoDB, Cache2SQL
> > DNS caching, nice provisioning tool like PI_HTTP module or great
> > helper on integration, the Event_Route module (combined with a rich
> > set of new events from core and modules).
> >
> > One of the important goals of this release were scalability (geo and
> > load), integration capabilities and controllability (debugging,
> > tracing, monitoring).
> >
> > A complete compilation with all the additions and improvements for
> > *OpenSIPS 1.9.0 *release is available under:
> > http://www.opensips.org/Main/Ver190
> >
> > A comprehensive migration document is available also:
> > http://www.opensips.org/Resources/DocsMigration180to190
> >
> > Many thanks to all the people who got involved in this release (and in
> > the overall OpenSIPS project) and contributed with code, with testing
> > and debugging, with patches or reports, with support on the lists,
> > help with packaging and documentation. Here is the a fast compiled list:
> >
> http://opensips.svn.sourceforge.net/viewvc/opensips/branches/1.9/CREDITS?revision=9708&view=markup
> > If someone was missed, apologies in advance and let me know ASAP to
> > fix it ;)
> >
> > I want to thanks you all for out great job and not in my behalf, but
> > in the behalf of people who will find this piece of software a useful
> > tool.
> >
> > The full Changelog is available  here:
> > http://opensips.org/pub/opensips/1.9.0/src/ChangeLog
> >
> >
> > To get the *OpenSIPS 1.9.0* version, see :
> >
> >     * website page: http://www.opensips.org/Resources/Downloads
> >
> >     * SF project:
> > https://sourceforge.net/projects/opensips/files/OpenSIPS/1.9.0/
> >
> >
> > Note that for the moment only the source tarballs are available. Also
> > DEBs for Debian ans Ubuntu should be ready soon on the official
> > repository.
> >
> >
> > Enjoy it and best regards,
> > Bogdan
> >
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Tue, 29 Jan 2013 21:20:27 +0100
> From: Sa?l Ibarra Corretg? <saul at ag-projects.com>
> Subject: Re: [OpenSIPS-Users] [OpenSIPS-Devel] [RELEASE] OpenSIPS
>         1.9.0 - a       new major release is out
> To: OpenSIPS devel mailling list <devel at lists.opensips.org>
> Cc: OpenSIPS users mailling list <users at lists.opensips.org>
> Message-ID: <460E8BA7-F825-4E6D-9CC5-045B6B2CF4EC at ag-projects.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> On Jan 29, 2013, at 8:11 PM, Bogdan-Andrei Iancu wrote:
>
> > Hi all,
> >
> > One more major release is out - OpenSIPS 1.9.0 Release Candidate (beta)
> >
> > *OpenSIPS 1.9.0* comes with several major improvements (scripting,
> dialog support, TCP, Web Sockets, timers), but also with new
> functionalities like CacheDB Interface - CouchBase, MongoDB, Cache2SQL DNS
> caching, nice provisioning tool like PI_HTTP module or great helper on
> integration, the Event_Route module (combined with a rich set of new events
> from core and modules).
> >
> > One of the important goals of this release were scalability (geo and
> load), integration capabilities and controllability (debugging, tracing,
> monitoring).
> >
> > A complete compilation with all the additions and improvements for
> *OpenSIPS 1.9.0 *release is available under:
> > http://www.opensips.org/Main/Ver190
> >
> > A comprehensive migration document is available also:
> > http://www.opensips.org/Resources/DocsMigration180to190
> >
> > Many thanks to all the people who got involved in this release (and in
> the overall OpenSIPS project) and contributed with code, with testing and
> debugging, with patches or reports, with support on the lists, help with
> packaging and documentation. Here is the a fast compiled list:
> >
> http://opensips.svn.sourceforge.net/viewvc/opensips/branches/1.9/CREDITS?revision=9708&view=markup
> > If someone was missed, apologies in advance and let me know ASAP to fix
> it ;)
> >
> > I want to thanks you all for out great job and not in my behalf, but in
> the behalf of people who will find this piece of software a useful tool.
> >
> > The full Changelog is available  here:
> > http://opensips.org/pub/opensips/1.9.0/src/ChangeLog
> >
> >
> > To get the *OpenSIPS 1.9.0* version, see :
> >
> >    * website page: http://www.opensips.org/Resources/Downloads
> >
> >    * SF project:
> https://sourceforge.net/projects/opensips/files/OpenSIPS/1.9.0/
> >
> >
> > Note that for the moment only the source tarballs are available. Also
> DEBs for Debian ans Ubuntu should be ready soon on the official repository.
> >
>
> Congrats to the team! See (some of) you in Brussels!
>
> Also, FWIW, I've been running OpenSIPS straight from trunk for a while now
> without major problems, everyone go test!
>
>
> Cheers,
>
> --
> Sa?l Ibarra Corretg?
> AG Projects
>
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> End of Users Digest, Vol 54, Issue 71
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130130/fc35955b/attachment-0001.htm>


More information about the Users mailing list