Dear colleagues, The task is to start two sessions from JS script and then bridge them in no-media mode. Unfirtunately, FreeSwitch does not reINVITE the peers after bridging. Here is my script: SCRIPT #1 - 'callback-session.js' <<<<<<<<<<<<<<<<<<<<<<<<<< session = new Session("{bypass_media_after_bridge=true,ignore_early_media=true,hangup_after_bridge=true}user/1001"); session2 = new Session("{ignore_early_media=true}user/1001"); bridge(session, session2);
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Then I run this script from the freeswitch console: freeswitch@internal> jsrun callback-session.js And there is no re-invites between peers, peers get connected and the traffic goes through FS. Is there something I do wrong in the script? What should I do to make FS reINVITE peers? Many thanks in advance! Best regards, Timur Valishev