Hello there,

I've downloaded Sofia-SIP today and just started to test it. I've compiled
the tutorial application from the wiki and it worked fine. Now I'm trying to
modify it so that it sends an invite instead of a hello world message. I
have not changed the application except for the send_message function,
replacing nua_message for nua_invite and adding the relevant tags. But when
I try to run it, I get the following (under gdb):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212736608 (LWP 18363)]
0xb7ee6cc5 in signal_call_state_change (nh=0x804e038, ss=0x0, status=900,
phrase=0xb7f5809e "Cannot Initialize Request",
   next_state=nua_callstate_init, oa_recv=0xc5a <Address 0xc5a out of
bounds>, oa_sent=0x0) at nua_session.c:3471
3471      if (ss->ss_state == nua_callstate_ready)

My guess is that I cannot send an invite before I call su_root_run (). Is
that correct? If so, is a multi-threaded application the only way to test an
invite? I'd like to run the simplest possible test.
Thank you in advance for any help.

Fabio
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to