Re: [Sofia-sip-devel] Supporting other Digest Algorithms the MD5 and MD5-sess

2008-04-03 Thread Pekka Pessi
2008/3/26, Oren Bouskila [EMAIL PROTECTED]: We are trying to implement a different Digest Algorithms then MD5 and MD5-sess. We have sucsseffuly modifyed the Sofia-Sip stack code and structures in order to support any Other algorithm using a callback. This is not our preferred solution

Re: [Sofia-sip-devel] Problems with bad contact address

2008-04-03 Thread Pekka Pessi
Timo, Your proxy should use record-routing. It should add a special Record-Route header to the INVITE it sends to client behind TLS connection. The Record-Route should contain some magic parameter or user name or something that you can then use to derive the correct request-URI. Likewise, you

Re: [Sofia-sip-devel] Dont send SIP messages with Dont Fragment

2008-04-04 Thread Pekka Pessi
2008/4/4, Bernhard Suttner [EMAIL PROTECTED]: is it possible to set a flag that sofia-sip dont send the sip messages with Dont fragment (this is a IP setting). Or do I have to set something in my linux distribution? According to the man 7 ip the DF should be off by default. However the bit

[Sofia-sip-devel] Fwd: Another assertion falied

2008-04-07 Thread Pekka Pessi
Oop. -- Forwarded message -- From: Pekka Pessi [EMAIL PROTECTED] Date: 7.4.2008 19:28 Subject: Re: [Sofia-sip-devel] Another assertion falied To: Fabio Margarido [EMAIL PROTECTED] 2008/4/7, Fabio Margarido [EMAIL PROTECTED]: This is with 1.12.8. No, I haven't tried current

Re: [Sofia-sip-devel] 401 Unauthorized Parsing Bug?

2008-04-10 Thread Pekka Pessi
2008/4/9, Jerry Richards [EMAIL PROTECTED]: Second Server Case: 1) Server sends following header in the 401 Unauthorized message: WWW-Authenticate: Digest realm=Registered_Subscribers, domain=sip:206.229.26.61, nonce=20dfb7e5a77abee7a02dbe53efe42cdd,opaque=2a794e58,

Re: [Sofia-sip-devel] SIP Compression and SIP Dictionary

2008-04-10 Thread Pekka Pessi
2008/4/9, Jerry Richards [EMAIL PROTECTED]: Also, will sofia-sip support the SIP dictionary specified in RFC 3485? There are semi-functional hooks in tport module for extending the transports. We had hooks for a proprietary SIP compressor, but they do not work anymore because of bit rot (iow

Re: [Sofia-sip-devel] How to obtain stack statistics from a NUA application

2008-04-16 Thread Pekka Pessi
2008/4/15, Fabio Margarido [EMAIL PROTECTED]: is there a way for me to obtain the stack statistics via nta_agent_get_stats() from an application that uses NUA? If I try to access the nua_nta pointer in my nua_t object I get a compilation error. Currently, there is no way to do so. I guess

Re: [Sofia-sip-devel] Polling event state with a subscribe message fails

2008-04-17 Thread Pekka Pessi
2008/4/17, Jarkko Riekki [EMAIL PROTECTED]: I am sorry I keep bombarding the mailing list with my questions, but I have a question concerning polling event state using subscribe messages. The problem is that want to poll an event state with a subscribe message 'expires' field set to zero.

Re: [Sofia-sip-devel] FOUND: 401 Unauthorized Parsing Bug

2008-04-18 Thread Pekka Pessi
2008/4/18, Jerry Richards [EMAIL PROTECTED]: I found the following bug at around line #415 in the sip_header_as_string() function in the sip_util.c file, as follows: BAD LINE: ssize_t n = sip_header_field_e(s, sizeof(s), h, 0); CORRECTED LINE: ssize_t n =

Re: [Sofia-sip-devel] Adding UPnP-support

2008-04-21 Thread Pekka Pessi
2008/4/21, Erland Lewin [EMAIL PROTECTED]: I sent an e-mail asking about UPnP support, didn't get a reply, so now I'm looking at implementing it. Cool. I recall that we had a UPnP implementation, but it was not compatible with LGPL so it was dropped. My plan is to add two tport_vtable_t, one

Re: [Sofia-sip-devel] Problem with message with large message-body

2008-04-24 Thread Pekka Pessi
2008/4/21 takeshi mayama [EMAIL PROTECTED]: I'm having problems using Sofia 1.12.8 under linux. The scenario is this: The code successfully subscribes to a ParkServer to receive NOTIFY messages when calls are parked/unparked on it. When the NOTIFY arrives, nta rejects the message with 400 Bad

Re: [Sofia-sip-devel] Polling event state with a subscribe message fails

2008-04-25 Thread Pekka Pessi
2008/4/17 Jarkko Riekki [EMAIL PROTECTED]: Hm... Just thinking, but my nua_notifier is sending the NOTIFY from different address and port (using tcp): * tport_accept(0x8052e10): new connection from tcp/192.168.0.11:60694/sip Maybe this causes problems? I don't see how but... Oh,

Re: [Sofia-sip-devel] Support for Compact SIP Headers

2008-04-25 Thread Pekka Pessi
2008/4/22 Jerry Richards [EMAIL PROTECTED]: Does sofia-sip support the compact forms of SIP headers defined in section 20 of RFC 3261? For example, the compact form of Content-Length is l. It does understand them, and if you include NTATAG_SIPFLAGS(MSG_FLG_COMPACT) in

Re: [Sofia-sip-devel] P-Early-Media Header Support

2008-04-25 Thread Pekka Pessi
2008/4/22 Jerry Richards [EMAIL PROTECTED]: Does sofia-sip support the P-Early-Media header defined in IETF draft draft-ejzak-sipping-p-em-auth-01.txt? Not supported, you have to check for it in sip_unknown... -- Pekka.Pessi mail at nokia.com

Re: [Sofia-sip-devel] 500 Overlapping Offer/Answer

2008-04-30 Thread Pekka Pessi
2008/4/28, Fabio Margarido [EMAIL PROTECTED]: Looking at the source code, my guess is that the test at nua_session.c:3222 (3377 in current darcs) is failing. Is it possible that Sofia doesn't consider the multipart/mixed payload in the 183 as an answer to the offer received in the INVITE,

Re: [Sofia-sip-devel] 500 Overlapping Offer/Answer

2008-05-07 Thread Pekka Pessi
2008/5/6, Fabio Margarido [EMAIL PROTECTED]: Nothing? Sorry - looks definitely like a bug in nua. I'll push fix when I manage to write tests for it... --Pekka On Wed, Apr 30, 2008 at 8:55 AM, Fabio Margarido [EMAIL PROTECTED] wrote: On Wed, Apr 30, 2008 at 5:26 AM, Pekka Pessi [EMAIL

Re: [Sofia-sip-devel] Application specified Via

2008-05-07 Thread Pekka Pessi
2008/4/30 Matt Krokosz [EMAIL PROTECTED]: I'm trying to override the Via header used for an outbound Invite. There appear to be provisions to allow me to specify the Via at the application level by doing the following… nua_invite(nh, NTATAG_USER_VIA(1), SIPTAG_VIA_STR(SIP/2.0/UDP

[Sofia-sip-devel] Fwd: sofia-sip changes (2008-05-13)

2008-05-13 Thread Pekka Pessi
Darcs Changes wrote: This posting was generated automatically from darcs repo http://sofia-sip.org/repos/sofia-sip. Tue May 13 01:58:38 EEST 2008 Pekka Pessi [EMAIL PROTECTED] * nua_session.c: sanitized BYE handling Terminate or cancel other session-related

Re: [Sofia-sip-devel] su_pthread_port_clone_main does not finish before unloading the library

2008-05-19 Thread Pekka Pessi
2008/5/19 Martin Drasar [EMAIL PROTECTED]: Problem 1) When the stack should end, I run that ugly piece of code, that calls nua_sutdown(), does su_root_step() to receive the nua_r_shutdown event and then calls nua_destroy(). However, even if I receive the nua_r_shutdown event, nua_destroy()

Re: [Sofia-sip-devel] Sofia-SIP roadmap

2008-06-02 Thread Pekka Pessi
2008/5/29 Jim Thomas [EMAIL PROTECTED]: I am considering using Sofia-SIP in a commercial product. Open source projects tend to come and go. Is Sofia-SIP likely to be actively maintained and further developed into the future? What is the ongoing level of commitment to Sofia-SIP by Nokia and

Re: [Sofia-sip-devel] nua_respond() from thread different than callback function

2008-06-03 Thread Pekka Pessi
2008/5/30 Jerry Richards [EMAIL PROTECTED]: I am having difficulty invoking nua_respond() from an application thread different than the callback function thread (I want to reply with 200 OK for an OPTIONS request). If the nua_respond() function is called from the other thread, I get a 500

Re: [Sofia-sip-devel] Sofia-SIP roadmap

2008-06-04 Thread Pekka Pessi
2008/6/3 Jim Thomas [EMAIL PROTECTED]: Our interest is in using Sofia-SIP to add SIP trunking support to a PBX product line. It appears that FreeSWITCH uses Sofia-SIP for this purpose, which is the endorsement that got us started looking in this direction. It also seems that CallWeaver

Re: [Sofia-sip-devel] Ignoring Duplicate SDP

2008-06-04 Thread Pekka Pessi
2008/6/4 Bernhard Suttner [EMAIL PROTECTED]: The PBX does send a Session Progress (183) with SDP with RTP Port . After the XXX picks up the PBX will send a 200 OK with SDP port not port but 4112. In the RFC's point of view that is allowed. In principle you end up with two sessions,

Re: [Sofia-sip-devel] Any recommended RTP/media stack with Sofia ?

2008-06-04 Thread Pekka Pessi
2008/6/4 Pascal Maugeri [EMAIL PROTECTED]: I'm curious to know what are the stacks RTP or media that are commonly used along sofia-sip in VoIP applications. In principle, any media stack that can be controlled with SDP will do. Can anybody make a recommendation ? Nokia Internet tablets use

Re: [Sofia-sip-devel] Ignoring Duplicate SDP

2008-06-04 Thread Pekka Pessi
2008/6/4 Bernhard Suttner [EMAIL PROTECTED]: Hi, thanks for your fast answer. You could hack nua_session.c not to ignore SDP, but compare it with previous one, and if they differ, generate new offer (and ignore it) and then feed new sdp as an answer to it. ok. I have another hack: else

Re: [Sofia-sip-devel] RFC 3966 The Tel URI

2008-06-05 Thread Pekka Pessi
2008/6/5 Jerry Richards [EMAIL PROTECTED]: In addition to my question below, does the sofia-sip stack currently (version 1.12.7) parse an INVITE that has a Request-Line in TEL URI format, and invoke the callback for the associated NUA? Yes, Sofia parses tel: URIs, and INVITE with tel uri in

Re: [Sofia-sip-devel] SOA Media rejection question

2008-06-22 Thread Pekka Pessi
2008/6/16 Colin Whittaker [EMAIL PROTECTED]: Still running 1.12.6, and it has been working great. Ran into a little hiccup in another interop. During a call, we get a re-INVITE with a new media descriptor. We have NOT included that media in our SDP, so the SOA task rejects it. Time

Re: [Sofia-sip-devel] NDEBUG enable not working...

2008-06-22 Thread Pekka Pessi
2008/6/19 Fabio Margarido [EMAIL PROTECTED]: Yes, I've already sent a patch to fix this but it never got in I'm afraid... It is accepted but since my time machine is still in service it has not yet got into the 1.12.6. --Pekka On Thu, Jun 19, 2008 at 5:11 PM, Colin Whittaker [EMAIL

Re: [Sofia-sip-devel] Overriding stack RSeq

2008-06-26 Thread Pekka Pessi
2008/6/25 Fabio Margarido [EMAIL PROTECTED]: I've taken a stab at fixing the issues I reported earlier and have come up with a solution for one of them. The attached patches address the issue of not being able to use a user specified RSeq header when 1XX answers are sent reliably. I'm not

Re: [Sofia-sip-devel] Sofia-SIP stack release testing

2008-06-26 Thread Pekka Pessi
2008/6/12 Jim Thomas [EMAIL PROTECTED]: Is the Sofia-SIP stack run through any SIP torture tests prior to release? We run the internal test suite on a number of platforms. What kind of stress and compatibility testing is typically done? We have run the Protos/Codenomicon test suite, as well

Re: [Sofia-sip-devel] Possible Memory leak in 1.12.9

2008-07-24 Thread Pekka Pessi
2008/7/9 Colin Whittaker [EMAIL PROTECTED]: 1. My ancient system does NOT have CLOCK_MONOTONIC, but does have clock_gettime(). Had to manually #undefine HAVE_CLOCK_GETTIME in config.h Added check for CLOCK_MONOTONIC, too. 2. My system is also missing va_copy(), which is taken care of in many

Re: [Sofia-sip-devel] IMS versus SIP

2008-07-24 Thread Pekka Pessi
2008/7/16 Jerry Richards [EMAIL PROTECTED]: Is sofia-sip compliant with IMS? If so, what changes do I need to make in my NUA application to make it compliant with IMS? Well. Sofia-SIP-based SIP User-Agents work with certain IMS systems. However, your mileage may vary with IMS system and level

Re: [Sofia-sip-devel] NUA Notification of Incoming ACK messages

2008-07-24 Thread Pekka Pessi
2008/7/10 Jerry Richards [EMAIL PROTECTED]: Does anyone know how I can configure sofia-sip to generate callback events upon receipt of ACK messages? You should get nua_i_ack and nua_i_state events if Sofia-SIP is expecting ACK requests (otherwise, they are just ignored). Do you receive some

Re: [Sofia-sip-devel] multiple invite and sdp handling?

2008-07-25 Thread Pekka Pessi
2008/7/4 Jean Dumercq [EMAIL PROTECTED]: In fact, when I receive the different remote sdp (during nua_i_state), I don't suceed to know from which destination it comes from. In nua_i_state function, I didn't find any tag which permits to know the destination. The handle magic is a

Re: [Sofia-sip-devel] Overriding stack RSeq

2008-07-25 Thread Pekka Pessi
2008/6/25 Fabio Margarido [EMAIL PROTECTED]: I've taken a stab at fixing the issues I reported earlier and have come up with a solution for one of them. The attached patches address the issue of not being able to use a user specified RSeq header when 1XX answers are sent reliably. I'm not

Re: [Sofia-sip-devel] Rejection of re-INVITE

2008-07-25 Thread Pekka Pessi
2008/7/17 Jerry Richards [EMAIL PROTECTED]: Question on an issue I am facing. I have a case where I will reject a re-INVITE under certain circumstances. The scenario follows: 1) Receive: re-INVITE 2) Callback: nua_i_invite event (100 Trying) 3) Send: 403 Forbidden (nua_respond) 4)

Re: [Sofia-sip-devel] What's the name of a soa_session_t?

2008-08-04 Thread Pekka Pessi
2008/7/30 Stefano Sabatini [EMAIL PROTECTED]: Hi, a soa_session_t is created using the soa_create() function. Documentation says: soa_session_t* soa_create ( char const * name, su_root_t * root, soa_magic_t * magic ) Create a

Re: [Sofia-sip-devel] NOTIFY and 481

2008-08-06 Thread Pekka Pessi
2008/8/1 Della Betta Filippo [EMAIL PROTECTED]: Hello All, I wrote a simple sofia-sip application that REGISTER itself to a proxy, send a SUBSCRIBE, an (un)SUBSCRIBE and (un)REGISTER (see flow and code below). In response to the last NOTIFY (after the (un)SUBSCRIBE) sofia-sip sends

Re: [Sofia-sip-devel] [NEWBIE] How to negotiate the response SDP to an INVITE

2008-08-06 Thread Pekka Pessi
2008/8/6 Stefano Sabatini [EMAIL PROTECTED]: In other words I would like to override the default behaviour, which consists in sending immediately the ACK for the remote SDP offer, when I would like to keep continuing with the S/O negotiation. Can you give me some indication regarding how to

Re: [Sofia-sip-devel] [NEWBIE] How to negotiate the response SDP to an INVITE

2008-08-08 Thread Pekka Pessi
In order to select only a single codec, you can use SOATAG_RTP_SELECT(SOA_RTP_SELECT_SINGLE) with re-INVITE or UPDATE request. --Pekka 2008/8/7 Stefano Sabatini [EMAIL PROTECTED]: On Wed, Aug 6, 2008 at 8:15 PM, Pekka Pessi [EMAIL PROTECTED] wrote: 2008/8/6 Stefano Sabatini [EMAIL PROTECTED

Re: [Sofia-sip-devel] NOTIFY and 481

2008-08-08 Thread Pekka Pessi
darcs version, it now delays termination until NOTIFY is received w/ nua:_unsubscribe or nua_subscribe and Expires 0. Note that if timeout occurs, the sip_t pointer argument to nua callback is NULL: --Pekka -Original Message- From: Pekka Pessi [mailto:[EMAIL PROTECTED] Sent: mercoledì 6

Re: [Sofia-sip-devel] Lower-case Replaces Header

2008-08-12 Thread Pekka Pessi
2008/8/12 Bernhard Suttner [EMAIL PROTECTED]: we are using the Replaces header in a REFER like: http://www.tech-invite.com/Ti-sip-service-5.html#fig15 In this picture you can see, that the Replaces is upper-case. For creating this URL we are using the function like that: sip_replaces_t

Re: [Sofia-sip-devel] General SIP Server Question

2008-08-14 Thread Pekka Pessi
2008/8/13 Jerry Richards [EMAIL PROTECTED]: General question regarding a SIP phone configuration where the phone communicates with a single SIP server. Would you agree such a phone need only configure the following two SIP server entities? 1) SIP Registrar (either IP-address or domain-name)

Re: [Sofia-sip-devel] 200 OK answer to CANCEL with no to-tag

2008-08-15 Thread Pekka Pessi
2008/8/12 Fabio Margarido [EMAIL PROTECTED]: Hi there. Any news on this issue? Thanks a lot. I pushed a patch yesterday that is supposed to fix the problem. --Pekka On Thu, Jul 31, 2008 at 3:02 PM, Fabio Margarido [EMAIL PROTECTED] wrote: On Mon, Jul 21, 2008 at 11:49 PM, Magnus Correa

Re: [Sofia-sip-devel] How to free a sdp_session_t struct

2008-09-03 Thread Pekka Pessi
2008/9/1 Stefano Sabatini [EMAIL PROTECTED]: I see there is an sdp_session_dup() function, and there are sdp_printer_free() and sdp_parser_free(), so I was expecting some method such as sdp_session_free(). Missing that, then I wonder if its absence means something, for example that there is some

Re: [Sofia-sip-devel] Sofia-sip uac Not Refreshing Session

2008-09-10 Thread Pekka Pessi
2008/8/26 Jerry Richards [EMAIL PROTECTED]: It appears my sofia-sip NUA (based on v1.12.7) is not refreshing a session IAW RFC 4028. Here is the scenario: Sec Event - --- 102: NUA sends INVITE with Supported: timer, Session-Expires: 3600 111: UAS sends 200 OK with

Re: [Sofia-sip-devel] Initialize sofia in the main context thread and run it in another thread

2008-09-12 Thread Pekka Pessi
2008/9/9 Stefano Sabatini [EMAIL PROTECTED]: So it seems that the only solution is to initialize and run the stack in the same thread context. Is this correct or am I missing something? Call su_root_release() on the thread creating the root and stack and then su_root_obtain() in the thread

Re: [Sofia-sip-devel] Really fast retransmission of 200 OK responses

2008-09-12 Thread Pekka Pessi
2008/9/11 Fabio Margarido [EMAIL PROTECTED]: Profiling data would be useful, e.g,, there might be somewhere that stack spends far too much time which starves the retransmission handling. Hmm... I believe that if I run my application under Valgrind it won't come even close to being able to

Re: [Sofia-sip-devel] Bus Error crash in 1.12.9 when completing a transfer.

2008-11-12 Thread Pekka Pessi
2008/11/11 Jen Chitty [EMAIL PROTECTED]: Due to a slightly non-standard SIP flow in an attended transfer implementation I encountered, I've found a way to crash the Sofia stack. It's a race condition, and is difficult to reproduce, but I can usually get it to happen after about an hour of

Re: [Sofia-sip-devel] Bug in SDP negotiation for T.38/udptl

2008-11-12 Thread Pekka Pessi
2008/11/3 Timo Bruhn [EMAIL PROTECTED]: Sofia-Sip prints the media format udptl in capital letters into the sdp part. This is rejected by some strict implementations. The reason seems to be that there are differences between the T.38 spec of ITU-T and the definition of udptl at IANA. The

Re: [Sofia-sip-devel] public network address in via-header / application generated via

2008-11-12 Thread Pekka Pessi
2008/10/29 Timo Bruhn [EMAIL PROTECTED]: They have a load balancing with different servers. One of these servers has trouble with private addresses in via headers. It seems that they are trying to respond to the private address instead of using the rport mechanism. So I am trying to get my

Re: [Sofia-sip-devel] Record routing

2008-11-12 Thread Pekka Pessi
2008/10/21 Timo Bruhn [EMAIL PROTECTED]: at the moment I'am trying to implement record routing with nua (1.12.8). What I do is adding a record route header to my outgoing INVITE request. I can find the record route header in message, so this works. When I receive the 200ok from UAS, I

Re: [Sofia-sip-devel] Help with nua_register and draft-sip-outbound

2008-11-12 Thread Pekka Pessi
2008/10/23 Paulo Pizarro [EMAIL PROTECTED]: I'd like send a REGISTER using the draft-sip-outbound. However, the contact header generated by sofia, hasn't the reg-id and +sip.instance params. NUTAG_OUTBOUND(gruuize outbound no-validate no-use-port no-options-keepalive no-natify),

Re: [Sofia-sip-devel] NUTAG_SESSION_REFRESHER(nua_local_refresher)

2008-11-13 Thread Pekka Pessi
2008/11/5 Jerry Richards [EMAIL PROTECTED]: I'm setting NUTAG_SESSION_REFRESHER(nua_local_refresher) in a call to nua_set_params() after the call to nua_create(). Outbound INVITEs are then sent with the following header, as expected: Session-Expires: 3600;refresher=uac However, when 200 OK

Re: [Sofia-sip-devel] [BUG] SIP uri params specified in the TO_TAG_STR wrongly detected as the To header params

2008-11-21 Thread Pekka Pessi
2008/11/21 Stefano Sabatini [EMAIL PROTECTED]: On the other hand sofia sip seems to get confused when parsing the TO_TAG, and it consider the uri params like header params. Making this clear with an example: ... SIPTAG_TO_STR(sip:[EMAIL PROTECTED];foo=bar), ... will issue the

Re: [Sofia-sip-devel] patch: TPTAG_TLS_VERIFY_PEER

2008-11-26 Thread Pekka Pessi
2008/11/19 Paulo Pizarro [EMAIL PROTECTED]: This patch adds support to a new tag called TPTAG_TLS_VERIFY_PEER. Thank you. I've applied the patch. I wonder if someone is using the sekret environment variable SSL_VERIFY_PEER, it is probably their time to yell... -- Pekka.Pessi mail at nokia.com

Re: [Sofia-sip-devel] Session timer expiration

2008-11-26 Thread Pekka Pessi
2008/11/24 Timo Bruhn [EMAIL PROTECTED]: Now nua sends a bye with session timeout to the proxy after 400-400/3 -32 (approximately 235) seconds. This is too early in my opinion. RFC 4028 Section 10 says: Similarly, if the side not performing refreshes does not receive a session refresh

Re: [Sofia-sip-devel] Threading and timer questions WRT Sofia andiPhone

2008-11-26 Thread Pekka Pessi
2008/11/20 Andrew Rechenberg Lists [EMAIL PROTECTED]: Replying to myself in hope that it helps someone else and for posterity. I think I fixed my issue. I used su_root_step in my thread loop instead of su_root_run. So now my pseudo code looks like: AppSingleton *myapp; su_init()

Re: [Sofia-sip-devel] Compiling sofia-sip with TLS on windows

2008-11-26 Thread Pekka Pessi
2008/11/26 Tiago Katcipis [EMAIL PROTECTED]: Im trying to compile sofia-sip on windows with TLS support and im having a little trouble on doing that. When i include the tport_tls.c and the tport_tls.h on the project i got the following error: C:\ARQUIVOS DE PROGRAMAS\MICROSOFT

[Sofia-sip-devel] ANN: sofia-sip-1.12.9pre10rc1

2008-11-26 Thread Pekka Pessi
Hello all, Looks like a new stable release is badly needed. Just now I don't have much time for preparing a new release, but I've put out a new pre-release tar package available from sofia-sip.org: http://sofia-sip.org/~ppessi/sofia-sip-1.12.9pre10rc1.tar.gz md5sum:

Re: [Sofia-sip-devel] How to send arbitrary data

2008-12-02 Thread Pekka Pessi
2008/12/1 Dmytro Bablinyuk [EMAIL PROTECTED]: I am looking for a SIP library that will allow me to simply establish a calls between two sides and pass arbitrary data across. In fact that data will be a DVSI IMBE and some other, very specific codings. For Sofia this will be as some sort of

[Sofia-sip-devel] Fwd: How to use NUTAG_IDENTITY

2008-12-02 Thread Pekka Pessi
oops. -- Forwarded message -- From: Pekka Pessi [EMAIL PROTECTED] Date: 2008/12/2 Subject: Re: [Sofia-sip-devel] How to use NUTAG_IDENTITY To: Inca Rose [EMAIL PROTECTED] 2008/11/30 Inca Rose [EMAIL PROTECTED]: In my project, a SIP User Agent. I have to support more than one

[Sofia-sip-devel] ANN: sofia-sip-1.12.9pre10rc2

2008-12-03 Thread Pekka Pessi
Hello all, Second prerelease tar, with build fixes for Win32, updated RELEASE file, and some 500 patches cleaning up whitespace. http://sofia-sip.org/~ppessi/sofia-sip-1.12.9pre10rc2.tar.gz md5sum: d6c4723eb9effb968cdd4e46eb01d201 sha1sum: 443ec4cc1f266a91591c49d44b26a1816c765d68 sha256sum:

Re: [Sofia-sip-devel] Fwd: problem in registering user agent

2008-12-03 Thread Pekka Pessi
2008/12/2 arun sreedhara [EMAIL PROTECTED]: I am using sofia-sip stack to develop an user agent,As a first step i thought of writing a simple instant messaging application. For that, am trying to register my sip address to ekiga registrar but am getting service unavailable message from the

[Sofia-sip-devel] ANN: sofia-sip-1.12.10

2008-12-09 Thread Pekka Pessi
Hello everybody, The latest stable release of Sofia SIP is now available for download from SourceForge.net. Please find the release notes attached. -- Pekka.Pessi mail at nokia.com === Release notes for Sofia-SIP 1.12.10 ===

Re: [Sofia-sip-devel] nta_leg_magic() parameters

2008-12-11 Thread Pekka Pessi
2008/12/9 Aleksander Morgado [EMAIL PROTECTED]: I see that nta_leg_magic() is defined like this: nta_leg_magic_t * nta_leg_magic (nta_leg_t const *leg, nta_request_f *callback) Return application context for the leg. But what's the purpose of including the callback function in

Re: [Sofia-sip-devel] Redirecting the log of tport module

2008-12-11 Thread Pekka Pessi
2008/12/10 Stefano Sabatini [EMAIL PROTECTED]: I wonder if there is some way to redirect the tport log, if that's not possible I'd like to know from the devs which way they suggest to accomplish that modifying the source, maybe simply making tport_log public should do the trick. Yes, that is

Re: [Sofia-sip-devel] Managing call legs in multi-threaded environment

2008-12-12 Thread Pekka Pessi
2008/12/11 Aleksander Morgado sofia-sip-de...@aleksander.es: You have to obtain the root (via su_root_obtain()) that is used by nta in order to access the nta objects in safe manner. (The original thread used to create the root object must first release it with su_root_release()). Like

Re: [Sofia-sip-devel] Fw: [PATCH] nta: NULL host and port in user Via are filled automaticaly

2008-12-15 Thread Pekka Pessi
2008/12/7 Stas Maximov smaxi...@ieee.org: Hello, In some cases it may be useful to pre-fill only part of user Via and let NTA fill out the rest of Via. This is particularly useful with respect to v_host and v_port. Currently, NTA does not allow that. Attached is a simple patch against

Re: [Sofia-sip-devel] Bugfix for session timer negotiation

2009-01-05 Thread Pekka Pessi
2009/1/5 Pekka Pessi ppe...@gmail.com: 2008/12/11 Timo Bruhn voip_v...@web.de: it seems that in some cases session timer negotiation in nua (sofia-sip-1.12.10) does not work correctly. Nua then exspects the remote party to refresh the session, although they did not negotiate

Re: [Sofia-sip-devel] Bugfix for session timer negotiation

2009-01-05 Thread Pekka Pessi
2008/12/11 Timo Bruhn voip_v...@web.de: it seems that in some cases session timer negotiation in nua (sofia-sip-1.12.10) does not work correctly. Nua then exspects the remote party to refresh the session, although they did not negotiate that in their answer. I attached a patch with my

Re: [Sofia-sip-devel] nua_authenticate and NTLM

2009-01-05 Thread Pekka Pessi
2008/12/31 Andrew Rechenberg Lists flux...@resurgent.com: I'm trying to send an NTLM Authorization header to a Microsoft Office Communications Server 2007 and my code is getting a EXC_BAD_ACCESS in ca_credentials when using the macro AUTH_CLIENT_IS_EXTENDED. This function seems to be called

Re: [Sofia-sip-devel] nua_authenticate and NTLM

2009-01-05 Thread Pekka Pessi
2009/1/5 Andrew Rechenberg Lists flux...@resurgent.com: As far as I can recall the NTLM code is just copied from the digest code but there is actually no real functionality there.. It should probably be deactivated, or better, completed... I've started working on completing the NTLM code.

Re: [Sofia-sip-devel] NUA or NTA for a B2BUA?

2009-01-05 Thread Pekka Pessi
2008/12/29 Saúl Ibarra sag...@gmail.com: Hello and merry xmas for all :) This is my first email to the list, I haven't been able to find the answer to this question, but if it has been answered earlier just point me there and excuse me for asking again :) I'm planning to build a simple

Re: [Sofia-sip-devel] Generate INVITE from msg_t or sip_t

2009-01-05 Thread Pekka Pessi
2009/1/3 Saúl Ibarra sag...@gmail.com: I'm using the NUA API but can't figure out how to generate an outgoing INVITE by using a mgs_t or sip_t object I already have in my application. Is there a way to generate an outgoing invite apart from nua_invite? Nope, not at the moment. Perhaps there

Re: [Sofia-sip-devel] sofsip-cli install issue

2009-01-05 Thread Pekka Pessi
2008/12/24 Anand Rao an...@honnu.com: I am a new user of Sofia sip , I installed the base package and when I tried to compile sofsip-cli , I get the below error , Any help is appreciated. an...@neon:~/apps/Sofia/sofsip-cli-0.14$ ./configure configure: error: cannot find install-sh or

Re: [Sofia-sip-devel] DNS issue with Sres

2009-01-05 Thread Pekka Pessi
2008/12/22 Mohammed Sulaiman mhh.sulai...@talk21.com: Hi , we are using Sofia 1.12.8 on the Windows Mobile 6 platform in a voip client app. We have come across the following issue, when making a call over 3G. Sofia is using the IpHelper api on a our platform to get a list of nameservers. We

Re: [Sofia-sip-devel] darcs patch: TLS Changes (2 Patches)

2009-01-05 Thread Pekka Pessi
2008/12/17 Jarod Neuner j.neu...@networkharbor.com: This is first in a series of patches to the TLS code that will improve certificate validation facilities. Significant changes in this round include: 1) The TLS handshake is no longer handled via transparent negotiation. Certain static

Re: [Sofia-sip-devel] Forwarding SIP message in stateful NTA

2009-01-05 Thread Pekka Pessi
2008/12/22 Aleksander Morgado sofia-sip-de...@aleksander.es: I need to make SIP message forwarding in a stateful NTA, but not sure which is the correct way to do it. I receive the incoming transaction in the default leg, but how do I forward the SIP message to another user? Do I need to create

Re: [Sofia-sip-devel] Video call ,the server request 488

2009-01-05 Thread Pekka Pessi
2008/12/27 mingcheng hu h...@yuehetone.com: Hi all, I try to write a Video-enable SIP phone,but when connect to the server ,the server request 488.I don't know what's wrong. This is my grasp of the information used Wireshark. I need you help. RFC 3261: 1.4.26 488 Not Acceptable

Re: [Sofia-sip-devel] nua_authenticate and NTLM

2009-01-07 Thread Pekka Pessi
2009/1/5 Andrew Rechenberg Lists flux...@resurgent.com: There are some other things that need to get added to the header for OCS. Can I just use TAGs to add those? Can I add those tags in nua_authenticate? That depends on the things to add? You can add SIP headers with

Re: [Sofia-sip-devel] darcs patch: TLS Subject Verification in tport module

2009-01-07 Thread Pekka Pessi
2009/1/6 Jarod Neuner j.neu...@networkharbor.com: This patch should wrap up the major changes to the tport module. A new pointer (tpn_subject) has been added to the tp_name_t structure, which defines the subject name of the intended recipient of each message. Many thanks for your patch!

Re: [Sofia-sip-devel] How to catch a REGISTER timeout condition?

2009-01-07 Thread Pekka Pessi
2009/1/7 Stefano Sabatini ssabat...@reilabs.com: I wonder if it is actually possible to catch somehow a REGISTER timeout condition. Currently the behaviour of the sofia-sip stack seems to try the REGISTER again and again when it fails. Is it possible to set a timeout (either setting it in the

Re: [Sofia-sip-devel] nua_authenticate and NTLM

2009-01-08 Thread Pekka Pessi
2009/1/8 Andrew Rechenberg Lists flux...@resurgent.com: Yes, if there are several WWW-Authenticate challenges they are linked via au_next. For some reason the NTLM WWW-Authenticate header is the only one that it finds. The Kerberos header is not in the au_next. Any reason why this would be

Re: [Sofia-sip-devel] How to catch a REGISTER timeout condition?

2009-01-08 Thread Pekka Pessi
2009/1/8 Stefano Sabatini ssabat...@reilabs.com: I mean that when the REGISTER recipient doesn't reply, sofia-sip sends again and again the REGISTER. I would like to catch this condition say after N tries and when a certain timeout expires, and notify the sofia-sip stack of this. Currently I

Re: [Sofia-sip-devel] Validating sofia in accordance with ETSI

2009-01-08 Thread Pekka Pessi
2009/1/8 Paulo Pizarro paulo.piza...@gmail.com: There is a specification for conformance test of RFC 3261 defined by ETSI (www.etsi.org): ETSI TS 102 027-2 V4.1.1 Conformance Test Specification for SIP (IETF RFC 3261) I started a job to validate the sofia in accordance with this

Re: [Sofia-sip-devel] nua_authenticate and NTLM

2009-01-08 Thread Pekka Pessi
2009/1/8 Pekka Pessi ppe...@gmail.com: There is nothing wrong here, but it looks like parsing two WWW-Authenticate headers just fails. *Blush*. I'll have a peek in the parer OK, parser was just configured to reject multiple WWW-Authenticate headers, probably copypaste error from HTTP. I've

Re: [Sofia-sip-devel] sofia-sip changes (2009-01-08)

2009-01-09 Thread Pekka Pessi
2009/1/9 Della Betta Filippo filippo.dellabe...@telecomitalia.it: Again with Windows, since HAVE_STRCASESTR is undefined and strcasestr is not anymore implemented Files iptsec/auth_common.c nua/nua_params.c soa/soa_static.c will not link anymore I'll push rest of the changes shortly, I'll

Re: [Sofia-sip-devel] Hold still active after rejected ReINVITE

2009-01-09 Thread Pekka Pessi
2009/1/9 Bernhard Suttner bernhard.sutt...@comdasys.com: Step 3 SIP Client send a ReINVITE with a=inactive B responses with 488 (Not acceptable here) SIP Client ACK's Step 4 B send a ReINVITE with a=sendrecv SIP Client accepts this with a=inactive -- WHY??? B ACK's In my opinion the

Re: [Sofia-sip-devel] nua_handle_destroy does not free memory on ARM platform

2009-01-09 Thread Pekka Pessi
Sorry for late response, but I think this might interest other people, too.. 2008/12/4 Friedrich Möller friedrich.moel...@beronet.com: I still have massive memory problems running a sofia application on ARM. I've made a couple of tests, maybe anyone has a clue what might causing this: If I

Re: [Sofia-sip-devel] SigComp support?

2009-01-09 Thread Pekka Pessi
2009/1/5 Aleksander Morgado sofia-sip-de...@aleksander.es: Is that Sofia SigComp package implemented and public? Sofia SigComp package is Nokia proprietary code, it is not publicly available. There is a GPL sigcomp packages available, however, some plumbing is required in order to fit it with

[Sofia-sip-devel] strcasestr() and friends (Re: sofia-sip changes (2009-01-08))

2009-01-09 Thread Pekka Pessi
2009/1/9 Della Betta Filippo filippo.dellabe...@telecomitalia.it: Again with Windows, since HAVE_STRCASESTR is undefined and strcasestr is not anymore implemented I've now pushed changes that use su_strcasestr() instead of locale-dependent strcasestr(). Like strcasecmp() strcasestr() can

Re: [Sofia-sip-devel] Validating sofia in accordance with ETSI

2009-01-09 Thread Pekka Pessi
2009/1/9 Paulo Pizarro paulo.piza...@gmail.com: 2009/1/8 Pekka Pessi ppe...@gmail.com If I understand correctly, the problem is because spec does not specify whether the timer E is restarted (with T2) when entering the proceeding state or if it continues running with T1. NTA takes first

Re: [Sofia-sip-devel] sofia-sip changes (2009-01-10)

2009-01-12 Thread Pekka Pessi
2009/1/12 Della Betta Filippo filippo.dellabe...@telecomitalia.it: I know that work is in progress, but I noticed that is missing #include sofia-sip/su_string.h in file su_port.c (for su_casematch on line 144) and sip-dig.c on line 536 has a su_casematch instead of su_casenmatch Thanks,

Re: [Sofia-sip-devel] sofia-sip does modify the SDP

2009-01-12 Thread Pekka Pessi
2009/1/12 Bernhard Suttner bernhard.sutt...@comdasys.com: My application does generate a SDP (the o= line ) like this: o=APPL 98971 2774 IN IP4 10.42.1.27 Then I use the SOATAG_USER_SDP_STR to set the SDP. Afterwards I see on the network a SDP (the o= line) like that: o=APPL 98971 2774 IN

Re: [Sofia-sip-devel] Validating sofia in accordance with ETSI

2009-01-13 Thread Pekka Pessi
2009/1/13 Paulo Pizarro paulo.piza...@gmail.com: I'm testing the items related to the establishment of the call and I find a problem with the item SIP_CC_OE_CE_V_019. Ensure that the IUT when an INVITE client transaction is in the Calling state, on receipt of Success (200 OK) responses

Re: [Sofia-sip-devel] SDP can't be attached in ACK for special reInvite scenario

2009-01-13 Thread Pekka Pessi
2009/1/11 liu yang yangliu@gmail.com: I have a special scenario which could be described by following sequence diagram. Brief explanation is to delay SDP in ACK for reinvite session update. /* we hack here to get through following reinvite scenario */ /* *A

Re: [Sofia-sip-devel] darcs patch: TLS Subject Verification - Revision 2

2009-01-15 Thread Pekka Pessi
2009/1/15 Jarod Neuner j.neu...@networkharbor.com: Amended and ready to go. Thanks. Applied. --Pekka On Thu, 2009-01-15 at 09:32 -0600, Pekka Pessi wrote: 2009/1/14 Jarod Neuner j.neu...@networkharbor.com: This patch provides a whole host of configuration options for the tport tls module

Re: [Sofia-sip-devel] msg_header_format issue (?)

2009-01-15 Thread Pekka Pessi
2009/1/15 Andrew Rechenberg Lists flux...@resurgent.com: More issues with my NTLM code - again, might be me, but I need some help :) I've got the NTLM code returning a Base 64 encoded auth challenge but when I try to run my gssapi char * variable through msg_header_format the actual value of

Re: [Sofia-sip-devel] msg_header_format issue (?)

2009-01-16 Thread Pekka Pessi
2009/1/16 Andrew Rechenberg Lists flux...@resurgent.com: I've got the NTLM code returning a Base 64 encoded auth challenge but when I try to run my gssapi char * variable through msg_header_format the actual value of the variable is being modified/overwritten somehow. Interesting...

<    1   2   3   4   5   6   >