Opened 12 years ago

Closed 12 years ago

#1514 closed defect (fixed)

Assertion when media transport initialization fails and NULL instead DISCONNECTED is reported in the on_call_state() callback

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.0
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp)

There are two problems:

  1. When media transport initialization fails, it looks like PJSUA-LIB ignores this and continue with the call, causing assertion that looks like this:
    pjsua-x86_64-unknown-linux-gnu: ../src/pjmedia/endpoint.c:770: 
    pjmedia_endpt_create_base_sdp: Assertion `!"Invalid address family"' failed.
    
  2. When the above is fixed, the call gets disconnected as expected. But during disconnection callback via on_call_state() callback, call state is reported as NULL instead of DISCONNECTED.

Change History (5)

comment:1 Changed 12 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 12 years ago by bennylp

In r4134: fixed the first problem

comment:3 Changed 12 years ago by bennylp

In r4135: fixed second problem

comment:4 Changed 12 years ago by bennylp

In r4136: fixed the incoming call scenario, and changed disconnection code from Precondition Failure to Temporarily Unavailable

comment:5 Changed 12 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.