Re: [Sofia-sip-devel] Event Field From NOTIFY Not Included in 200 OK

2008-01-11 Thread Pekka Pessi
2008/1/8, Jerry Richards [EMAIL PROTECTED]:
 When I invoke a consultative transfer operation using nua_refer(), sofia-sip
 does not include the Event: refer;id=93773887 field in the 200 OK reply to
 a NOTIFY.

 Here is the sequence beginning with two calls active (one on-hold awaiting
 transfer).

 1) Phone sends REFER (i.e. nua_refer())
 2) Server sends 202 Accepted
 3) Server sends NOTIFY (Subscription-state: active and Event:
 refer;id=93773887)
 4) Phone sends 200 OK (but Event: header field is MISSING)
 5) Server sends NOTIFY (Subscription-state: terminated and Event:
 refer;id=93773887)
 6) Phone sends 200 OK (but Event: header field is MISSING)

 Do you know why sofia-sip is not including the Event: refer;id=93773887
 field in the 200 OK in this scenario?

Event header is a request header, not a response header. RFC3265:

   Header field  where proxy ACK BYE CAN INV OPT REG PRA SUB NOT
   -
   Allow-EventsR  o   o   -   o   o   o   o   o   o
   Allow-Events   2xx -   o   -   o   o   o   o   o   o
   Allow-Events   489 -   -   -   -   -   -   -   m   m
   Event   R  -   -   -   -   -   -   -   m   m
   Subscription-State  R  -   -   -   -   -   -   -   -   m

Why should phone include Event in 200 OK?

-- 
Pekka.Pessi mail at nokia.com

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Fwd: Problems on win32 with latest window SDK

2008-01-11 Thread Michael Jerris



Begin forwarded message:


From: Michael Jerris [EMAIL PROTECTED]
Date: January 11, 2008 9:34:37 AM GMT-05:00
To: Pekka Pessi [EMAIL PROTECTED]
Subject: Re: [Sofia-sip-devel] Problems on win32 with latest window  
SDK


My fix for this one is:

Index: sofia-sip/su.h
===
--- sofia-sip/su.h  (revision 6643)
+++ sofia-sip/su.h  (revision 6644)
@@ -67,7 +67,7 @@
#  include winsock2.h
#  include ws2tcpip.h
#  if SU_HAVE_IN6
-#if defined(IPPROTO_IPV6)
+#if defined(IPPROTO_IPV6) || (_WIN32_WINNT = 0x0600)
/* case 1: IPv6 defined in winsock2.h/ws2tcpip.h */
#else
/* case 2: try to use IPv6 Tech Preview */

it should not require additional includes beyond this.

Mike

On Jan 11, 2008, at 8:48 AM, Pekka Pessi wrote:


2008/1/9, Francesco Lamonica [EMAIL PROTECTED]:

Hi, i found a problem on win32 with the latest windows SDK (the one
with vista support)
in su.h (line 73 - sofia 1.12.7) it does not enter in the then
branch of the #if defined(IPPROTO_IPV6) and tries to use the
nonexistent tpipv6.h


thing is that with previous windows platform sdk (windows server  
2003

R2) the IPPROTO_IPV6 was defined in the winsock2.h header file
(included from su.h) hence the definition was correctly found)


Hm. How this should be fixed? Does  do you have to include an another
include file with Vista SDK?

--
Pekka.Pessi mail at nokia.com

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] wengo, strange ack?

2008-01-11 Thread Pekka Pessi
2008/1/4, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Looks like I will have to get in sofia's code. However, I don't now the very
 insides of SIP and sofia-sip,  so I think it will take quite a long time.

 On the other side, if anyone is interested in this,  this error is thrown
 with sofsip-cli too.

I think I fixed the bugs last Friday... I'd appreciate if you could do
testing with the latest code from darcs repo and confirm that the
problems have been fixed.

-- 
Pekka.Pessi mail at nokia.com

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] UA Behavior Following REFER Method

2008-01-11 Thread Pekka Pessi
2008/1/8, Jerry Richards [EMAIL PROTECTED]:
 Do you all agree that the transferor should transmit the BYE for the first
 (held) leg in this scenario?

I think that is the right thing to do. Have a peek in
draft-ietf-sipping-service-examples.

The

http://www.tech-invite.com/Ti-sip-service-5.html#fig0

has examples in nice graphic form, too.

-- 
Pekka.Pessi mail at nokia.com

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Problems on win32 with latest window SDK

2008-01-11 Thread Pekka Pessi
2008/1/9, Francesco Lamonica [EMAIL PROTECTED]:
 Hi, i found a problem on win32 with the latest windows SDK (the one
 with vista support)
 in su.h (line 73 - sofia 1.12.7) it does not enter in the then
 branch of the #if defined(IPPROTO_IPV6) and tries to use the
 nonexistent tpipv6.h

 thing is that with previous windows platform sdk (windows server 2003
 R2) the IPPROTO_IPV6 was defined in the winsock2.h header file
 (included from su.h) hence the definition was correctly found)

Hm. How this should be fixed? Does  do you have to include an another
include file with Vista SDK?

-- 
Pekka.Pessi mail at nokia.com

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel