Commit f3792d4
Marcel Hecko
Fix issue #205: Update SBCCallRegistry with actual B-leg Call-ID
When Call-ID is rewritten via call profile (Call-ID=$ci_mo-b2b) or when
transparent_dlg_id is enabled, the registry now stores the actual Call-ID
used in SIP messages instead of the auto-generated one.
This fixes REFER with Replaces header failures where lookupCall would
return an auto-generated Call-ID that doesn't match any active dialog.
Changes:
- Added SBCCallRegistry::updateCallId() method
- Update A->B registry mapping after Call-ID changes in:
* transparent_dlg_id mode (SBCCallLeg constructor)
* call_profile.callid rewrite (applyBProfile)1 parent 6e113db commit f3792d4
File tree
3 files changed
+22
-1
lines changed- apps/sbc
3 files changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| |||
411 | 414 | | |
412 | 415 | | |
413 | 416 | | |
414 | | - | |
| 417 | + | |
415 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
416 | 423 | | |
417 | 424 | | |
418 | 425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
53 | 66 | | |
54 | 67 | | |
55 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments