[Sofia-sip-devel] Updates in CVS

2006-01-25 Thread Pekka Pessi
argument crashes some versions gawk. --Pekka 2006-01-25 Pekka Pessi [EMAIL PROTECTED] * Updated autoconf macros. Using cache for various checks. Deprecated HAVE_LONG_LONG (use #ifdef longlong instead). Collected information used by su_localinfo.c to one place. M ./libsofia-sip-ua/su

Re: [Sofia-sip-devel] Will it work in sofia-sip?

2006-02-13 Thread Pekka Pessi
Hello, Marcin, On 2/13/06, Marcin Michalak [EMAIL PROTECTED] wrote: I need to implement the following scenario for the project that I'm developing. The call is established as follows: INVITE 183 Session Progress PRACK 200 OK PRACK UPDATE 200 OK UPDATE 180

Re: [Sofia-sip-devel] PRACK authentication...

2006-02-14 Thread Pekka Pessi
On 2/13/06, Colin Whittaker [EMAIL PROTECTED] wrote: I am working on an inter operation with a switch which requires all setup messages to be authenticated, and uses reliable provisional responses. Here is their call flow: sofia-sip Switch INVITE 401 ACK INVITE(auth)

[Sofia-sip-devel] header prefix sofia-sip: pkg-config patch against 1.11.6

2006-02-15 Thread Pekka Pessi
Hello all, Just to ease the pain if you happen to have lot of sources lying around and miss or mistrust sed. Here is a patch that you can apply to the 1.11.6 in order to get pkg-config to add both /usr/local/include/sofia-sip-1.11 and /usr/local/include/sofia-sip-1.11/sofia-sip to your include

[Sofia-sip-devel] ANN: sofia-sip-2543 1.11.6

2006-02-20 Thread Pekka Pessi
Hello all, The sofia-sip-2543 package contains an example of extending Sofia-SIP parser. The parser is extended with some deprecated headers from earlier SIP specification RFC 2543 like Also, Hide and so on. -- Pekka.Pessi mail at nokia.com README Description: Binary data

[Sofia-sip-devel] FYI: Pekka and Martti in FOSDEM

2006-02-20 Thread Pekka Pessi
Hello again, I and Martti are going to attend FOSDEM 2006 fosdem.org in Brussels next weekend. If you want to discuss Sofia SIP and related stuff (or life, unixverse and everything) with us irl, please drop a hint... -- Pekka.Pessi mail at nokia.com

Re: [Sofia-sip-devel] MULTI DNS

2006-03-08 Thread Pekka Pessi
On 3/6/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I'm interested with the Sofia DNS Resolver. I'm studying it, and I have some questions about it: What is its policy concerning multiple DNS nameserver ? I mean, if we have several DNS nameserver, how does the resolver balance the load ?

[Sofia-sip-devel] Updated nua in darcs/CVS

2006-03-09 Thread Pekka Pessi
with dialog handling code. --Pekka 2006-03-08 Pekka Pessi [EMAIL PROTECTED] * Renamed sofia-sip/features.h as sofia-sip/sofia_features.h. M ./RELEASE +3 M ./configure.ac -1 +1 M ./libsofia-sip-ua/features/Makefile.am -1 +1 M ./libsofia-sip-ua/features/sofia-sip/features.h.in -2

[Sofia-sip-devel] Release 1.11.7 available

2006-03-14 Thread Pekka Pessi
Hello all, I've uploaded the latest release (1.11.7) to sf.net. The major new feature here is the glib bindings, thanks to Rob Taylor. -- Pekka.Pessi mail at nokia.com Release notes for Sofia-SIP version 1.11.7 (2006-03-14) === Sofia-SIP is an

Re: [Sofia-sip-devel] nua_unregister() crash.

2006-04-10 Thread Pekka Pessi
On 4/5/06, Colin Whittaker [EMAIL PROTECTED] wrote: It appears the stack crashes if you execute nua_unregister() when there has never been a successful registration. I think this is a bug. The function register_expires_contacts() should check to make sure the parameter sip is not NULL before

Re: [Sofia-sip-devel] Multi-Threading Problemes

2006-04-21 Thread Pekka Pessi
On 4/20/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I have taken a look to your new interface, and it should fit my goals. Before changing the architecture of my program, I would appreciate if you confirm my understanding. Great. In this version, the cache can be shared between several

Re: [Sofia-sip-devel] stun compilation under windows

2006-04-26 Thread Pekka Pessi
On 4/20/06, Dimitri E. Prado [EMAIL PROTECTED] wrote: It seems that all stun*.c files need conditionals like #if HAVE_FUNC ... I added the #if HAVE_FUNC thing to stunc.c, which missed it and used __func__. What's the peferred way to report such things, do you prefer to have it added directly

[Sofia-sip-devel] Re: socketpair for DnsResolver

2006-04-27 Thread Pekka Pessi
On 4/26/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I was wondering if the creation of socketpair was required in my Case? This is a big problem for me cause when there is a high number of request I always have a socketpair error - too many open files. Is this socketpair useful for my

Re: [Sofia-sip-devel] Multi-Threading Problemes

2006-04-27 Thread Pekka Pessi
On 4/27/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: Why the cache-cache_home is not put to su_home_threading in the function sres_cache_new ? Does the problems with multi threading come from that? That sounds plausible. Indeed, I've add this line in sres_cache_new, and a UNLOCK(cache)

Re: [Sofia-sip-devel] Memory Leak.....

2006-04-27 Thread Pekka Pessi
On 4/26/06, Colin Whittaker [EMAIL PROTECTED] wrote: Here are my CVS diffs which fix the handle leaking problem. I also fixed a couple of NULL pointer problems. Thanks Colin. I merged the auc_authorize() and process_cancel() patches, however, slightly modified. They are now in darcs at

Re: [Sofia-sip-devel] Memory Leak...

2006-04-28 Thread Pekka Pessi
On 4/20/06, Colin Whittaker [EMAIL PROTECTED] wrote: Now for my real question,... Is there some documentation on how the su memory allocation routines keep track of memory ? There is a short introduction text in http://sofia-sip.sourceforge.net/refdocs/su/group__su__alloc.html There seems to

Re: [Sofia-sip-devel] sofia-sip terminate_call() error

2006-04-28 Thread Pekka Pessi
On 4/26/06, Saurav SAHU [EMAIL PROTECTED] wrote: When I terminate an established outgoing call from my application, the stack correctly sends a BYE message to end the call. However, when I try to terminate an established incoming call to my application, the stack reports the following error:

Re: [Sofia-sip-devel] Another Small Memory Leak.

2006-05-02 Thread Pekka Pessi
On 4/28/06, Colin Whittaker [EMAIL PROTECTED] wrote: Here are my diffs from cvs. Sorry, I'm still not up on darcs... Thanks for the patches. Unfortunately they do not apply cleanly, I'll go through them and update CVS. Additionally, I changed auth_get_params() to use su_strdup() for

[Sofia-sip-devel] Updated nua, iptsec, su headers in CVS

2006-05-03 Thread Pekka Pessi
Also some random changes in nta/sip/tport. It looks like win32 works again. Whee. --Pekka 2006-05-03 Pekka Pessi [EMAIL PROTECTED] * Not using SU_MSG_RINITIALIZER anymore. Fixed nta/nta.c, nth/nth_client.c, su/su_root.c. * Added SOFIAPUBFUN and SOFIAPUBVAR

[Sofia-sip-devel] Re: LOST in Cache BUG FIND?

2006-05-04 Thread Pekka Pessi
On 5/4/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I think , Ihave found where the problem come from ... Tell me if i'm wrong: In sres.c, when you do a sres_get_domain() or a sres_get_string(), the memory for the string is allocated is res-res_home... but it should be allocated in

Re: [Sofia-sip-devel] problem: keep-alive options and proxy-auth

2006-05-05 Thread Pekka Pessi
On 5/5/06, Kai Vehmanen [EMAIL PROTECTED] wrote: hmm, it seems that if stack ends up selecting OPTIONS as the keep-alive mechanism, but the proxy challenges the OPTIONS, the stack does not quite work right - the 407 is never delivered to the client which could authorize it (that's my guess,

Re: [Sofia-sip-devel] su_home_copy(src,dest) ?

2006-05-09 Thread Pekka Pessi
On 5/9/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I was wondering if it was possible to copy a su_home_t object into an other su_home_t object. Nope, there is not. In my case, I need to parse the resolv.conf file once, and not each time I want to resolve a dnsRequest. To do so, I would

Re: [Sofia-sip-devel] The MAIL of le the last chance

2006-05-11 Thread Pekka Pessi
On 5/11/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I' have done my dns resolution solution . And I do not know why, sometimes, randomly I got bugs which makes my program failed. (Assertion failure, or sup-tid different from thread pid ! Whereas my root objects are always used with the same

Re: [Sofia-sip-devel] The MAIL of le the last chance

2006-05-11 Thread Pekka Pessi
On 5/11/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I have it when the sup_tid is different from thread pid:) in the su_root_destroy() ---assert(SU_ROOT_OWN_THREAD(self)) How do you call su_root_destroy()? Do you su_root_break() if you are in callback, and call su_root_destroy() only after

Re: [Sofia-sip-devel] BUG : sres_create_error_rr

2006-05-11 Thread Pekka Pessi
On 5/11/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I'have found a little bug in sres_create_error_rr. (in the last version not in previous) sr-sr_name = q-q_name should be remplaced by : sr-sr_name = sres_toplevel(...) Because if not, the last dot of a domain name is forgot by the

Re: [Sofia-sip-devel] support multiple Endpoints?

2006-05-16 Thread Pekka Pessi
On 5/12/06, H. L. [EMAIL PROTECTED] wrote: Can any one tell me if it's convenient to modify the application so that sofia-sip could support multiple Endpoints? How the multiple endpoints should be supported? I fyou are not planning to do anything fancy, you can just register multiple AoRs

Re: [Sofia-sip-devel] The MAIL of le the last chance

2006-05-16 Thread Pekka Pessi
On 5/16/06, Thomas Rosenblatt [EMAIL PROTECTED] wrote: I'have often problems with su_timer, (su_timer_destroy fails, su_timer_set_for_ever etc...) Or sometimes I have a su_port_own_thread assertion what is really weird since su_root_t object is always used with the same thread... Here is the

[Sofia-sip-devel] Sofia-SIP release 1.11.8 available

2006-05-16 Thread Pekka Pessi
Long time, no release. We have just uploaded 1.11.8 into sourceforge today. The release is avaibale from darcs, too, but I have to figure out how to get the new CVS system works with our firewall before updating CVS. Have fun! //Pekka -- Pekka.Pessi mail at nokia.com Release notes for

Re: [Sofia-sip-devel] INVITE Authentication broken....

2006-05-17 Thread Pekka Pessi
On 5/17/06, Colin Whittaker [EMAIL PROTECTED] wrote: I upgraded to the top of darcs today, and it appears INVITE authentication is not working. I call nua_authenticate() in the callback with nua_r_invite, status 401, but the second INVITE does not have any Authorization header. Thanks for

Re: [Sofia-sip-devel] Memory leak ???

2006-05-17 Thread Pekka Pessi
On 5/17/06, Colin Whittaker [EMAIL PROTECTED] wrote: I think I have traced my growing memory size down to msg headers which seem to multiply on each REGISTER refresh and SUBSCRIBE refresh. It appears these headers are removed with msg_header_remove(), but not freed. Shouldn't msg_header_remove()

Re: [Sofia-sip-devel] Another ca_challenge issue.

2006-05-23 Thread Pekka Pessi
On 5/23/06, Colin Whittaker [EMAIL PROTECTED] wrote: ... ca_challenge() doesn't see this as a new challenge and returns 0, so there is never a new REGISTER generated using the new nonce after I call nua_authenticate(). It looks like the ca_challenge() just trusts that the server adds

Re: [Sofia-sip-devel] How to add SIPTAG_CONTACT to nua_handle object for incoming INVITE?

2006-05-23 Thread Pekka Pessi
On 5/19/06, Legostayev Denis [EMAIL PROTECTED] wrote: I want to use Sofia-sip library for developing application that will be work with mulitiple users (gateway). Therefore i need custom Contact header in calls associated with particular user. In case of outgoing INVITE it can be specified with

Re: [Sofia-sip-devel] Invalid URI...

2006-06-07 Thread Pekka Pessi
On 6/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My aor start with sip. ` Hm. Does your application manage to send REGISTER? Set environment variable TPORT_LOG and try to see what kind of message is sent to voip.wengo.fr? There are critical things like the Request-URI on first line, first

Re: [Sofia-sip-devel] using rfc 3312

2006-06-08 Thread Pekka Pessi
On 6/7/06, Luca Colantonio [EMAIL PROTECTED] wrote: hi, I would like to write a client supporting rfc 3312. is there any documente explaining how to send an invite with the right lines? i mean: in the sdp there would be lines such as a:des=qos and so on... We have only faked the RFC

Re: [Sofia-sip-devel] possible memory leak

2006-06-08 Thread Pekka Pessi
∇in 6/6/06, Tiago Loureiro [EMAIL PROTECTED] wrote: Hello again, I have sent my code in attachment, would be thankful if someone could have a look at it... Yes, I have used valgrind but no memory leaks are detected. This happens because the application is simply allocating memory but not

Re: [Sofia-sip-devel] multiple endpoints thread

2006-07-24 Thread Pekka Pessi
On 7/20/06, adi baron [EMAIL PROTECTED] wrote: Can any one tell me if it's convenient to modify the application so that sofia-sip could support multiple Endpoints? How the multiple endpoints should be supported? I fyou are not planning to do anything fancy, you can just register multiple AoRs

Re: [Sofia-sip-devel] SDP error

2006-07-24 Thread Pekka Pessi
On 7/8/06, Henry Duan [EMAIL PROTECTED] wrote: I input the local SDP in the tag SOATAG_USER_SDP_STR(m=audio 5004 RTP/AVP 8 0) when calling nua_invite, but the c line in SDP chose the local loopback address(127.x.x.x). So I added c line in this tag, SOATAG_USER_SDP_STR(c=IN IP4

Re: [Sofia-sip-devel] problems modifying sdp session with re-invite

2006-07-24 Thread Pekka Pessi
On 7/19/06, Legostayev Denis [EMAIL PROTECTED] wrote: It's seems that modifying session with outgoing re-INVITE (UPDATE) is slightly broken. For example, when i'm trying to send re-INVITE with NUTAG_HOLD(1), with call that already have been placed on hold by remote side a have got a core dump.

Re: [Sofia-sip-devel] nta_agent_create

2006-07-24 Thread Pekka Pessi
On 7/14/06, Luca Colantonio [EMAIL PROTECTED] wrote: hi I have a doubt about the function nta_agent_create. if i write: context-c_agent = nta_agent_create(context-c_root, URL_STRING_MAKE(o_bind), process_request,context, TAG_END()); it should create an nta agent that binds it self to

Re: [Sofia-sip-devel] can't put to work sofsip_cli

2006-07-24 Thread Pekka Pessi
On 7/24/06, Kai Vehmanen [EMAIL PROTECTED] wrote: But if the Asterisk is in the same network addressing domain, then this could be a bug (we shouldn't put the invalid-contact to the headers if there is no NAT between us and a registar). And based on the log, this would seem to be the case

Re: [Sofia-sip-devel] VxWorks support

2006-07-24 Thread Pekka Pessi
On 7/1/06, Henry Luan [EMAIL PROTECTED] wrote: Any suggestion if I need to port to non-Posix style system? How big could be the change? I guess the autoconf fails on vxworks environment. Then you need something like the win32 stuff: hand-made config.h and su_configure.h and hand-made

Re: [Sofia-sip-devel] confirm 0f8d46413c602394c1ac2b5f7a347b0cec34cf77

2006-08-28 Thread Pekka Pessi
On 8/28/06, Matt Klein [EMAIL PROTECTED] wrote: I need to be able to place in my From: tag: instead of From sip:12.34.56.789 it should be From sip:[EMAIL PROTECTED] You want to have a username part? A random tag is added by stack automatically, like From: sip:12.34.56.78;tag=865r86fge I am

Re: [Sofia-sip-devel] stateless proxy + registrar

2006-09-05 Thread Pekka Pessi
On 9/4/06, Johannes Eickhold [EMAIL PROTECTED] wrote: I'm writing a simple registrar + stateless proxy. I.e. the registrar part should handle register requests (within a leg) and all other kind of messages should be proxied statelessly. OK. Please remember that stateless proxying is, hmm, easy

Re: [Sofia-sip-devel] MSVC detected 64 bit issues.

2006-09-07 Thread Pekka Pessi
On 9/7/06, Pekka Pessi [EMAIL PROTECTED] wrote: Could you please check if win64 compiler still complains about size_t truncation? I forgot to tell about ai_addrlen. ai_addrlen or tp_addrlen are not yet casted explicitly to socklen_t, so you get warnings there. --Pekka -Original

Re: [Sofia-sip-devel] sofia-sip changes (2006-09-11)

2006-09-12 Thread Pekka Pessi
On 9/11/06, Michael Jerris [EMAIL PROTECTED] wrote: Please note, there was an error in the first patch below to su_alloc.c: sofia-sip\libsofia-sip-ua\su\su_alloc.c(551) : error C2065: 'REF_MAX' : undeclared identifier Thanks. Fixed. Also, please see attached another little patch to clean

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Pekka Pessi
On 9/14/06, Henrik Nordstrom [EMAIL PROTECTED] wrote: I added yesterday a tag called NUTAG_M_USERNAME() to nua ('M' stands for contact). Its contents will be used as the URL username when the stack generates the Contact header for nua_register(). Hope it helps. Looks like a good start.

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Pekka Pessi
register to us, on the nua side, how would you suggest we proceed? I'd propose creating a separate proxy/registrar. They can run within same process, but proxy/registrar must use nta directly. Do you have DHT in mind, or do you want clone Asterisk? ;-) --Pekka On Thu, 14 Sep 2006, Pekka Pessi

[Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Pekka Pessi
] On Behalf Of Pekka Pessi Sent: Thursday, September 14, 2006 5:13 AM To: Henrik Nordstrom Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header On 9/14/06, Henrik Nordstrom [EMAIL PROTECTED] wrote: I added yesterday a tag called

Re: [Sofia-sip-devel] compilation of Darcs version on Windows

2006-09-14 Thread Pekka Pessi
On 9/8/06, Kai Vehmanen [EMAIL PROTECTED] wrote: What is your awk version? (gawk --version says that mine is GNU Awk 3.1.3). I now got the very same error with gawk 3.1.5. I fixed the problem by setting success=0 instead of success=-1 in build_sources.awk. Hmm, Pekka, why is the =-1

Re: [Sofia-sip-devel] Yet another patch!

2006-09-15 Thread Pekka Pessi
On 9/13/06, Michael Jerris [EMAIL PROTECTED] wrote: Yet another patch from me, same story as before, this patch either corrects all remaining msvc 2005 level 4 warnings without the 64 bit compat warnings turned on. Thanks for the patch. This is educational, now I know the difference between

Re: [Sofia-sip-devel] Disabling automatic answer to Re-Invites

2006-09-15 Thread Pekka Pessi
On 9/15/06, Alberto Takeshi Mayama [EMAIL PROTECTED] wrote: Setting NUTAG_AUTOANSWER(0) on the handle itself helps, e.g., you can include it in nua_respond() tags or nua_invite(). setting the tag on the handle worked, but it must be done with a separate call to nua_set_hparams(). OK.

Re: [Sofia-sip-devel] INVITE message with multipart content

2006-09-20 Thread Pekka Pessi
On 9/19/06, victor [EMAIL PROTECTED] wrote: I'm need to send INVITE message with multipart content (application/sdp + application/ISUP). Can i do it with sofia lib? At nta, level, yes. At nua level, sorry, you have to do NUTAG_MEDIA_ENABLE(0) and handle SDP all by your own. If not, it's

Re: [Sofia-sip-devel] Release coming next week

2006-09-20 Thread Pekka Pessi
On 9/18/06, Colin Whittaker [EMAIL PROTECTED] wrote: Any chance of including authentication for PRACK ? Well, that one was easy. ;) -- Pekka.Pessi mail at nokia.com - Take Surveys. Earn Cash. Influence the Future of IT

[Sofia-sip-devel] Changes in darcs repo and win32

2006-09-25 Thread Pekka Pessi
Hello all, I renamed some test programs in su module. Unfortunately, that involved renaming or moving directories in win32/tests tree. darcs or at least all versions of darcs cannot cope with that if there happen to be extra files in those directories. So, if you use Visual C build stuff in

Re: [Sofia-sip-devel] NTLM authentication

2006-09-25 Thread Pekka Pessi
On 9/22/06, Nuno Centeio [EMAIL PROTECTED] wrote: I want to use your SIP library on a SIP client but I'm having problems finding the sources. First of all I can't see on the code what do you do with the first gssapi-data that the server sends. The other problem is that I like to find where

Re: [Sofia-sip-devel] MinGW

2006-09-25 Thread Pekka Pessi
On 9/18/06, Kai Vehmanen [EMAIL PROTECTED] wrote: tried using the latest gcc and CVS sofia-sip I get the following errors (btw I had to change -pthread to -pthreadVC2): ... Hmm, should '-pthreadVC2' be always the default for MinGW? ./.libs/libstun.a(stun_dns.o): In function

Re: [Sofia-sip-devel] sofia-sip changes (2006-09-26)

2006-09-27 Thread Pekka Pessi
On 9/27/06, Michael Jerris [EMAIL PROTECTED] wrote: Seem to break call flow on nua completely. We get no responses from them without reverting these patches. su_root_run() and su_wait() were broken. They should now be fixed. --Pekka -Original Message- From: [EMAIL PROTECTED]

Re: [Sofia-sip-devel] AUTHTAG_DB()

2006-10-05 Thread Pekka Pessi
On 10/3/06, Diego Betancor [EMAIL PROTECTED] wrote: for authentication (I am a server). I use AUTHTAG_DB() in a auth_mod_create() function. Does the authentication module checks by itself if there are new users:paaswd:realms? or how do I tell it to re-read the file? or do I need to destroy it

Re: [Sofia-sip-devel] gcc 4 -Wsign-compare warnings

2006-10-05 Thread Pekka Pessi
On 9/27/06, Michael Jerris [EMAIL PROTECTED] wrote: The attached patch attempts to begin to address -Wsign-compare warnings on gcc build both with and without --disable-size_compat specified for configure. Please verify that none of these break ABI. More patches on this topic to come.

Re: [Sofia-sip-devel] abort()

2006-10-07 Thread Pekka Pessi
On 10/7/06, Colin Whittaker [EMAIL PROTECTED] wrote: I've seen a few application exits that appear to be from abort() during bulk call testing. I only found abort() in libsofia-sip-ua/su/sofia-sip/htable.h Should this really be an abort() ? What would cause this ? assert() also calls

Re: [Sofia-sip-devel] Patches from irc, notifier: only send 100 when needed, and sdp in 200 when 183 w/o 100rel.

2006-10-09 Thread Pekka Pessi
On 10/7/06, Michael Jerris [EMAIL PROTECTED] wrote: These are the patches from irc from today. Thanks again for your help. Thanks. Did you get everything working, or is there still some problems with the 100rel case? Including SDP in 200 OK even after it has been sent in a PRACKed

[Sofia-sip-devel] RFC: Updated event handling in nua

2006-10-18 Thread Pekka Pessi
Hello all, I'd like to have feedback on the new kind of SIP event (RFC 3265) handling in NUA. Please voice your concerns if you are worried about the new API or if the API is still too restrictive or preventing interworking with some devices. * nua: accept incoming SUBSCRIBE if the Event

Re: [Sofia-sip-devel] SIPTAG_HEADER_STR

2006-10-20 Thread Pekka Pessi
On 10/19/06, Michael Jerris [EMAIL PROTECTED] wrote: When using SIPTAG_HEADER_STR in nua_invite, and possibly elsewhere, it is inserting the header after the Content-Length header, before the body. I think this is causing some serious issues when calling some phones. That sounds strange.

Re: [Sofia-sip-devel] Questions regarding to SDP/SOA

2006-10-20 Thread Pekka Pessi
On 10/19/06, Chung Pak Lai [EMAIL PROTECTED] wrote: I am a newbie to Sofia-Sip and right now I am exploring the SDP/SOA model that Sofia-sip provides. After going through the documentation and trying different stuff, I have the following list of questions: 1. I am currently using the SOA

Re: [Sofia-sip-devel] Un-subscribe problem..

2006-10-21 Thread Pekka Pessi
On 10/19/06, Colin Whittaker [EMAIL PROTECTED] wrote: But my issue is I am not getting an error status for this handle, and therefor don't clean it up. Here is the trace: I send nua_unsubscribe() on the handle with a successful subscription. I then get: nua_r_unsubscribe, status 100, phrase

Re: [Sofia-sip-devel] Replaces parameter

2006-10-21 Thread Pekka Pessi
On 10/21/06, Colin Whittaker [EMAIL PROTECTED] wrote: Is there a way to add the Replaces parameters to a Refer-To: SIP header ? You mean like refer-to: sip:[EMAIL PROTECTED] The Replaces header is encoded as query part of the SIP URI. I see a lot about the Replaces: header, but nothing about

Re: [Sofia-sip-devel] sofia-sip changes (2006-10-20)

2006-10-21 Thread Pekka Pessi
On 10/21/06, Kai Vehmanen [EMAIL PROTECTED] wrote: * nua_stack.c: send nua_r_authenticate error events to the application. M ./libsofia-sip-ua/nua/nua_stack.c -6 +11 hmm, this is a bit tricky. With the latest tree, I'm not getting a nua_r_register after a succesful authentication

Re: [Sofia-sip-devel] TCP send on packets over 1300 bytes.

2006-10-24 Thread Pekka Pessi
On 10/23/06, Michael Jerris [EMAIL PROTECTED] wrote: As stated in rfc 3261 18.1.1, sofia properly attempts to send TCP on messages over 1300 bytes, but it does not appear to attempt to resend via UDP if the TCP fails (after quite some time as stated: Do you receive ICMP or RESET on TCP

Re: [Sofia-sip-devel] abort()

2006-10-25 Thread Pekka Pessi
: sipuad: ./sipuad(tport_base_deliver+0x44) [0x100c8720] Time 22:16:08: sipuad: ./sipuad(tport_deliver+0x36c) [0x100c86a0] Time 22:16:08: sipuad: ./sipuad(tport_recv_event+0x40c) [0x100c8260] Pekka Pessi wrote: On 10/7/06, Colin Whittaker [EMAIL PROTECTED] wrote: I've seen a few

Re: [Sofia-sip-devel] Failure on make check, and race condition segfaults.

2006-10-25 Thread Pekka Pessi
On 10/24/06, Michael Jerris [EMAIL PROTECTED] wrote: I get the following failures on make check on linux: We are also now seeing a very strange race condition causing segfaults all over the place, these happen when attacking using sipp, with about 20 cps, after a minute or 2, they appear to be

Re: [Sofia-sip-devel] (no subject)

2006-10-25 Thread Pekka Pessi
On 10/25/06, Borislav Pechenyashki [EMAIL PROTECTED] wrote: I is it possible to register a couple of accounts using nua and then receive incoming calls for all the registered account (I need not only to receive the incoming calls, but also to know for which of the regstered accounts is the

Re: [Sofia-sip-devel] Un-subscribe problem..

2006-10-25 Thread Pekka Pessi
succeeds (it updates the username and password). Perhaps a special error code could be in order. --Pekka Pekka Pessi wrote: On 10/19/06, Colin Whittaker [EMAIL PROTECTED] wrote: But my issue is I am not getting an error status for this handle, and therefor don't clean it up. Here

Re: [Sofia-sip-devel] nta and CANCEL

2006-10-27 Thread Pekka Pessi
On 10/27/06, Diego Betancor [EMAIL PROTECTED] wrote: I am writing a server with nta. I would like to receive everything in the default leg (I keep a state machine with call-id, to, from) including PRACK. Right now if the client CANCEL, sofia sends a 200 OK and a 487 automatically without me

Re: [Sofia-sip-devel] Weird identity problem

2006-10-27 Thread Pekka Pessi
On 10/23/06, Colin Whittaker [EMAIL PROTECTED] wrote: I'm still running 1.12.3. I'm running multiple endpoints under a single nua. I am calling one endpoint to another via a proxy. What I see is the calling endpoint handle seems to first forget who the From: is, then looses the Contact:

Re: [Sofia-sip-devel] Weird identity problem

2006-10-27 Thread Pekka Pessi
in 10/28/06, Colin Whittaker [EMAIL PROTECTED] wrote: I assume you mean you see the problem in the trace, but can't figure what would cause this in the code. Yes... I tried adding SIPTAG_FROM_STR() to the nua_handle(). It does not fix either problem. OK. What does nua_handle_local()

Re: [Sofia-sip-devel] nta and CANCEL

2006-11-03 Thread Pekka Pessi
On 11/3/06, Diego Betancor [EMAIL PROTECTED] wrote: If I use NTATAG_CANCEL_487(0), what happens is that sofia answers with the 200 OK to the CANCEL, and nothing happens, never tells the backup function for the default leg anything and of course doesn't send the 487. This is a pretty bad

Re: [Sofia-sip-devel] Weird identity problem

2006-11-08 Thread Pekka Pessi
On 11/7/06, Colin Whittaker [EMAIL PROTECTED] wrote: Well, this is interesting, because nua_handle_local() returns the url without a username. Here is url_as_string(NULL, nua_handle_local(nh)-a_url ) sip:10.1.64.123;transport=udp I create the handle with: nua_handle( no tags )

Re: [Sofia-sip-devel] sofia, sipdht and python

2006-11-09 Thread Pekka Pessi
On 11/8/06, Marengo Stefano [EMAIL PROTECTED] wrote: I'm currently developing a python binding of sipdht (http://sipdht.sourceforge.net) a lgpl library using sofia-sip (indeed it's listed under http://wiki.opensource.nokia.com/projects/SofiaApplications). I'm using swig

Re: [Sofia-sip-devel] Memory management question

2006-11-10 Thread Pekka Pessi
On 11/9/06, Diego Betancor [EMAIL PROTECTED] wrote: I am very confused with who manages the memory, Sofia?, the aplication?. Both. Unfortunately the memory management is inconsistent. In some cases, we have reference counting, in some cases the application is responsible for destroying the

Re: [Sofia-sip-devel] Make error - sofia-sip library on maemo.

2006-11-13 Thread Pekka Pessi
On 11/13/06, maemo nokia [EMAIL PROTECTED] wrote: We had recently compiled sofia-sip on one of the machinces and it all went well. But on different machine make is giving error message: There is a problem with the doxygen config files when the builddir is not the same as srcdir:t the

Re: [Sofia-sip-devel] [maemo-developers] Sofia sip on maemo

2006-11-14 Thread Pekka Pessi
On 11/14/06, maemo nokia [EMAIL PROTECTED] wrote: i got darcs to get all files from the server. But i am not able to move ahead. Am i supposed to follow the : ./autogen.sh ./configure make make install to get the sofia-sip compiled and installed or is there any other procedure i need

Re: [Sofia-sip-devel] build warning in su_alloch.h

2006-11-15 Thread Pekka Pessi
On 11/15/06, Michael Jerris [EMAIL PROTECTED] wrote: Additionally, we should probably use something like : Thanks for the patch. That is what you get for copy and paste coding while sleeping. #ifdef __GNUC__ #define SOFIA_GCC_VERSION (__GNUC__ * 1 \ +

Re: [Sofia-sip-devel] Question regarding sip call termination

2006-11-15 Thread Pekka Pessi
On 11/14/06, Chung Pak Lai [EMAIL PROTECTED] wrote: I got a question regarding to the sip call termination in sofia-sip. As I am using sofia-sip with TCP connection, if the sip call's connection is broken in the middle of the call without sending bye message, will sofia-sip detect the

Re: [Sofia-sip-devel] Question regarding sip call termination

2006-11-15 Thread Pekka Pessi
On 11/16/06, Chung Pak Lai [EMAIL PROTECTED] wrote: So I would expect it sends a RE-INVITE/UPDATE after 1 second; however, after 1 second, the event callback got an nua_r_invite with status 900 and Internal NUA error followed by nua_i_state. Could you see if there is anything I am not doing

Re: [Sofia-sip-devel] Compiling to Pocket PC SDK

2006-11-16 Thread Pekka Pessi
On 11/13/06, Nuno Centeio [EMAIL PROTECTED] wrote: Is there a way of compiling the Sofia-Lib stack to a Windows Mobile 5 platform? Can anyone tell me how? You can try to have a peek in win32 build directory (and copy it to winmob5, for instance) and try to port it to winmod5. You probably have

Re: [Sofia-sip-devel] Sofia-sip TLS under windows

2006-11-17 Thread Pekka Pessi
On 11/17/06, Chung Pak Lai [EMAIL PROTECTED] wrote: Does Sofia-sip support TLS under windows? I was trying to enable TLS in sofia-sip by activating the following settings in config.h: #define HAVE_TLS 1 #define HAVE_OPENSSL 1 #define HAVE_OPENSSL_TLS_H 1 I also found that the VC6 dsp does

Re: [Sofia-sip-devel] Using SOA

2006-11-17 Thread Pekka Pessi
On 11/10/06, Chris Robson [EMAIL PROTECTED] wrote: Any one have good working examples on how to use SOA? What I thought was fairly straight forward isnt turning out to be the case. Everytime I make any soa calls, for example to soa_create, soa_activate, my program hangs. I am stepping

[Sofia-sip-devel] 1.12.4 coming soon

2006-11-22 Thread Pekka Pessi
Hello all, We plan to release 1.12.4 pretty soon. Sorry, no identity. A prerelease tar package (1.12.3work4) is available at http://sofia-sip.org/pre/sofia-sip-1.12.3work4.tar.gz Give it a try and report all show stoppers that you find. If you have some pending (and trivial) bugs that we

Re: [Sofia-sip-devel] Problem with stunc on freebsd

2006-11-28 Thread Pekka Pessi
On 11/27/06, Konstantin Belousov [EMAIL PROTECTED] wrote: I tried to use stunc stun client on freebsd (6.2-PRERELEASE), and systematically got errno == EINVAL from the call su_sendto() at the stun_common.c:619 (with the latest darcs sources). The problem seems to be the last argument to

Re: [Sofia-sip-devel] Question regarding using Sofia's parser

2006-11-28 Thread Pekka Pessi
On 11/28/06, Alex Guan [EMAIL PROTECTED] wrote: Is there a way to use Sofia JUST for its parser? We are using Sofia in two different applications. In one of the applications we would like to parse an incoming character array and generate an output of sip_t structure without running NUA or

Re: [Sofia-sip-devel] need help for multiple registration

2006-11-28 Thread Pekka Pessi
On 11/28/06, Omar [EMAIL PROTECTED] wrote: I have to build a server that will make multiple registrations to the sip registrar on behalf of UA's. I was using exosip but exosip don't provide some means for multiple registration or it has limits on number of registrations. So I want to know,

Re: [Sofia-sip-devel] Adding UDPTL and RED recognition to the SDP code.

2006-11-28 Thread Pekka Pessi
On 11/28/06, Steve Underwood [EMAIL PROTECTED] wrote: Currently sofia-sip doesn't recognise the UDPTL transport used for T.38 FoIP. It also doesn't recognise RED for redundancy according to RFC2198. I have attached a small patch while will add these. Thanks. Applied. -- Pekka.Pessi mail at

Re: [Sofia-sip-devel] Memory Leak from nua_destroy_handle().

2006-11-29 Thread Pekka Pessi
On 11/30/06, Colin Whittaker [EMAIL PROTECTED] wrote: I running 1.12.3work4 and I am seeing an occasional memory leak during bulk calling tests. I assume the path to reproduce this requires some kind of error, but i have not isolated that yet. The backtrace to all the leaked memory comes from

[Sofia-sip-devel] ANN: sofia-sip 1.12.4 released

2006-11-30 Thread Pekka Pessi
Hello all, The fourth installment to 1.12 series is now released with darcs and CVS tag rel-sofia-sip-1_12_3. --Pekka Release notes for Sofia-SIP version 1.12.4 (2006-11-30) === Changes since release 1.12.3 On

Re: [Sofia-sip-devel] ANN: sofia-sip 1.12.4 released

2006-11-30 Thread Pekka Pessi
On 11/30/06, Pekka Pessi [EMAIL PROTECTED] wrote: The fourth installment to 1.12 series is now released with darcs and CVS tag rel-sofia-sip-1_12_3. Someone already managed to mention that the tag is rel-sofia-sip-1_12_4. This is how I do programming. Cut and paste. -- Pekka.Pessi mail

Re: [Sofia-sip-devel] Setting IP TOS for transport.

2006-12-06 Thread Pekka Pessi
On 12/5/06, Colin Whittaker [EMAIL PROTECTED] wrote: Ok, here is a darcs whatsnew patch for adding the IP TOS to tport. I didn't look into Win32 compatibility or any other validity tests, but it does set the TOS properly. OK. Looks good. I took the liberty to set IP_TOS only on IPv4 sockets

Re: [Sofia-sip-devel] tport logging tags

2006-12-08 Thread Pekka Pessi
On 12/8/06, Roman Filonenko [EMAIL PROTECTED] wrote: For now, tport uses TPORT_LOG and TPORT_DUMP environment variables to configure the log flags and we found that more dynamic configuration of the above flags (e.g. on nua_create()) is much more comfortable. Thanks. I think that having

Re: [Sofia-sip-devel] sresolv module questions

2006-12-12 Thread Pekka Pessi
On 12/11/06, Colin Whittaker [EMAIL PROTECTED] wrote: I've started using DNS, and it appears that I must specify the FQDN for the proxy or registrar, and that the DNS server must have any entry. Is there a way to get the sresolv module to use the /etc/hosts file ? I've setup nsswitch.conf to

Re: [Sofia-sip-devel] tport logging tags

2006-12-22 Thread Pekka Pessi
Roman, The below patch adds TPTAG_LOG() and TPTAG_DUMP() tags, which override TPORT_LOG and TPORT_DUMP environment variables. The patch also checks for TPORT_LOG_OVERRIDE environment variable, which, if set, has preference over TPTAG_LOG() and TPORT_LOG. I applied your patch, but I decided

Re: [Sofia-sip-devel] Turn off DNS resolver

2007-01-08 Thread Pekka Pessi
On 1/8/07, Fabio Margarido [EMAIL PROTECTED] wrote: is there any way to tell the Sofia library (when I create a root_t or nua_t instance, for example) that I don't want to use the DNS resolver feature? That is, when I try to send an invite the invite will be sent regardless of knowledge about

  1   2   3   4   5   6   >