A bit more information - I found the corresponding code in 
nua_session.c:
------------------------
static void signal_call_state_change():

if (oa_recv) {
            soa_get_remote_sdp(nh->nh_soa, &remote_sdp, &remote_sdp_str, 0);
            offer_recv = strcasecmp(oa_recv, "offer") == 0;
            answer_recv = strcasecmp(oa_recv, "answer") == 0;
          }
------------------------
This function doesn't check if remote_sdp... is non-null...
Is it a bug?
 Marcin


On 19 Feb 2007 at 17:41, Marcin Michalak wrote:

> Hi,
>  I'm back to sofia-sip :-)
> I'm using sofia-sip 1.12.5 on windows. Writing a simple app that will 
> go with the following scheme:
>       INVITE + SDP
> 183 Session Progress + SDP
>       PRACK
> 200 OK PRACK
>       UPDATE + SDP
> 200 OK UPDATE
> ...
> 
> I am on the callee side, and the stack crashes after sending the 200 
> OK for UPDATE:
> nta: sent 200 OK for UPDATE (6)
> I have received an event nua_i_update status 200 OK
> i_update
> nua(0039C660): call state changed: early -> early, received offer
> soa_get_remote_sdp(::00000000, [009EEA70], [009EEA64], [00000000]) 
> called
> 
> I have my own SDP negotiation, so I'm using NUTAG_MEDIA_ENABLE(0):
> 
> nua_respond(nh, SIP_183_SESSION_PROGRESS,  
>                                               
> SIPTAG_CONTENT_TYPE_STR("application/sdp"),
>                                               SIPTAG_PAYLOAD_STR(testsdpstr),
>                                               
> NUTAG_PROXY("sip:127.0.0.1:5060"),
>                                               NUTAG_MEDIA_ENABLE(0),
>                                               TAG_END());
> 
> Apparently, the stack is trying to get the remote SDP but its not 
> there.
>  Any hints? Would be grateful :-)
>   Regards,
>   Marcin
> ----------------------------------------------------------
> Marcin Michalak       Research Engineer
> Telscom AG            Bern, Switzerland
> 
> 
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
> 


----------------------------------------------------------
Marcin Michalak Research Engineer
Telscom AG              Bern, Switzerland


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to