Patches item #3035780, was opened at 2010-07-28 10:07
Message generated for change (Comment added) made by miconda
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=3035780&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.5.x
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
>Assigned to: Daniel-Constantin Mierla (miconda)
Summary: Let pua use the configured outboudn proxy in all cases
Initial Comment:
pua wasn't using the outbound proxy on updates
----------------------------------------------------------------------
>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2010-07-30 21:28
Message:
Thanks! Patch committed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=3035780&group_…
Revision: 6038
http://openser.svn.sourceforge.net/openser/?rev=6038&view=rev
Author: miconda
Date: 2010-07-30 18:27:51 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
- use the outbound proxy on updates
- patch by Alex Hermann, SF#3035780
Modified Paths:
--------------
branches/1.5/modules/pua/pua.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Patches item #3035382, was opened at 2010-07-27 19:11
Message generated for change (Comment added) made by miconda
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=3035382&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.5.x
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
>Assigned to: Daniel-Constantin Mierla (miconda)
Summary: Fix transformation tobody.params
Initial Comment:
The transofrmation tobody.params can't handle quoted parameters well. If the last parameter is quoted, the output of the transofrmation is truncated by 2 characters.. Attached patch fixes this.
----------------------------------------------------------------------
>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2010-07-30 21:21
Message:
Thanks! Patches committed on git master branch and 1.5 for now.
----------------------------------------------------------------------
Comment By: Alex Hermann (axlh)
Date: 2010-07-28 09:42
Message:
Well, not a good start :(
I split the patch into 2 parts.
Part 1: Fix a off-by-one bug in parsing quoted parameters. The parameter
value is shortened by 1 character.
Part 2: Fix the tobody.params tranformation when the last paremeter has a
quoted value. I found another solution: Just assume the parameter list ends
on the end of the header line that gets pushed to the parser. Seems to work
just as well, and prevents adjusting the rest of the code (tm).
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2010-07-27 23:25
Message:
I reverted the commit on 1.5 branch - it was incomplete as the compilation
got broken. Also, there should not be any commit on the trunk branch, the
devel version is now on GIT repository hosted at git.sip-router.org.
The bug tracker in use is as well by sip-router.org:
http://sip-router.org/tracker
Back to issue, apart of breaking the compilation, it could be a solution
to store the hook for start of parameters and the length, but I didn't
understand why you changed the len of quoted value.
Moreover, there are other places that needs to be updated when the to_body
structure is updated with new attributes storing pointers, like cloning for
TM transactions.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=3035382&group_…
Revision: 6037
http://openser.svn.sourceforge.net/openser/?rev=6037&view=rev
Author: miconda
Date: 2010-07-30 18:20:27 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
- fixed tobody.params transformation
- len was wrong when having quoted parameters
- patch by Alex Hermann, closes SF#3035382
Modified Paths:
--------------
branches/1.5/modules/pv/pv_trans.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 6036
http://openser.svn.sourceforge.net/openser/?rev=6036&view=rev
Author: miconda
Date: 2010-07-30 18:18:33 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
- fix off-by-one bug for quoted parameter values in parse_to
- patch by Alex Hermann, SF#3035382
Modified Paths:
--------------
branches/1.5/parser/parse_to.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Patches item #1769555, was opened at 2007-08-07 20:29
Message generated for change (Comment added) made by miconda
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1769555&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 2
Private: No
Submitted By: Emmanuel BUU (neutrino38)
Assigned to: Daniel-Constantin Mierla (miconda)
Summary: DISPATCH : weighted dispatching
Initial Comment:
The proposed patch enhances the DISPATCH modules. It enables the specification of weight for each destination.
For instance if destination.list contains
1 proxy1:5060 50
1 proxy2:5060 20
1 proxy3;5060 30
50% of calls will be dispatched to proxy1,
20% of calls will be disptached to proxy2
30% to proxy3
----------------------------------------------------------------------
>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2010-07-30 20:51
Message:
Git master branch has weight based load balancing in dispatcher module.
----------------------------------------------------------------------
Comment By: Emmanuel BUU (neutrino38)
Date: 2007-10-05 17:59
Message:
Logged In: YES
user_id=1862563
Originator: YES
As you wish
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-10-05 17:34
Message:
Logged In: YES
user_id=1246013
Originator: NO
Not being sure that this enhancement will preserve old behavior when
having same weight for all destination, I postpone the integration for the
next release, as carrierroute module satisfy the proposed enhancement.
----------------------------------------------------------------------
Comment By: Emmanuel BUU (neutrino38)
Date: 2007-08-30 01:07
Message:
Logged In: YES
user_id=1862563
Originator: YES
Ok I submitted a patch based on trunk version.
It compiles but it is not tested yet although it is based on the same
algorithm than the previous one. I updated the DB schema as well.
Note: I discovered the existence of the CARRIERROUTE module that basically
makes much more than this modified DISPATCH. THis is great.
Emmanuel BUU
http://www.ives.fr/
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-08-10 10:20
Message:
Logged In: YES
user_id=1246013
Originator: NO
Please provide the patch against devel version, there is support for
storing destination list in database as well. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1769555&group_…
Patches item #3035778, was opened at 2010-07-28 10:04
Message generated for change (Comment added) made by miconda
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=3035778&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.5.x
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
>Assigned to: Daniel-Constantin Mierla (miconda)
Summary: Fix registrar when fetching binding for unregistered user
Initial Comment:
When an UA fetches the bindings for a user and the user isn't registered, properly return an empty contact.
----------------------------------------------------------------------
>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2010-07-30 20:48
Message:
Patch committed on git master branch and svn 1.5. Thanks!
----------------------------------------------------------------------
Comment By: Iñaki Baz Castillo (ibc_sf)
Date: 2010-07-30 12:31
Message:
Reopened as it's clear now the purpose of this patch.
----------------------------------------------------------------------
Comment By: Alex Hermann (axlh)
Date: 2010-07-30 11:59
Message:
Sorry, the patch is already a bit old and i got the description wrong.
The patch is actually an addendum to bug 2851214. It makes sure kamailio
doesn't return someone else's contact in case there is a failure. The
contacts are stored in a global variable and needs to be cleared if it
isn't filled with valid contacts.
Please reopen.
----------------------------------------------------------------------
Comment By: Iñaki Baz Castillo (ibc_sf)
Date: 2010-07-28 13:29
Message:
A "Contact" header with no value is *not* valid according to SIP BNF
grammar so in case a UA fetches its bindging and there are not bindings
then the registrar should reply a 200 without "Contact" header. Taking this
into account I suspect that this patch is wrong.
As a side note, there is a bug/issue open for RFC 3261 related to this
topic as the RFC 3261 seems to state that the registrar should reply a
200 with a Contact header containing all the bindings. But it's clear
(also in the RFC bug report) that the BNF grammar cannot be violated
so there should be NO Contact header if there are no bindings.
I close this bug as it not valid. However as Daniel said please use
http://sip-router.org/tracker/ for future reports :)
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2010-07-28 10:07
Message:
Can you use the tracker at sip-router.org?
http://sip-router.org/tracker/
SF tracker should not be used anymore for new items.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=3035778&group_…
Revision: 6035
http://openser.svn.sourceforge.net/openser/?rev=6035&view=rev
Author: miconda
Date: 2010-07-30 17:47:03 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
- backport git commit 776d94
- when an UA fetches the bindings for a user and the user isn't
registered, properly return an empty contact.
- closes SF#3035778, patch by Alex Hermann
Modified Paths:
--------------
branches/1.5/modules/registrar/save.c
Property Changed:
----------------
branches/1.5/modules/pv/pv_shv.c
branches/1.5/modules/pv/pv_shv.h
branches/1.5/modules/pv/pv_svar.c
branches/1.5/modules/pv/pv_svar.h
branches/1.5/modules/pv/pv_trans.h
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.