Re: [Sofia-sip-devel] make check fails

2010-09-17 Thread Pekka Pessi
2010/9/17 Della Betta Filippo filippo.dellabe...@telecomitalia.it: From a clean VM Ubuntu 10.04 x86, I did the following steps to reproduce failure sudo apt-get install build-essential autoconf automake1.9 libtool git-core check git clone http://git.gitorious.org/sofia-sip/sofia-sip.git

Re: [Sofia-sip-devel] make check fails

2010-09-20 Thread Pekka Pessi
Hi Filippo, 2010/9/20 Della Betta Filippo filippo.dellabe...@telecomitalia.it: Attached config.h and config.status. Below output of ifconfig... It seems to me that you do not have openssl-dev, but my make check passes through even if I remove it... Mysterious. -- Pekka.Pessi mail at

Re: [Sofia-sip-devel] Using VPN

2010-09-20 Thread Pekka Pessi
Hi all, 2010/9/16 mikhail.zabal...@nokia.com: Hi, using 1.12.10. Sofia doesn't seem to select the vpn ip when connected over VPN. It still seems to be listening on the usual WiFI access point ip, this is the same no matter what ip is passed to NUTAG_URL. It should work if the nua stack is

Re: [Sofia-sip-devel] we *still* have a race condition

2010-11-11 Thread Pekka Pessi
2010/10/23 Jen Chitty jenchi...@vtech.ca: We are trying to track down an intermittent failure in the Sofia SIP stack where we appear to be getting an EPERM error back from some POSIX API call or another on a powerpc Linux 2.6.23.  This error is somehow triggering the stack to report an ACK

Re: [Sofia-sip-devel] [sofia-sip-devel] digest authorization using HA1 directly

2010-12-15 Thread Pekka Pessi
Hi Paulo, 2010/12/15 Paulo Vicentini vicentini.pa...@gmail.com: I using sofia-SIP as an UAC to register with a SIP registrar I'd like to avoid using the secret (it is indeed not available) directly while creating a digest authorization header with: int auc_digest_authorization(auth_client_t

Re: [Sofia-sip-devel] Populating to header from Refer message with replaces

2010-12-15 Thread Pekka Pessi
Hi Nauman, 2010/12/8 Nauman Sulaiman nauman762-h...@yahoo.co.uk: Hi, using sofia 1.12.10 how to populate TO header of Invite created in response to incoming REFER with refer-to header containing replaces parameter. I can't just use the refer-to uri on its own as it has the all the replaces

Re: [Sofia-sip-devel] Link error on visual studio 2008

2011-01-10 Thread Pekka Pessi
Hi, 2010/12/28 Philippe Maymat pmay...@keyyo.com: I found a solution, the file string.c is not included in the project and contains all missing definitions. Oops, the dll projects were not updated. I've added them to the git version. Now my problem is a crash on line 550 in nua_client.c when

Re: [Sofia-sip-devel] Memory allocation problem on windows, Sorry It s nua_stack.c file :)

2011-01-10 Thread Pekka Pessi
Hi Philippe, 2010/12/29 Philippe Maymat pmay...@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.

Re: [Sofia-sip-devel] [sofia-sip-devel] digest authorization using HA1 directly

2011-01-10 Thread Pekka Pessi
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 !=

Re: [Sofia-sip-devel] Format of contact header

2011-01-21 Thread Pekka Pessi
Hi Stefan, 2011/1/13 Stefan Eckel stefan.ec...@c4b.de: 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:

Re: [Sofia-sip-devel] Multi home and sofia-sip

2011-01-21 Thread Pekka Pessi
Hi Inca, 2011/1/14 Inca Rose incar...@gmail.com: 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

Re: [Sofia-sip-devel] [sofia-sip-devel] digest authorization using HA1 directly

2011-01-26 Thread Pekka Pessi
Hi Paulo, 2011/1/13 Paulo Vicentini vicentini.pa...@gmail.com: 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 I did it in a more complex way,

Re: [Sofia-sip-devel] Sip messages truncated

2011-01-26 Thread Pekka Pessi
Hi Philippe, 2011/1/21 Philippe Maymat pmay...@keyyo.com: Since I allowed th multidialog sent in Notify, I received fragmented messages and it seems that the message is truncated by th sofia SIP stack because ethereal show all informations. Check the Content-Length from the ethereal, is it

Re: [Sofia-sip-devel] Multi home and sofia-sip

2011-01-26 Thread Pekka Pessi
Hi Inca, 2011/1/21 Inca Rose incar...@gmail.com:  What about the selection of Contact and Via and Transport on a multi-home environment ? I remember that the selection was not consistent, for example sending the packet from NIC1 while selecting Via / Contact from NIC2. This is a problem

Re: [Sofia-sip-devel] How to retrieve the local bound SIP port when created dynamically? (as used in contact-header)

2011-02-03 Thread Pekka Pessi
Hi, 2011/1/31 EiSl 1972 eisl1...@gmail.com: I have the feeling the answer lays in front of my nose, but for some reason I cannot find/see it... nua_get_params(.., NTATAG_CONTACT(NULL), TAG:END()) and look for ntatag_contact in the tag list of nua_r_get_params(). I'm using the released stable

Re: [Sofia-sip-devel] Sofia Getting 900 Internal Error When SIPTAG_TO_STR(sip:7348902; rfrid=eaff000000221c6035b5@200.21.3.10)

2011-02-03 Thread Pekka Pessi
Hi Jerry, 2011/2/3 Jerry Richards jerry.richa...@teotech.com: Okay, I think I fixed it.  For some reason, sofia did not like when I set both NUTAG_URL() in the nua_handle() call and also set SIPTAG_TO_STR() to the same thing in the nua_invite() call.  So I removed specifying the

[Sofia-sip-devel] ANN: release candidate 1 for sofia-sip-1.12.11

2011-03-04 Thread Pekka Pessi
Hello all, Long time no release. However, now I've put out a pre-release tar package available from sofia-sip.org: http://sofia-sip.org/~ppessi/sofia-sip-1.12.10pre11rc1.tar.gz md5sum: 3c9dbb7dee430ccb5d1d0b088eef5516 sha1sum: a0da65f9e8031df1f016545dc83b9ff362760b35 sha256sum:

Re: [Sofia-sip-devel] release debug version of test_nua.exe run differently (sofia-sip-1.12.11)

2011-03-24 Thread Pekka Pessi
Hi Allen, 2011/3/23 Allen Guan alleng...@gmail.com: I am new to this mail list. I have built sofia-sip-1.12.11 under XP SP3 and tried the test programs. I have noticed strange behaviors of the test program test_nua.exe when running in release version. I have tried to compiled with Visual

Re: [Sofia-sip-devel] Version 1.12.11

2011-03-24 Thread Pekka Pessi
Hi Jerry, 2011/3/23 Jerry Richards jerry.richa...@teotech.com: I noticed the latest trunk still has the following line in the configure.ac file: AC_INIT([sofia-sip], [1.12.10devel]) Shouldn't this line show 1.12.11? It seems to me that I have actively forgotten about CVS. I committed the

Re: [Sofia-sip-devel] Getting started: parsing a message

2011-03-24 Thread Pekka Pessi
Hi Bendan, 2011/3/21 Brendan Loudermilk bren...@apwit.com: As a weekend project I've begun to play around with Sofia-SIP. I'm using FFI to build a simple Ruby interface to some of the lower-level functions in the library. My first goal is to be able to parse arbitrary strings from a Ruby

Re: [Sofia-sip-devel] Prack

2011-03-24 Thread Pekka Pessi
Hi Vikas, 2011/3/18 Vikas Bhat vikasbhat0...@gmail.com: i am implenting early dialog in Sofia sip application using prack. the application is stateless using NTA modul. my application send invite with Supported header,receives 183 with RSeq. then the applcation tries to send the PRACK

Re: [Sofia-sip-devel] Good TLS Hellos But No SIP REGISTER Sent

2011-03-24 Thread Pekka Pessi
Hi Jerry, 2011/3/22 Jerry Richards jerry.richa...@teotech.com: I am seeing an issue with TLS where the REGISTER message is not getting sent.  The TLS Hello/Certificate exchange seems to always happens correctly (which just precedes the REGISTER request).  The scenario is that it is previously

Re: [Sofia-sip-devel] soatag_local_sdp_str_ref undeclared ('soa:remove duplicate definitions')

2011-03-24 Thread Pekka Pessi
Hi Erik, 2011/3/24 Erik Habicht e.habi...@thiesen.com: Looks like there was a bogus soatag_session_sdp_str_ref declaration instead of soatag_local_sdp_str_ref. Yes ... adding SOFIAPUBVAR tag_typedef_t soatag_local_sdp_str_ref; also solve the problem. Is SOFIAPUBVAR tag_typedef_t

[Sofia-sip-devel] Anyone still using CVS?

2011-03-24 Thread Pekka Pessi
Hello all, Are there a a lot of people still using CVS? As it is now, CVS is not really very useful in tracking the development, nor it is very useful in tracking releases as Jerry noticed. If there is no objections, I'll stop updating the CVS repo and try to remove the links to it from the

Re: [Sofia-sip-devel] release debug version of test_nua.exe run differently (sofia-sip-1.12.11)

2011-03-29 Thread Pekka Pessi
Hi Allen, 2011/3/25 Allen alleng...@gmail.com: Thanks a lot for your reply. I have tried the --no-nat setting, the results are the same. Actually the log information I provided in my original email for Visual studio 2003 release version is already the result with BOTH --no-nat AND

Re: [Sofia-sip-devel] NOTIFY sip frag set to 503 when receiving 407 Invite response

2011-03-30 Thread Pekka Pessi
Hi, 2011/3/30 Nauman Sulaiman nauman762-h...@yahoo.co.uk: Hi, when performing an attended transfer, when the transfer destination sends a 407 to the INVITE with replaces generated by transferee, a NOTIFY with 503 sipfrag is sent to the transferrer. Code is here in nua_session.c in function

Re: [Sofia-sip-devel] Integrating sofia with other event loop libraries

2011-04-04 Thread Pekka Pessi
Hi, 2011/3/30 Leandro Lucarella llucare...@integratech.com.ar: Hi, I noticed sofia has its own event loop and there is integration with glib event loop. It is possible (and easy) to integrate sofia with other event loop libraries? I'm interested in integrating it with libev specifically.

Re: [Sofia-sip-devel] Setting sofia-sip Source Port

2011-04-04 Thread Pekka Pessi
Hi, 2011/3/31 Jerry Richards jerry.richa...@teotech.com: I am setting my contact address to specify port 5061 (for TLS), but a wireshark trace shows the message being sent with a source port of 1025. This is confusing the Redcom server.  How can I make sofia-sip send the message with the same

Re: [Sofia-sip-devel] Setting sofia-sip Source Port

2011-04-04 Thread Pekka Pessi
Hi Jerry, 2011/4/4 Jerry Richards jerry.richa...@teotech.com: I temporarily got it working by patching the tport_tls_connect() function to set  susa.su_port to 5061 (instead of setting it to 0).  I do use nua, so I'll try NUTAG_OUTBOUND() as you suggest.  We have a requirement that TLS

Re: [Sofia-sip-devel] Setting sofia-sip Source Port

2011-04-05 Thread Pekka Pessi
()? --Pekka -Original Message- From: Pekka Pessi [mailto:ppe...@gmail.com] Sent: Monday, April 04, 2011 9:14 AM To: Jerry Richards Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] Setting sofia-sip Source Port Hi Jerry, 2011/4/4 Jerry Richards jerry.richa

Re: [Sofia-sip-devel] Handling 486 Busy Here

2011-04-11 Thread Pekka Pessi
Hi, 2011/4/10 Manuel Argüelles manuel.arguel...@gmail.com: I'm using an nta agent in a multi-thread application (proxy), I noticed that during an invite transaction if the peer returns a 486 Busy Here code, sofia sip seems to internally handle it and replies with an ACK, since the callback

Re: [Sofia-sip-devel] NUTAG_DETECT_NETWORK_UPDATES still unimplemented under linux?

2011-04-18 Thread Pekka Pessi
Hi Luca, 2011/4/18 Luca Olivetti l...@ventoso.org: A2 = MD5(REGISTER:sip:ekiga.net) auth_response: db79b8a5046c76654b742311b7d4a33d = MD5(53060310bbad90036d54e1954983ae4e:4dab21dbe3306f1513e34e9e24eedc00a7827bd9394f:14bd7ed1967527d3770ab1f7c12901c5) (qop=NONE) svd: nta.c: 7785:

Re: [Sofia-sip-devel] How to know remote hold in nua_i_invite event?

2011-05-03 Thread Pekka Pessi
Hi Chris, 2011/4/24 Chris hlidea...@gmail.com: In sofia-sip nua reference page, it indicates we can retrieve tags SOATAG_ACTIVE_AUDIO() when we get a nua_i_invite event. It is useful if I could use that tag to check remote holding events. However, I found I can not get SOATAG_ACTIVE_AUDIO()

Re: [Sofia-sip-devel] Early dialog not working after Update method

2011-05-19 Thread Pekka Pessi
Hi Matteo, 2011/5/17 Matteo mbrancale...@voismart.it: going on with debug, the issue is that outgoing_find does not check for different to_tag in provisional response. I've created a patch that works for me which handles different to_tag in provisional responses and manage RSeq in right way

Re: [Sofia-sip-devel] MSRP Support

2011-05-20 Thread Pekka Pessi
Hi, 2011/5/3 Ubuntu Explorer ubuntuexplo...@gmail.com: Are there any plans to add MSRP support to Sofia SIP in the roadmap? We might add support for the SDP negotiation for setting up MSRP, but I see no MSRP implementation ahead. However, feel free to contribute. ;) -- Pekka.Pessi mail at

Re: [Sofia-sip-devel] No ACK sent after PRACK and CANCEL

2011-05-24 Thread Pekka Pessi
Hi Inca, 2011/5/20 Inca Rose incar...@gmail.com: We are experiencing a strange behavior in the following scenario: A: Using Sofia SIP stack A --- INVITE A --  183 with RSeq A PRACK A --- OK ( PARCK ) A --- 180 A -- CANCEL A -- OK ( Cancel ) A

Re: [Sofia-sip-devel] No ACK sent after PRACK and CANCEL

2011-05-24 Thread Pekka Pessi
Hi, 2011/5/24 Pekka Pessi ppe...@gmail.com: 2011/5/20 Inca Rose incar...@gmail.com: We are experiencing a strange behavior in the following scenario: A: Using Sofia SIP stack A --- INVITE A --  183 with RSeq A PRACK A --- OK ( PARCK ) A --- 180

Re: [Sofia-sip-devel] one nua, multiple accounts

2011-06-01 Thread Pekka Pessi
Hi Luca, 2011/5/29 Luca Olivetti l...@ventoso.org: If in nua_register I use NUTAG_M_USERNAME, can I be sure that the proxy will use it as a Contact: for every incoming request? If that's the case, I no longer need to rely on the To: header. Yes, NUTAG_M_USERNAME is best way to implement an

Re: [Sofia-sip-devel] one nua, multiple accounts

2011-06-03 Thread Pekka Pessi
Hi Luca, 2011/6/1 Luca Olivetti l...@ventoso.org: BTW, the documentation says that sofia-sip will generate the contact using the provided NUTAG_M_USERNAME, an equal sign and a random string, but it doesn't seem to be the case, so I didn't bother checking for the presence of an equal sign and

Re: [Sofia-sip-devel] tls_connect() Invoked On Every Outbound INVITE

2011-06-14 Thread Pekka Pessi
Hi Jerry, 2011/6/9 Jerry Richards jerry.richa...@teotech.com: Anyone know why sofia-sip would re-establish a TLS connection for every outbound INVITE?  That's what I see happening.  Logs are shown below, after calling nua_invite() while a TLS connection was already establised (Note: you'll

Re: [Sofia-sip-devel] NUTAG_WITH and BYE

2011-06-14 Thread Pekka Pessi
Hi Vladimir, 2011/6/9 Vladimir Luchko vlad.l...@mail.ru: Can I answer to the incoming BYE with 200 ok from the application without using NUTAG_WITH? I`ve init nua with NUTAG_AUTOANSWER(0) and NUTAG_APPL_METHOD(BYE). Than I got nua_i_bye event. I want to answer 200 with nua_resopnd(nh, 200,

Re: [Sofia-sip-devel] Invite with Multipart content

2011-08-18 Thread Pekka Pessi
Hi Harinath, There is no decent API for sending MIME multipart from nua at the moment. Currently, if nua notices that there is a payload, it won't touch it. I have some doubts regarding encoding of multipart (iow, it won't work.) I have some ideas about the API, like including an empty SDP

Re: [Sofia-sip-devel] How to remove Supported header from outgoing request.

2011-08-18 Thread Pekka Pessi
Hi Inca, 2011/6/22 Inca Rose incar...@gmail.com: I'm using NUA and I see that by default the Supported header is sent with timer, 100rel I want to control the supported header contents and find out that NUATAG_SUPPORTED only adds supported values, and only SIPTAG_SUPPORTED can override

Re: [Sofia-sip-devel] 'Network error' on FreeBSD: how to debug?

2011-08-18 Thread Pekka Pessi
Hi Yuri, 2011/6/19 Yuri y...@rawbw.com: On 06/18/2011 17:50, Yuri wrote: recvfrom call retrieving result for DNS query never receives the result for some reason. I found bug in code resolving the sip-dig hang: in file sres_blocking.c lines       if (c-block-fds[i].revents | POLLERR)      

Re: [Sofia-sip-devel] Segmentation Fault After BYE 407 Proxy Authentication

2011-08-18 Thread Pekka Pessi
Hi Jerry, 2011/6/23 Jerry Richards jerry.richa...@teotech.com: One more thing on this.  The segmentation fault was due to the assert() function crashing in my phone.  This was not caused by sofia-sip.  But the additional comparison to sip_method_bye should be added to sofia-sip so the

Re: [Sofia-sip-devel] ipv4/ipv6 issues

2011-08-18 Thread Pekka Pessi
Hi Florian, 2011/6/29 Florian Limberger florian.limber...@aon.at: ... When an ipv6 client initiates a call to a ipv4 client the call is properly established!! If ipv4 calls ipv6, the final ACK is not sent. ... Probably, this has something to do with the Contact header, which contains

Re: [Sofia-sip-devel] auto nua_ack with bad UIR (without destination port)

2011-08-18 Thread Pekka Pessi
Hi Ivan, 2011/7/13 Иван Чистяков zetru...@gmail.com: I send INVITE to SLFphone and recv responce 100/180/200 with bad Contact header (without port). And sofia stack trying to send auto ACK with this bad Contact header (without port). SLFphone can use non standart port, but stack trying to

Re: [Sofia-sip-devel] PRACK and 200 OK(INVITE) forking issue

2011-08-18 Thread Pekka Pessi
Hi Nauman, 2011/7/1 Nauman Sulaiman nauman762-h...@yahoo.co.uk: We are handling all media (SDP) ourselves and have set PRACK to be one of the methods our app handles. We are using the nua API. Can Pekka or someone say whether PRACK and forking is supported with the way   we are using the

Re: [Sofia-sip-devel] bug fix in su_time0.c for MacOS X 64bit

2011-08-18 Thread Pekka Pessi
2011/7/11 Frode Isaksen frode.isak...@bewan.com: There is a bug in su_time0.c for MacOS X 64bit since the field tv_sec in struct timeval is 64bits instead of 32bits as in su_time_t, so you cannot cast su_time_t to struct timeval. This patch fixes this: Thanks. I've applied the patch. --

Re: [Sofia-sip-devel] Problem with sofia codec selection

2011-08-18 Thread Pekka Pessi
Hi, 2011/7/12 Olivier Deme od...@druidsoftware.com: Is it possible to configure sofia to pick a selection of codecs based on the SDP offered by the network and the SDP specified in nua_respond, rather than picking a single codec? Use SOATAG_RTP_SELECT(SOA_RTP_SELECT_COMMON). -- Pekka.Pessi

Re: [Sofia-sip-devel] tport_check_trunc() issue

2011-08-18 Thread Pekka Pessi
Hi Arsen, 2011/7/13 Arsen Chaloyan achalo...@yahoo.com: Although this is a typical race condition issue, it still seems pretty harmless as the goal of this function is to set tp-tp_trunc which isn't used currently. To get rid of this message, I have just commented out tport_check_trunc() but

Re: [Sofia-sip-devel] Possible Memory Leak if INVITE was not succesfully.

2011-08-18 Thread Pekka Pessi
Hi Stefan, 2011/7/13 Stefan Opfermann sip.rie...@yahoo.de: we have an application based on Sofia SIP 1.12.11 which uses directly INVITE methods between two SIP User Agents without a REGISTER server. In the case that the User is still busy or the caller not allowed to call ( 404 Not found

Re: [Sofia-sip-devel] Registration authentication problem - 904 No matching challenge

2011-08-19 Thread Pekka Pessi
Hi Laurent, 2011/8/1 Laurent Lecigne lleci...@gmail.com: I am currently stuck trying to get a Sofia SIP agent to properly register to a registrar (Open IMS core). Whenever the agent gets challenged it does not reattempt to provide its credentials : the registration keeps failing.

Re: [Sofia-sip-devel] Sofia-Sip Supported RTP Stack

2011-08-19 Thread Pekka Pessi
Hi, 2011/8/18 Meftah Tayeb tayeb.mef...@gmail.com: do sofia include a RTP stack ? how can i integrate existing RTP stack with Sofia ? Please see sofsip-cli for an example of integrating a media stack with Sofia SIP. and if RTP stack is integrated/supported, what codecs are supported ? can i

Re: [Sofia-sip-devel] register time-out

2011-08-19 Thread Pekka Pessi
Hi, 2011/8/19 Nick Knight n...@omniis.com: I have a client which registers against a server fine. The server imposes a register at 3600 which turns up in the expires field. Sofia then tries to register at aruond 1800, which is too much before what the server will allow. How is this

<    1   2   3   4   5   6