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

2008-12-08 Thread Inca Rose
Hi; You do not have to add the \ to the sprint f, the realm param already have quotes. your sprintf should look like: sprintf(auth,%s:%s:%s:%s, method, realm, user ,password); Regards Inca R On Dec 7, 2008, at 11:17 PM, arun sreedhara wrote: Hi Pessi,

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

2008-12-08 Thread arun sreedhara
hi Rose, Thanks for the quick response..now i recieved the 200 ok message after sending the authentication message. Now am trying to send a simple plain text message to the receipient,for that am using nua_message() giving the handle,content type and the pay load string, but the callback

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

2008-12-07 Thread arun sreedhara
Hi Pessi, I was able to send the register message finally to the registrar.Since the authentication process was missing during registration, i got the message with status 401 in the callback.In reply to this i have called nua_authenticate() function filling the appropriate auth

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

2008-12-05 Thread arun sreedhara
hi, I followed the same steps as mentioned by you but problem dint get ressolved.I am getting DNS Error message with status 503 in the callback. and couldn't find the reason for this.Have you tried registering to public SIP providers like ekiga,iptel etc.with this code ?.Can u tell me some

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

2008-12-04 Thread arun sreedhara
I am getting the message as service unavailable with status as 503. In the ekiga site , its mentioned that the registrar is ekiga.net and i have tried to using NUTAG_REGISTRAR(sip:ekiga.net), in this case am receiving DNS Error message with status 503.I have been trying with different SIP

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

2008-12-04 Thread Inca Rose
Hi; I did not add any NUTAG_REGISTER to my register request, I think sofia can take the domain part for the req-uri from the To/ From headers. Check the following code: // Sends register to the server sip_addr_t *from, *to; url_string_t *r_uri;

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