[Sofia-sip-devel] Build errors on Visual Studio 2008
Hi, I get hundreds of build errors using Visual Studio 2008 using latest git version. I ran autogen.cmd as instructed. The first errors are: c:\temp\sofia-sip-git\libsofia-sip-ua\msg\msg_basic.c(82) : error C2065: 'msg_error_hash' : undeclared identifier c:\temp\sofia-sip-git\libsofia-sip-ua\msg\msg_basic.c(82) : error C2099: initializer is not a constant c:\temp\sofia-sip-git\libsofia-sip-ua\msg\msg_basic.c(82) : error C2065: 'msg_error_d' : undeclared identifier c:\temp\sofia-sip-git\libsofia-sip-ua\msg\msg_basic.c(82) : error C2099: initializer is not a constant c:\temp\sofia-sip-git\libsofia-sip-ua\msg\msg_basic.c(82) : error C2065: 'msg_error_e' : undeclared identifier c:\temp\sofia-sip-git\libsofia-sip-ua\msg\msg_basic.c(82) : error C2099: initializer is not a constant ... and so on. It should be noted that I also got several warning/error messages running autogen.cmd: C:\Temp\sofia-sip-git\win32gawk -v BINMODE=rw -f ../libsofia-sip-ua/msg/msg_parser.awk module=msg NO_FIRST=1 NO_LAST=1 PR=../libsofia-sip-ua/msg/sofia-sip/msg_mime_protos.h ../libsofia-sip-ua/msg/sofia-sip/msg_mime.h 0NUL multipart mismatch with Recursive multipart () ... C:\Temp\sofia-sip-git\win32gawk -v BINMODE=rw -f ../libsofia-sip-ua/msg/msg_parser.awk module=sip PT=../libsofia-sip-ua/sip/sip_parser_table.c TEMPLATE=../libsofia-sip-ua/sip/sip_parser_table.c.in FLAGFILE=../libsofia-sip-ua/sip/sip_bad_mask MC_HASH_SIZE=127 MC_SHORT_SIZE=26 ../libsofia-sip-ua/sip/sofia-sip/sip.h ../libsofia-sip-ua/sip/sip_extra_headers.txt 0NUL ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header ./libsofia-sip-ua/sip/sip_bad_mask: unknown header Other commands in autogen.cmd completed OK. Any help will be greatly appreciated. Thanks, Ron -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
Re: [Sofia-sip-devel] Memory allocation problem on windows, Sorry It s nua_stack.c file :)
On 10/01/2011 23:59, Pekka Pessi wrote: Hi Philippe, 2010/12/29 Philippe Maymatpmay...@keyyo.com: I made several modifications to compile cotrrectly the SOFIA-SIP project with Visual studio 8. There is mistakes on both project files for static and dynamic library on line 4305 and 3216. There was/files/files instead of/files. With this modification the XML is valid and the project cn be loaded. Thanks for reporting this, I've fixed the problem. I need to add smoothsort.c in static lib project which is forgotten too. ...and added this one, too. Now it works but It seem I have a big memory leak, software crash during subscribe... My project works well on linux (QT project) and it is the same revision of SOFIA-SIP I use th version from this repository : git://gitorious.org/sofia-sip/sofia-sip.git Is it correct ? Because I do not had problem with the old cvs version but this doesn't work for me on windows ... Now I try to debug and find why it crashes, but it's very hard ... I often have error in nta.c line 2388 because of a corrupted content in strucures. I have this problem in both static and dynamic lib linking Can you run the test cases? The check.cmd script should run them. Thanks for you answer, it works perfectly now it was just a mix of lib versions in my project. Thank you again for your help. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ 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-sip-devel] digest authorization using HA1 directly
Attached is hack to use HA1 with sofia-sip Example: nua_authenticate(nh, SIPTAG_EXPIRES_STR(3600), NUTAG_AUTH(authentication), TAG_END()) where authentication is string: Digest-HA1:realm:user:HA1 Paulo On Tue, Jan 11, 2011 at 5:42 PM, Paulo Vicentini vicentini.pa...@gmail.comwrote: Hi Pekka Thanks for commenting , I will give it a try. Regards Paulo On Mon, Jan 10, 2011 at 9:20 PM, Pekka Pessi ppe...@gmail.com wrote: Hi Paulo, 2010/12/18 Paulo Vicentini vicentini.pa...@gmail.com: Thanks for your tips If It uses a Digest-HA1 scheme, it would need to receive the same from the registrar server (matching schemes). It would be good to be server agnostic (Digest) int ca_credentials(... ... ... if ((scheme != NULL !su_casematch(scheme, ca-ca_scheme)) || (realm != NULL !su_strmatch(realm, ca-ca_realm))) return 0; It needs to somehow to ignore above code, maybe checking for Digest-HA1 Yes, the ca_credentials should somehow magically match the Digest-HA1 with Digest, and somehow store the HA1 in the auth_client_t structure so that the digest algorithm itself would recognize the HA1. The current authentication client design does not support that very well. -- Pekka.Pessi mail at nokia.com ha1-sofia.patch Description: Binary data -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Format of contact header
Hi, we are looking for a method to put transport tags into the contact header field of an invite message. With nua_invite(m_handle, SIPTAG_CONTACT_STR( sip:100.100.100.100:5160;tansport=tcp ) , we get Contact: sip: 100.100.100.100:5160;transport=tcp In the INVITE message Is it possible to input the contact header into nua_invite to get Contact: sip: 100.100.100.100:5160;transport=tcp In the INVITE message? Thank you for your help Stefan -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
[Sofia-sip-devel] Multi home and sofia-sip
Hi; I remember there was a limitation with Sofia-SIP and multi-home hosts ( in my case is a device ). I do not remember if it was the Via header not populated correctly or the transport was not selected correctly. There was any improvement in this area ?? Why am I asking ? I need to support network changing on the fly during an active call. If the device changes network, from 3g to wifi or vice-versa, during an active call, the application has to be notified and do whatever needed to continue the call without user intervention. If NUA was initialized with the 3G address how can I move the call to WiFi -- I need to change the Contact and SDP, so I need to send a re-invite/update, but NUA is not aware of the WiFi transport. Inca -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel