Files
freeswitch/src
Dmitry Verenitsin fbac12b451 Merge commit from fork
The nightmare-transfer path built its `switch_ivr_originate()` dial string by
interpolating the raw `Refer-To` URI params/headers into a
`{sip_invite_params=...}` brace block with `switch_core_sprintf()`.
`switch_ivr_originate()` splits a brace block on commas into separate channel
variables, so a comma in the remote-supplied URI params/headers was treated as a
variable separator and could set additional channel variables on the originated
leg.

Set `sip_invite_params` on the originate `ovars` event
(`nightmare_xfer_helper->vars`) instead. Values in that event are applied to the
peer channel verbatim and are never parsed for separators, so a comma stays
inside the single variable value. The composed value is unchanged
(`url_params?url_headers` when headers are present, `url_params` otherwise) and
`sofia_glue` reads `sip_invite_params` on the outbound leg as before, so a
well-formed REFER yields an identical outbound INVITE.

Drop the now-redundant `exten_with_params` helper field;
`nightmare_xfer_thread_run()` and the log use the plain
`nightmare_xfer_helper->exten` dial target directly.
2026-08-08 18:25:29 +03:00
..
2026-08-08 18:14:08 +03:00
2026-08-08 18:25:29 +03:00
2023-09-08 20:17:57 +03:00
…
2026-08-08 18:14:08 +03:00
2023-09-08 20:17:57 +03:00
2025-07-31 19:38:54 +03:00
2023-09-08 20:17:57 +03:00
2023-09-08 20:17:57 +03:00
2026-08-08 18:18:50 +03:00
2026-07-10 19:38:46 +03:00
2023-04-05 18:54:11 +03:00
2023-04-05 18:54:11 +03:00
2026-08-08 18:14:08 +03:00
2026-08-08 17:03:47 +03:00
2025-07-31 19:38:54 +03:00
2026-07-10 19:38:46 +03:00
2026-08-08 17:07:32 +03:00