Re: [Sofia-sip-devel] Fwd: Sample server (registrar) code

2007-03-19 Thread nnp
Hey, thanks for the response. I am still unclear on one thing though. Where is the entry point to the program? Also, how is process_call() indicated as the correct callback function to use. e.g something similar to nua_create when using the nua library? Thanks, nnp On 3/19/07, Diego Betancor <[EM

[Sofia-sip-devel] Fwd: Sample server (registrar) code

2007-03-19 Thread Diego Betancor
It is a little example..Hope it helps Server Verifying Authentication Tutorial for a server using nta and auth modules. typedef struct application{ /* other data as needed ... including home, root, and default leg etc*/ auth_mod_t *autorizacion; } application ; int init(){ /* all th

[Sofia-sip-devel] Sample server (registrar) code

2007-03-19 Thread nnp
Hey, I'm currently writing an application for fuzz testing SIP compatible clients (soft phones, hard phones etc) and looking for a simple way to deal with certain things I don't want to test in this app. One of these things is registration. I want to allow the the client to register with the serve

Re: [Sofia-sip-devel] Authentication state machinery

2007-03-19 Thread mikhail.zabaluev
Hi, >-Original Message- >From: ext Pekka Pessi [mailto:[EMAIL PROTECTED] >Sent: Monday, March 19, 2007 2:09 PM >To: Zabaluev Mikhail (Nokia-M/Helsinki) >Cc: sofia-sip-devel@lists.sourceforge.net >Subject: Re: [Sofia-sip-devel] Authentication state machinery > >> May it be that nua_authen

Re: [Sofia-sip-devel] receiveing 200 from REGISTER

2007-03-19 Thread Francesco Lamonica
On 3/19/07, Pekka Pessi <[EMAIL PROTECTED]> wrote: Your loop sends a new register every timeit calls send_message()? yes it was just a test app I'd do it like send_register(nua); for (registered = 0; !registered;) { su_root_step(root); } and change registered to 1 if REGISTER succeed

Re: [Sofia-sip-devel] remove Authorization header from re-REGISTER

2007-03-19 Thread Jan Van den bosch
Hi again, So far, I've tried this: nua_set_params(nua, SIPTAG_AUTHORIZATION(NULL), TAG_END()); nua_set_hparams(nh, SIPTAG_AUTHORIZATION(NULL), TAG_END()); both in my nua_r_register() callback, and this: nua_unregister(op->op_handle, SIPTAG_AUTHORIZATION(NULL), TAG_NULL()); in my unregister m

Re: [Sofia-sip-devel] Does sofia support DECLINE?

2007-03-19 Thread Sluschny, Thomas
ok, with 1.12.5 I get a callback and it works ... -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Pekka Pessi Gesendet: Montag, 19. März 2007 12:49 An: Sluschny, Thomas Cc: sofia-sip-devel@lists.sourceforge.net Betreff: Re: [Sofia-sip-devel] Does

Re: [Sofia-sip-devel] Authentication state machinery

2007-03-19 Thread Pekka Pessi
2007/3/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > There is another discovery: a call does not get terminated cleanly if a > 401/407 response to INVITE is not handled with nua_authenticate(), e.g. due > to absence of credentials to submit. Instead, after the final ACK is sent as > per the call

Re: [Sofia-sip-devel] receiveing 200 from REGISTER

2007-03-19 Thread Pekka Pessi
2007/3/14, Francesco Lamonica <[EMAIL PROTECTED]>: > Hi, i am starting to develop with sofia-sip and was experimenting a bit with > the sip options example i found on the wiki. > > i modified the example in order to send REGISTER and used a loop like this > to gather the proxy responses: > > >w

Re: [Sofia-sip-devel] INVITE without SDP: No session set by user

2007-03-19 Thread Pekka Pessi
2007/3/13, Chung Pak Lai <[EMAIL PROTECTED]>: > The problem I am having is that the second user SDP in the 200OK (INVITE > with SDP) doesn't overwrite the SDP message in the first 200OK (INVITE > without SDP). Why it should overwrite it? If you want to use different SDP later, you can set it with

Re: [Sofia-sip-devel] problem while installing sofia-sip library

2007-03-19 Thread Pekka Pessi
2007/3/10, Noorulla Mohammad <[EMAIL PROTECTED]>: > i'm trying to install sofia-sip library on linux platform. i had downloaded > the library from > http://sourceforge.net/project/showfiles.php?group_id=143636 > and chossen > sofia-sip version 1.12.5. In the readme file these are the steps mentio

Re: [Sofia-sip-devel] Does sofia support DECLINE?

2007-03-19 Thread Pekka Pessi
2007/3/8, Sluschny, Thomas <[EMAIL PROTECTED]>: > i use freeswitch with sofia and get a DECLINE from a SIP device after i sent > an INVITE to it: > > send 995 bytes to udp/[192.168.1.1]:5060 at 14:54:35.476608: > > >INVITE

Re: [Sofia-sip-devel] RFC3725

2007-03-19 Thread Pekka Pessi
2007/3/7, Helmut Kuper <[EMAIL PROTECTED]>: > I use WeSIP click2dial application with UACs registered to freeswitch. > But when I establish a call via web app, freeswitch doesn't response > with an OK to the INVITE (with no SDP) for the caller from wep app. > Following RFC 3725 (http://www.faqs.org