[Sofia-sip-devel] Conflict with IE 7 and wininet.dll

2007-05-30 Thread brian_moody
Has anyone experienced a conflict with Sofia SIP when using it on a PC that has 
Internet Explorer 7 on it?  I'm seeing an issue with this in our application, 
but I haven't yet gotten to the bottom of it.  I'm just using Sofia SIP for its 
SIP parsing functionality and don't need anything from wininet that I'm aware 
of, but I don't know how to disable its usage.

Brian


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] 900 Internal NUA Error?

2007-05-30 Thread Jerry Richards
Hello All,

If I attempt to unregister a registered NUA (in preparation for shutdown), I
encounter a 900 Internal NUA Error nua_r_unregister callback event.  I am
currently using version 1.12.4.

Here are the debug logs for the life of the NUA, from creation to
registration to unregistration:

su_root_threading(self=0x1001fca8, enable=0)
   ...su_root_threading() returned 0x0
   Creating sofia-sip NUA...
   appl-root=0x1001fca8, tempID=sip:192.168.72.82:5063
nua_create(root=0x1001fca8, callback=0x427590, magic=0x10006c08,
url='sip:192.168.72.82:5063')
nua: nua_create: entering
nua: nua_stack_init: entering
nua: nua_stack_set_params: entering
soa_create(default, 0x10022c70, 0x10024cb8) called
soa_set_params(static::0x10025008, ...) called
nta_agent_create: initialized hash tables
nta_agent_create: initialized transports
nta_agent_create: initialized random identifiers
nta_agent_create: initialized timer
nta_agent_create: initialized resolver
tport_create(): 0x10026298
nta: master transport created
tport_bind_server(0x10026298) to */192.168.72.82:5063/sip
tport_bind_server(0x10026298): calling tport_listen for udp
tport_alloc_primary(0x10026298): new primary tport 0x10026690
tport_listen(0x10026690): listening at udp/192.168.72.82:5063/sip
tport_bind_server(0x10026298): calling tport_listen for tcp
tport_alloc_primary(0x10026298): new primary tport 0x10026928
tport_listen(0x10026928): listening at tcp/192.168.72.82:5063/sip
nta: bound to (192.168.72.82:5063;transport=*)
nta: agent_init_via: SIP/2.0/udp 192.168.72.82:5063 (sip)
nta: agent_init_via: SIP/2.0/tcp 192.168.72.82:5063 (sip)
nta: Via fields initialized
nta: Contact header created
nua_register: Adding contact URL '192.168.72.82' to list.
   ...nua_create() returned mkData[la].pLine-hLine=0x100249f0

...

   Invoking nua_handle() with 'sip:[EMAIL PROTECTED]:5060'
nua_handle(nua=0x100249f0, hmagic=0x10006c08,
url='sip:[EMAIL PROTECTED]:5060')
nua: nh_create_handle: entering
   ...nua_handle() returned handle=0x100308f8
nua_register(nh=0x100308f8)
nua: nua_register: entering

...

ce_SipEventCb: Rcvd event for nua=0x100249f0, magic=0x10006c08,
nh=0x100308f8, hmagic=0x10006c08, sip=0x1002c6b4
   event: 200 OK (pMkData-mk=MK3=hLine=0x100249f0)
   Rcvd nua_r_register event

...

nua_handle(nua=0x100249f0, hmagic=0x10006c08)
nua: nua_event: entering
nua: nh_create_handle: entering
   ...nua_handle() returned handle=0x1002da98
nua_unregister(nh=0x1002da98)
nua: nua_unregister: entering

...

ce_SipEventCb: Rcvd event for nua=0x100249f0, magic=0x10006c08,
nh=0x1002da98, hmagic=0x10006c08, sip=0x0
   event: 900 Internal NUA Error (pMkData-mk=MK3=hLine=0x100249f0)
   Rcvd nua_r_unregister event
   Reporting Event...


Best Regards,
Jerry


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] 900 Internal NUA Error?

2007-05-30 Thread Michael Jerris
Doublecheck if this is still the case in the current darcs tree, I think
this has been resolved already post 1.12.6.

Mike


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:sofia-sip-
 [EMAIL PROTECTED] On Behalf Of Jerry Richards
 Sent: Wednesday, May 30, 2007 11:52 AM
 To: sofia-sip-devel@lists.sourceforge.net
 Subject: [Sofia-sip-devel] 900 Internal NUA Error?
 
 Hello All,
 
 If I attempt to unregister a registered NUA (in preparation for
shutdown),
 I
 encounter a 900 Internal NUA Error nua_r_unregister callback event.  I
am
 currently using version 1.12.4.
 
 Here are the debug logs for the life of the NUA, from creation to
 registration to unregistration:
 
 su_root_threading(self=0x1001fca8, enable=0)
...su_root_threading() returned 0x0
Creating sofia-sip NUA...
appl-root=0x1001fca8, tempID=sip:192.168.72.82:5063
 nua_create(root=0x1001fca8, callback=0x427590, magic=0x10006c08,
 url='sip:192.168.72.82:5063')
 nua: nua_create: entering
 nua: nua_stack_init: entering
 nua: nua_stack_set_params: entering
 soa_create(default, 0x10022c70, 0x10024cb8) called
 soa_set_params(static::0x10025008, ...) called
 nta_agent_create: initialized hash tables
 nta_agent_create: initialized transports
 nta_agent_create: initialized random identifiers
 nta_agent_create: initialized timer
 nta_agent_create: initialized resolver
 tport_create(): 0x10026298
 nta: master transport created
 tport_bind_server(0x10026298) to */192.168.72.82:5063/sip
 tport_bind_server(0x10026298): calling tport_listen for udp
 tport_alloc_primary(0x10026298): new primary tport 0x10026690
 tport_listen(0x10026690): listening at udp/192.168.72.82:5063/sip
 tport_bind_server(0x10026298): calling tport_listen for tcp
 tport_alloc_primary(0x10026298): new primary tport 0x10026928
 tport_listen(0x10026928): listening at tcp/192.168.72.82:5063/sip
 nta: bound to (192.168.72.82:5063;transport=*)
 nta: agent_init_via: SIP/2.0/udp 192.168.72.82:5063 (sip)
 nta: agent_init_via: SIP/2.0/tcp 192.168.72.82:5063 (sip)
 nta: Via fields initialized
 nta: Contact header created
 nua_register: Adding contact URL '192.168.72.82' to list.
...nua_create() returned mkData[la].pLine-hLine=0x100249f0
 
 ...
 
Invoking nua_handle() with 'sip:[EMAIL PROTECTED]:5060'
 nua_handle(nua=0x100249f0, hmagic=0x10006c08,
 url='sip:[EMAIL PROTECTED]:5060')
 nua: nh_create_handle: entering
...nua_handle() returned handle=0x100308f8
 nua_register(nh=0x100308f8)
 nua: nua_register: entering
 
 ...
 
 ce_SipEventCb: Rcvd event for nua=0x100249f0, magic=0x10006c08,
 nh=0x100308f8, hmagic=0x10006c08, sip=0x1002c6b4
event: 200 OK (pMkData-mk=MK3=hLine=0x100249f0)
Rcvd nua_r_register event
 
 ...
 
 nua_handle(nua=0x100249f0, hmagic=0x10006c08)
 nua: nua_event: entering
 nua: nh_create_handle: entering
...nua_handle() returned handle=0x1002da98
 nua_unregister(nh=0x1002da98)
 nua: nua_unregister: entering
 
 ...
 
 ce_SipEventCb: Rcvd event for nua=0x100249f0, magic=0x10006c08,
 nh=0x1002da98, hmagic=0x10006c08, sip=0x0
event: 900 Internal NUA Error (pMkData-mk=MK3=hLine=0x100249f0)
Rcvd nua_r_unregister event
Reporting Event...
 
 
 Best Regards,
 Jerry
 
 


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Sofia-sip-devel mailing list
 Sofia-sip-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 changes (2007-05-30)

2007-05-30 Thread Sofia-SIP Darcs Changes
This posting was generated automatically from darcs repo
http://sofia-sip.org/repos/sofia-sip.

Wed May 30 17:37:53 EEST 2007  [EMAIL PROTECTED]
  * m4/sac-su2.m4: added configure option --disable-tag-cast.
  
  Added SU_INLINE_TAG_CAST into sofia-sip/su_configure.h{,.in}.
  Using SU_INLINE_TAG_CAST in
sofia-sip/sip_tag.h{,.in}
sofia-sip/http_tag.h{,.in}
sofia-sip/su_tag.h
sofia-sip/su_tag_io.h
sofia-sip/auth_module.h
sofia-sip/nth_tag.h
sofia-sip/nua_tag.h
  

M ./libsofia-sip-ua/http/sofia-sip/http_tag.h.in -3 +3
M ./libsofia-sip-ua/iptsec/sofia-sip/auth_module.h -1 +1
M ./libsofia-sip-ua/nth/sofia-sip/nth_tag.h -2 +2
M ./libsofia-sip-ua/nua/sofia-sip/nua_tag.h -1 +1
M ./libsofia-sip-ua/sip/sofia-sip/sip_tag.h.in -3 +3
M ./libsofia-sip-ua/su/sofia-sip/su_configure.h.in +3
M ./libsofia-sip-ua/su/sofia-sip/su_tag.h -1 +1
M ./libsofia-sip-ua/su/sofia-sip/su_tag_io.h -1 +1
M ./m4/sac-su2.m4 +15

Mon May 28 12:32:26 EEST 2007  [EMAIL PROTECTED]
  * RELEASE: updated.

M ./RELEASE +3

Mon May 28 11:59:28 EEST 2007  [EMAIL PROTECTED]
  * m4/sac-su.m4: moved contents into sac-s2.m4

M ./Makefile.am -1 +1
M ./configure.ac -1
R ./m4/sac-su.m4
M ./m4/sac-su2.m4 -8 +11

Mon May 28 11:58:05 EEST 2007  [EMAIL PROTECTED]
  * su.c: making all sockets non-blocking by default.

M ./libsofia-sip-ua/su/su.c -2 +6
M ./libsofia-sip-ua/su/torture_su.c +2

Mon May 28 11:57:08 EEST 2007  [EMAIL PROTECTED]
  * test_nth.c: using non-blocking connect in test program, too.

M ./libsofia-sip-ua/nth/test_nth.c +1
M ./libsofia-sip-ua/stun/stun.c +1

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] LoadLibrary fails on Sofia library

2007-05-30 Thread brian_moody
When I link my DLL (ABC.DLL) to libsofia_sip_ua.lib/dll, a LoadLibrary call on 
ABC.DLL fails due to an Invalid access to memory location.  The actual 
failure occurs when a DLL (XYZ.DLL), whose load is triggered by ABC.DLL, calls 
into wininet.dll.  Any help on this would be greatly appreciated.  

Brian

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] LoadLibrary fails on Sofia library

2007-05-30 Thread Michael Jerris
Confirm that you are using the same C runtime library for all the dll's
used in the process.  Mixing debug/release and static/dynamic runtimes
can cause this.

Mike


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:sofia-sip-
 [EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
 Sent: Wednesday, May 30, 2007 6:39 PM
 To: sofia-sip-devel@lists.sourceforge.net
 Subject: [Sofia-sip-devel] LoadLibrary fails on Sofia library
 
 When I link my DLL (ABC.DLL) to libsofia_sip_ua.lib/dll, a LoadLibrary
 call on ABC.DLL fails due to an Invalid access to memory location.
The
 actual failure occurs when a DLL (XYZ.DLL), whose load is triggered by
 ABC.DLL, calls into wininet.dll.  Any help on this would be greatly
 appreciated.
 
 Brian
 


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Sofia-sip-devel mailing list
 Sofia-sip-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] LoadLibrary fails on Sofia library

2007-05-30 Thread brian_moody
I'm not totally clear on how the C runtime lib wors, but your suggestion lead 
to the solution.  I was statically linking in sofia, but dynamically linking 
everything else.  Once I change sofia to dynamic, this solved the problem.  
Thanks!!  


-Original Message-
From: Michael Jerris [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 5:01 PM
To: [EMAIL PROTECTED]; sofia-sip-devel@lists.sourceforge.net
Subject: RE: [Sofia-sip-devel] LoadLibrary fails on Sofia library

Confirm that you are using the same C runtime library for all the dll's
used in the process.  Mixing debug/release and static/dynamic runtimes
can cause this.

Mike


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:sofia-sip-
 [EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
 Sent: Wednesday, May 30, 2007 6:39 PM
 To: sofia-sip-devel@lists.sourceforge.net
 Subject: [Sofia-sip-devel] LoadLibrary fails on Sofia library
 
 When I link my DLL (ABC.DLL) to libsofia_sip_ua.lib/dll, a LoadLibrary
 call on ABC.DLL fails due to an Invalid access to memory location.
The
 actual failure occurs when a DLL (XYZ.DLL), whose load is triggered by
 ABC.DLL, calls into wininet.dll.  Any help on this would be greatly
 appreciated.
 
 Brian
 


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Sofia-sip-devel mailing list
 Sofia-sip-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel