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

2009-01-08 Thread Stefano Sabatini
On date Wednesday 2009-01-07 19:49:38 +0200, Pekka Pessi phoned this: 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

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

2009-01-08 Thread Paulo Pizarro
Hi all, 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)http://webapp.etsi.org/workprogram/Report_WorkItem.asp?WKI_ID=19800 I started a job to validate the sofia in

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

2009-01-08 Thread Andrew Rechenberg Lists
Could I add the Supported and ms-keep-alive portions of that header? Sure, SIPTAG_SUPPORTED_STR(gruu-10, adhoclist), SIPTAG_HEADER_STR(ms-keep-alive: uac;hop-hop=yes) Great! You need 3 request-responses for authentication? Or should we include something in the first REGISTER. Nua

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] How to catch a REGISTER timeout condition?

2009-01-08 Thread Inca Rose
Hi; I think you can use NTA_TAGS like: NTATAG_SIP_T1X64 to set the timeout of the REGISTER transaction. Setting this value will still use the other Tx timers and send retransmissions but you will have control of the timeout value the stack will return a timeout response. Regards Inca R On

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

2009-01-08 Thread Andrew Rechenberg Lists
Perhaps there is a problem parsing the Kerberos header? Could you send a trace containing such a WWW-Authenticate header. Here's a snipped trace (also available at http://dpaste.com/hold/106771/) tport_recv_event(0x1044830) tport_tls_recv(0x1044830): tls_read() returned -1

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

2009-01-08 Thread Inca Rose
Regarding the NAT_SIP_Tx tags; Can they be used per transaction ? For example setting the Timers when creating a new handle or in nua_invite/ nua_register ??? Thanks Inca R On Jan 8, 2009, at 5:37 PM, Pekka Pessi wrote: 2009/1/8 Stefano Sabatini ssabat...@reilabs.com: I mean that when the

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

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

2009-01-08 Thread Sofia-SIP Darcs Changes
This posting was generated automatically from darcs repo http://sofia-sip.org/repos/sofia-sip. Thu Jan 8 20:04:21 EET 2009 Pekka Pessi first.l...@nokia.com * sofia-sip/su_string.h: added Adding locale-independent, NULL-safe string comparison, matching and searching functions: -