[Freeswitch-users] Change SDP by SIP UPDATE

Oleg Belousov obelousov at gmail.com
Wed Dec 2 12:56:33 UTC 2020


Hi.
Is there a possibility in Freeswitch to update the SDP of a
pre-answered call by SIP UPDATE message?
Call flow is as following:
1. FS responds to A-party with 183/SDP (SDP IP==FS IP) and performs some
checks  in preanswer mode
2. If checks on step 1 passed ok, FS initiates a call to B-party,
receives from B-party 183/SDP (SDP IP = MGW_B) and sends to A-party 183/SDP
with same new SDP IP = MGW_B, so doing change of SDP parameter in the same
transaction.

That scenario executes with below commands (need in media travel directly
between parties after the bridge)
session:execute("set","bypass_media=true")
second_session = session:execute("bridge",BridgeStr);

The question: is there a parameter which allows during the bridge to update
SDP by SIP UPDATE, instead of changing  SDP using provisional responses?
A-party switch does not accept such SDP change and thus there is a problem
with audio after the bridge.
--
obelousov.tel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20201202/65810e4a/attachment.html>


More information about the FreeSWITCH-users mailing list