Hi,

Which version of Sofia are you using? Do you have old(er) header files still lying around on your system? I had a similar problem (switch-case was simply missing the event), where the culprit was compiling with out-of-date includes while using the new sofia-sip library.

Cheers,
Aki

ext Marcin Michalak wrote:
On 16 Feb 2006 at 12:59, [EMAIL PROTECTED] wrote:


Hallo Marcin,

Have you checked sip-options.c in utils directory? Try first compiling
that. Authentication is easy to add after you get the plain register
working. A good example is in ssip-gst (Gaim plugin). The basic idea is
to use nua_r_register callback event. Authenticated response to 401 or
407 is sent by using nua_authenticate() function.

mit freundlichen gruessen,

Martti

Hej,
I'm trying that... I can send the REGISTER message, but the don't get the callback called :-( How can I check if any message is received?
Here's part of my code, basing on options.c:
        nta_leg_tcreate(context->c_agent,
response_to_options, context, SIPTAG_FROM(from), SIPTAG_TO(to), TAG_END());

context->c_orq = nta_outgoing_tcreate(context->c_leg, response_to_options, context, NULL, SIP_METHOD_REGISTER, URL_STRING_MAKE("sip:192.168.19.129:5060"),
                                   SIPTAG_CONTACT_STR("<sip:[EMAIL 
PROTECTED]:8080>"),
                                   TAG_END());

Any ideas? After a while, I get 408 generated by the stack... Proxy sends 401 Authorization request though...
 Marcin
----------------------------------------------------------
Marcin Michalak         Research Engineer
Mobile: +41 79 330 83 51        Telscom AG              



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to