[OpenSIPS-Devel] SF.net SVN: opensips:[5602] trunk/modules/mediaproxy/mediaproxy.c

2009-04-08 Thread Dan Pascu
Revision: 5602
  http://opensips.svn.sourceforge.net/opensips/?rev=5602view=rev
Author:   dan_pascu
Date: 2009-04-08 07:24:31 + (Wed, 08 Apr 2009)

Log Message:
---
Changed mediaproxy to silently ignore unknown content types instead of logging 
errors (closes #2741556)

Modified Paths:
--
trunk/modules/mediaproxy/mediaproxy.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2741556 ] Mediaproxy should silently ignore non-SDP payload

2009-04-08 Thread SourceForge.net
Bugs item #2741556, was opened at 2009-04-07 22:22
Message generated for change (Settings changed) made by dan_pascu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2741556group_id=232389

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: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Thomas Gelf (thomas_gelf)
Assigned to: Dan (dan_pascu)
Summary: Mediaproxy should silently ignore non-SDP payload

Initial Comment:
Currently the mediaproxy module is writing two error lines for each in-dialog 
SIP packet having payload != application/sdp:

 ERROR:mediaproxy:check_content_type: invalid Content-Type for SDP: 
 application/dtmf-relay
 ERROR:mediaproxy:get_sdp_message: content type is not `application/sdp'

This is absolutely useless and blowing up logs (example above is for example 
from a DTMF tone sent via SIP INFO) - showing it with debug enabled would be 
enough.

Best regards,
Thomas Gelf


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2741556group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5603] branches/1.5/modules/mediaproxy/mediaproxy.c

2009-04-08 Thread Dan Pascu
Revision: 5603
  http://opensips.svn.sourceforge.net/opensips/?rev=5603view=rev
Author:   dan_pascu
Date: 2009-04-08 07:28:31 + (Wed, 08 Apr 2009)

Log Message:
---
Changed mediaproxy to silently ignore unknown content types instead of logging 
errors (backport from trunk rev 5602)

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=5602view=rev

Modified Paths:
--
branches/1.5/modules/mediaproxy/mediaproxy.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5604] branches/1.4/modules/mediaproxy/mediaproxy.c

2009-04-08 Thread Dan Pascu
Revision: 5604
  http://opensips.svn.sourceforge.net/opensips/?rev=5604view=rev
Author:   dan_pascu
Date: 2009-04-08 07:29:21 + (Wed, 08 Apr 2009)

Log Message:
---
Changed mediaproxy to silently ignore unknown content types instead of logging 
errors (backport from trunk rev 5602)

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=5602view=rev

Modified Paths:
--
branches/1.4/modules/mediaproxy/mediaproxy.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5608] branches/1.5/modules/db_mysql/dbase.c

2009-04-08 Thread Bogdan-Andrei Iancu
Revision: 5608
  http://opensips.svn.sourceforge.net/opensips/?rev=5608view=rev
Author:   bogdan_iancu
Date: 2009-04-08 12:47:29 + (Wed, 08 Apr 2009)

Log Message:
---
backport from trunk (rev 5607):

fixed bug in working with the list of contexts per statement - the bug poping 
up only in handling DB erorrs

Reported by Brett Nemeroff.

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=5607view=rev

Modified Paths:
--
branches/1.5/modules/db_mysql/dbase.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] New MediaProxy release 2.3.3 (amd64)

2009-04-08 Thread Adrian Georgescu
Hello,

amd64 packages have been uploaded to the repository.

To upgrade your debian installation for 64 bit architectures:

apt-get update
apt-get install mediaproxy-dispatcher mediaproxy-relay mediaproxy-web- 
sessions


Kind regards,
Adrian Georgescu



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5610] branches/1.5/modules/load_balancer

2009-04-08 Thread Bogdan-Andrei Iancu
Revision: 5610
  http://opensips.svn.sourceforge.net/opensips/?rev=5610view=rev
Author:   bogdan_iancu
Date: 2009-04-08 15:36:53 + (Wed, 08 Apr 2009)

Log Message:
---
backport from trunk (rev #5609):
- fixed issue at reload time - the dialog profiles may be already created sue 
previous data.
 Closes bug 2739455.

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=5609view=rev

Modified Paths:
--
branches/1.5/modules/load_balancer/lb_data.c
branches/1.5/modules/load_balancer/load_balancer.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5613] branches/1.5/modules/load_balancer/lb_data.c

2009-04-08 Thread Bogdan-Andrei Iancu
Revision: 5613
  http://opensips.svn.sourceforge.net/opensips/?rev=5613view=rev
Author:   bogdan_iancu
Date: 2009-04-08 15:47:53 + (Wed, 08 Apr 2009)

Log Message:
---
backport from trunk (rev #5612):
 - the availaility of a resource may be negative not necessary because of a bug,
 but because of a load resize via MI.

   Closes bug #2739622.

Revision Links:
--
http://opensips.svn.sourceforge.net/opensips/?rev=5612view=rev

Modified Paths:
--
branches/1.5/modules/load_balancer/lb_data.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2739622 ] problem with resizing load_balancer

2009-04-08 Thread SourceForge.net
Bugs item #2739622, was opened at 2009-04-07 07:40
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2739622group_id=232389

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: trunk
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Patrick F. (padraigf65)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: problem with resizing load_balancer

Initial Comment:
Database has 2 entries in the group both having pstn=250 
I then issued the following commands:

/usr/local/opensips/sbin/opensipsctl fifo lb_resize 1 pstn 350
/usr/local/opensips/sbin/opensipsctl fifo lb_resize 2 pstn 1

This is the error I get in the logs:
Apr  7 00:36:55 artery osips-artery[62293]: 
CRITICAL:load_balancer:get_dst_load: bug - negative availability for resource 
in dst

I am simulating a failed destination so I am trying to use the commandline to 
change the number of calls.


--

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-04-08 18:47

Message:
Fixed! please update from svn and redo the test.

Thanks and regards,
Bogdan

--

Comment By: Patrick F. (padraigf65)
Date: 2009-04-07 07:43

Message:
Is it possible, as I still had calls  1 on id 2 that as the calls ended,
it was taking the limit of 1 below zero?   Is that actually a bug or just a
report that the current limit is set so that it creates a negative number?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2739622group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2732021 ] wrong ownership change of pid file

2009-04-08 Thread SourceForge.net
Bugs item #2732021, was opened at 2009-04-04 23:16
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2732021group_id=232389

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: trunk
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: ledda (ledda)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: wrong ownership change of pid file

Initial Comment:
opensips compiled and installed with prefix under regular account 'dima'.
make prefix=/home/dima/oser/osrunhead install

After install pid file configured to be:
/home/dima/oser/osrunhead/var/run/opensips.pid
/home/dima/oser/osrunhead/var/run/ was created by 'dima'.

Attempt to start:
osrunhead/sbin/opensipsctl start
failed with such error in log file:

Apr  4 14:31:04 linux-dell osrunhead/sbin/opensips[25718]: ERROR:core:do_suid: 
failed to change owner of pif file /home/dima/oser/osrunhead/var/run/opensips
.pid: Operation not permitted(1)


I was able to start opensips changing opensipsctl and adding -u option:
$OSIPSBIN -u dima -P $PID_FILE $STARTOPTIONS 1/dev/null 2/dev/null

Does opensips suppose to change file ownership at all if it was started under 
regular user 'dima' (not root)?
Also as I understand '-u' options should not be used if I don't want to 
override user.


--

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-04-08 19:21

Message:
I made a fix on SVN. Please give it a try and report.

Thanks and regards,
Bogdan

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2732021group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2744600 ] Crash (gdb bt included)

2009-04-08 Thread SourceForge.net
Bugs item #2744600, was opened at 2009-04-08 12:02
Message generated for change (Comment added) made by padraigf65
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2744600group_id=232389

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: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Patrick F. (padraigf65)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Crash (gdb bt included) 

Initial Comment:
#0  0x000800837436 in memcpy () from /lib/libc.so.7
#1  0x000800b02f88 in db_mysql_submit_dummy_query (_h=0x383931393332313d, 
_s=0x68abd0) at dbase.c:573
#2  0x00622e68 in debug_init ()
#3  0x000801fed734 in ?? () from 
/usr/local/opensips/lib64/opensips/modules/siptrace.so
#4  0x0008020ee650 in toip_column () from 
/usr/local/opensips/lib64/opensips/modules/siptrace.so
#5  0x000801fe5e23 in trace_onreply_in (t=Variable t is not available.
) at siptrace.c:1095
#6  0x0008012fb93c in run_trans_callbacks (type=2, trans=0x8031f8280, 
req=0x802fe65c0, rpl=0x6849f8, code=200)
at t_hooks.c:208
#7  0x000801301a59 in t_reply_matching (p_msg=0x6849f8, p_branch=Variable 
p_branch is not available.
) at t_lookup.c:841
#8  0x000801301daa in t_check (p_msg=0x6849f8, param_branch=0x7fffe8cc) 
at t_lookup.c:912
#9  0x00080130cb7d in reply_received (p_msg=0x6849f8) at t_reply.c:1369
#10 0x0041f06e in forward_reply (msg=0x6849f8) at forward.c:507
#11 0x0044ec5d in receive_msg (
buf=0x648e80 SIP/2.0 500 Internal Server Error\r\nVia: SIP/2.0/UDP 
XX.XXX.XX.XXX;branch=z9hG4bK6a27.2a0eff56.0\r\nVia: S
IP/2.0/UDP 
XX.XXX.XXX.XXX:5060;branch=z9hG4bK7b0d7a849f56342ff3feaf28fe9dc191.50e32f1a\r\nVia:
 SIP/..., len=1209,
rcv_info=0x7fffe9c0) at receive.c:203
#12 0x0048d982 in udp_rcv_loop () at udp_server.c:449
#13 0x00426736 in main (argc=5, argv=0x7fffeb30) at main.c:779


--

Comment By: Patrick F. (padraigf65)
Date: 2009-04-08 13:32

Message:
@(#) $Id: main.c 5469 2009-03-18 12:43:10Z bogdan_iancu $
main.c compiled on 12:01:32 Apr  6 2009 with gcc 4.2.1


This is production, so I can't reproduce the issue.  The issue has only
happened once so far.

Patrick

--

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-04-08 12:25

Message:
The backtrace looks corrupted (frames 2 and 3).

What revision do you use? (do  ./opensips -V) 

Can you produce it ?

Regards,
Bogdan

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2744600group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] SF.net SVN: opensips:[5617] trunk/modules/tm

2009-04-08 Thread Bogdan-Andrei Iancu
Revision: 5617
  http://opensips.svn.sourceforge.net/opensips/?rev=5617view=rev
Author:   bogdan_iancu
Date: 2009-04-08 17:43:55 + (Wed, 08 Apr 2009)

Log Message:
---
- RFC 3326 support (Call Completed Elsewhere) added: 

   A proxy forks an INVITE request and one of the branches returns a 200
   (OK).  The forking proxy includes this status code in a Reason header
   field in the CANCEL request that it sends to the rest of the
   branches.

   The same SIP  request can be issued for a variety of reasons.  For
   example, a SIP CANCEL request can be issued if the call has completed
   on another branch or was abandoned before answer.  While the protocol
   and system behavior is the same in both cases, namely, alerting will
   cease, the user interface may well differ.  In the second case, the
   call may be logged as a missed call, while this would not be
   appropriate if the call was picked up elsewhere.

Modified Paths:
--
trunk/modules/tm/t_cancel.c
trunk/modules/tm/t_msgbuilder.c
trunk/modules/tm/t_msgbuilder.h
trunk/modules/tm/t_reply.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [ opensips-Bugs-2745618 ] opensips.cfg.sample - wrong permissions

2009-04-08 Thread SourceForge.net
Bugs item #2745618, was opened at 2009-04-09 01:40
Message generated for change (Tracker Item Submitted) made by ledda
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2745618group_id=232389

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: None
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ledda (ledda)
Assigned to: Nobody/Anonymous (nobody)
Summary: opensips.cfg.sample - wrong permissions

Initial Comment:
opensips build with command:
make prefix=/home/dima/oser/osrunhead all

first attempt to install:
make prefix=/home/dima/oser/osrunhead install
all is ok

second attempt to install return error:
make prefix=/home/dima/oser/osrunhead install

sed -e 
s#/usr/.*lib/opensips/modules/#/home/dima/oser/osrunhead/lib/opensips/modules/#g
 \
 etc/opensips.cfg  
/home/dima/oser/osrunhead/etc/opensips/opensips.cfg.sample0
sed -e 
s#/usr/.*etc/opensips/tls/#/home/dima/oser/osrunhead/etc/opensips/tls/#g \
 
/home/dima/oser/osrunhead/etc/opensips/opensips.cfg.sample0 \
 
/home/dima/oser/osrunhead/etc/opensips/opensips.cfg.sample
/bin/sh: /home/dima/oser/osrunhead/etc/opensips/opensips.cfg.sample: Permission 
denied
make: *** [install-cfg] Error 1

Permissions of this file are:
ls -l /home/dima/oser/osrunhead/etc/opensips/opensips.cfg.sample
-r-x-- 1 dima users 11212 2009-04-09 01:34 
/home/dima/oser/osrunhead/etc/opensips/opensips.cfg.sample


After manually removing opensips.cfg.sample I can install Opensips again.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=1086410aid=2745618group_id=232389

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel