#1848 closed defect (fixed)
SDP failed to be created when creating an offer if provisional media has been cleared — at Version 3
Reported by: | riza | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.4.5 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description (last modified by ming)
When a re-INVITE/UPDATE fails, pjsua will clear its provisional medias. This may cause assertion when creating subsequent SDP offers.
Example scenario:
- Normal call is established between caller and callee.
- Caller sends INVITE (Hold) to callee.
- Callee rejects hold request with 488. Provisional media was cleared.
- Caller creates another offer (either because it receives an INVITE without SDP, or if it's trying to repeat step 2 above by calling pjsua_call_set_hold()). Because provisional media has been cleared, error was returned when creating SDP (PJ_EAFNOTSUP).
This ticket will check if the provisional media was cleared and if so, will reinitialize media channel.
Thanks to Marcus Froeschl for the report
Change History (3)
comment:1 Changed 10 years ago by riza
comment:2 Changed 10 years ago by ming
- Resolution set to fixed
- Status changed from new to closed
In 5094:
comment:3 Changed 10 years ago by ming
- Description modified (diff)
- Summary changed from SDP failed to be created which lead to crash caused by rejected HOLD request to SDP failed to be created when creating an offer if provisional media has been cleared
Note: See
TracTickets for help on using
tickets.
In 5082: