<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 18, 2021 at 1:30 PM Antony Stone <<a href="mailto:Antony.Stone@kamailio.open.source.it">Antony.Stone@kamailio.open.source.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wednesday 18 August 2021 at 13:40:25, David Villasmil wrote:<br>
<br>
> In freeswitch you have the uuid_hold, etc api:<br>
> <a href="https://www.freeswitch.org/confluence/plugins/servlet/mobile?contentId=1966" rel="noreferrer" target="_blank">https://www.freeswitch.org/confluence/plugins/servlet/mobile?contentId=1966</a><br>
> 741#content/view/1966741<br>
> <br>
> You call the API uuid_hold [uuid] or uuid_hold off  [uuid] to take the<br>
> channel out of hold.<br>
><br>
> UUID in freeswitch is what uniquely identifies a given channel.<br>
<br>
But, would that not perform the hold function on the FreeSwitch server?<br></blockquote><div><br></div><div>Yes, if your app doesn't support it, you can't expect it to do it, right? You would call the API uuid_kill on the B-leg of your call, meaning the leg connected to the PBX.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
And, if after putting it on hold, I need to transfer a call to another number <br>
/ channel, that transfer would also take place on the FreeSwitch server?<br>
<br></blockquote><div><br></div><div>Correct</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Or am I misunderstanding, and FreeSwitch can pass the instruction to "place <br>
the call (channel if you prefer) on hold" on to the PBX system which my <br>
existing client application is placing its calls through?<br>
<br></blockquote><div><br></div><div>Correct.</div><div><br></div><div>In effect, your app would call into freeswitch and then in freeswitch you would do anything your app can't do. Everything from FS' point of view.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> When you say:<br>
> <br>
> “However, my understanding of a B2BUA is that *it* would then start<br>
> handling the state of the calls itself - whether they're on hold, routing<br>
> the transfers, etc.”<br>
> <br>
> This is correct, that’s how B2BUA works, but you can send an API to fs via<br>
> ESL (tcp connection on port 8021) to put on hold not just your channel,<br>
> since that would simply send a reconly to your app, but also the B-leg of<br>
> the call.<br>
<br>
This all sounds as though I am getting FreeSwitch to "do the work" and manage <br>
the hold/transfer/resume/conference/whatever itself.  I could do that with <br>
Asterisk (which I already know, whereas I haven't used FreeSwitch), but it <br>
isn't a solution to my needs.<br>
<br>
I need something which will *tell the existing PBX* to do these things (and <br>
it's probably not running FreeSwitch), in just the same way as pressing the <br>
buttons on a competent SIP phone such as Yealink or Polycom would tell the PBX <br>
to do it.<br>
<br>
<br>
Antony.<br>
<br>
-- <br>
The Magic Words are Squeamish Ossifrage.<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
<br>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>