Re: [Sofia-sip-devel] Bug in BYE after 200 OK retransmissions?

2007-02-06 Thread Fabio Margarido

On 2/2/07, Fabio Margarido [EMAIL PROTECTED] wrote:


On 2/1/07, Pekka Pessi [EMAIL PROTECTED] wrote:

 I just pushed a patch to darcs that should fix the problem. Please
 give it a try.


Great, thanks.
I'll try to run the test case again on Monday.




I just got to run that test case on the new darcs version and it works ok
now.
Thanks again.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] call for testing (was: preparing for 1.12.5 release)

2007-02-06 Thread Pekka Pessi
On 2/5/07, Kai Vehmanen [EMAIL PROTECTED] wrote:
 I've now put a snapshot tarball of the upcoming release available at:

 http://sofia-sip.org/~vehmanek/sofia-sip-1.12.4work-20070502.tar.gz

I've put an updated tarball which contains yesterdays patches
including VC 2005 Express project files. The updated tarball is

http://sofia-sip.org/~vehmanek/sofia-sip-1.12.4work-20070205.tar.gz

If you have valgrind installed on your host, we'd appreciate if you
could run make valcheck and see if there are any problems valgrind
report on your system. (It looks like valgrind complains about some
inlined strlen() cases when I compile Sofia-SIP with gcc -O2.)

--Pekka

-- 
Pekka.Pessi mail at nokia.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Enable IP helper API for VC2005 build

2007-02-06 Thread Roman Filonenko
Pekka,

The IP Helper API is disabled by default now (iphlpapi.h is missing in 
VC6).
The below patch enables the API for VC2005 build.

{
hunk ./win32/config.h.in 155
-#undef HAVE_IPHLPAPI_H
+#define HAVE_IPHLPAPI_H 1
hunk ./win32/libsofia-sip-ua/libsofia_sip_ua.vcproj 79
-   AdditionalDependencies=ws2_32.lib 
advapi32.lib
+   AdditionalDependencies=ws2_32.lib 
advapi32.lib iphlpapi.lib
hunk ./win32/libsofia-sip-ua/libsofia_sip_ua.vcproj 179
-   AdditionalDependencies=ws2_32.lib
+   AdditionalDependencies=ws2_32.lib 
iphlpapi.lib
hunk ./win32/libsofia-sip-ua-static/libsofia_sip_ua_static.vcproj 73
+   AdditionalDependencies=iphlpapi.lib
hunk ./win32/libsofia-sip-ua-static/libsofia_sip_ua_static.vcproj 151
+   AdditionalDependencies=iphlpapi.lib
}

Roman

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] 1.12.4work memory allocation issues...

2007-02-06 Thread Pekka Pessi
On 2/6/07, Colin Whittaker [EMAIL PROTECTED] wrote:
 Maybe something changed in reference counting...

Yep, there was a #if 0 around code destroying application reference.
Looks like there was a problem in responding with error response to an
initial request. I pushed a fix to darcs, thanks for pointing this
out..

-- 
Pekka.Pessi mail at nokia.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Enable IP helper API for VC2005 build

2007-02-06 Thread Michael Jerris


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:sofia-sip-
 [EMAIL PROTECTED] On Behalf Of Roman Filonenko
 Sent: Tuesday, February 06, 2007 6:50 AM
 To: Pekka Pessi; sofia-sip-devel@lists.sourceforge.net
 Subject: [Sofia-sip-devel] Enable IP helper API for VC2005 build
 
 Pekka,
 
 The IP Helper API is disabled by default now (iphlpapi.h is missing in
 VC6).
 The below patch enables the API for VC2005 build.
 
 {
 hunk ./win32/config.h.in 155
 -#undef HAVE_IPHLPAPI_H
 +#define HAVE_IPHLPAPI_H 1

If you wrap this in #if _MSC_VER  1200 this should work depending on
the version.  There may be a better way to check this, but I know it
will be present on the later versions, the rest of the patch looks good
to me.

Mike

 hunk ./win32/libsofia-sip-ua/libsofia_sip_ua.vcproj 79
 -   AdditionalDependencies=ws2_32.lib
 advapi32.lib
 +   AdditionalDependencies=ws2_32.lib
 advapi32.lib iphlpapi.lib
 hunk ./win32/libsofia-sip-ua/libsofia_sip_ua.vcproj 179
 -   AdditionalDependencies=ws2_32.lib
 +   AdditionalDependencies=ws2_32.lib
 iphlpapi.lib
 hunk ./win32/libsofia-sip-ua-static/libsofia_sip_ua_static.vcproj 73
 +   AdditionalDependencies=iphlpapi.lib
 hunk ./win32/libsofia-sip-ua-static/libsofia_sip_ua_static.vcproj 151
 +   AdditionalDependencies=iphlpapi.lib
 }
 
 Roman


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] build time options to disable stun/nth modules

2007-02-06 Thread Kai Vehmanen
Hello,

I now added a few build time options that allow to shrink the library 
size:

--disable-stun
Disables the STUN module (the public API), example clients, and
support for STUN keepalives in SIP signaling.

--disable-nth
Disables http and nth (transaction layer) modules. As collateral
damage, you lose support for SIP signaling over HTTP-CONNECT.

Together, these cut down the stripped libsofia-sip-ua.so by 160K.

Now let's see if people find these useful, before going further. The 
downside of adding these options is that the makefiles get more and more 
complicated, which again means more testing and maintenance work.

If continued, the next candidate would probably be nea (SIP presence 
support), or alternatively nua itself (for apps that prefer to use nta 
directly). OTOH, specialized applications can always customize sofia-sip 
builds themselves, so we don't necessarily have to support all possible 
variations in the official releases.

Note also that these options modify the library API/ABI, so you can't 
freely change back and forth if you for instance maintaining sofia-sip 
packages for some Linux distribution.

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] build time options to disable stun/nth modules

2007-02-06 Thread Kai Vehmanen
Btw, if you are short on storage space, -Os helps quite a bit...

On Tue, 6 Feb 2007, Kai Vehmanen wrote:

 --disable-stun
 --disable-nth

 Together, these cut down the stripped libsofia-sip-ua.so by 160K.

By rebuilding with -Os (gcc-4.1.2), you'll save additional 264K, 
resulting in libsofia-sip-ua.so with size of 792K.

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Sofia accepts BYE without To tag

2007-02-06 Thread Fabio Margarido

Hey there guys,

I've been doing some more tests and noticed that if I have an established
dialog and receive (using sofsip-cli) a BYE without a tag in the To header,
Sofia accepts the BYE and answers with 200 OK. If I'm not mistaken, that's
obsoleted RFC 2543 behavior, right? I guess the correct behavior would be to
send a 481.
Let me know if you need any further info.
Thanks

Fabio Margarido
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] [ sofia-sip-Bugs-1624446 ] nua_destroy() blocks if root is created with su_glib

2007-02-06 Thread SourceForge.net
Bugs item #1624446, was opened at 2006-12-29 18:14
Message generated for change (Comment added) made by kaiv
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=756076aid=1624446group_id=143636

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: None
Status: Closed
Resolution: Fixed
Priority: 7
Private: No
Submitted By: Kai Vehmanen (kaiv)
Assigned to: Nobody/Anonymous (nobody)
Summary: nua_destroy() blocks if root is created with su_glib

Initial Comment:
Calling nua_destroy() will block indefinetily if the the nua root object was 
created with su_glib_root_create (i.e. glib mainloop is used to drive the 
Sofia-SIP stack).


--

Comment By: Kai Vehmanen (kaiv)
Date: 2007-02-06 18:45

Message:
Logged In: YES 
user_id=25486
Originator: YES

Fixed in darcs tree 2007-02-06.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=756076aid=1624446group_id=143636

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Sofia accepts BYE without To tag

2007-02-06 Thread Pekka Pessi
On 2/6/07, Fabio Margarido [EMAIL PROTECTED] wrote:
 I've been doing some more tests and noticed that if I have an established
 dialog and receive (using sofsip-cli) a BYE without a tag in the To header,
 Sofia accepts the BYE and answers with 200 OK. If I'm not mistaken, that's
 obsoleted RFC 2543 behavior, right? I guess the correct behavior would be to
 send a 481.

You are completely right... I wonder what happens here. Something
fishy in nta. ;-/

-- 
Pekka.Pessi mail at nokia.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel