<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 20, 2021 at 2:33 PM Eric Wieling <<a href="mailto:ewieling@nyigc.com">ewieling@nyigc.com</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"><br>
<br>
On 8/20/21 4:24 PM, Antony Stone wrote:<br>
> On Friday 20 August 2021 at 19:06:09, George Joseph wrote:<br>
> <br>
>> On Fri, Aug 20, 2021 at 8:33 AM Antony Stone wrote:<br>
>>><br>
>>> So, if I have Asterisk registered as a SIP client to some remote server,<br>
>>> how can I get Asterisk to tell that remote server to put the call on hold<br>
>>> (which a standard SIP telephone would normally do by sending a ReINVITE<br>
>>> with the SDP parameter 'sendonly')?<br>
>><br>
>> On the outgoing pjsip endpoint, set "moh_passthrough = yes". If you then<br>
>> put incoming call on hold, a reinvite with sendonly will be sent to the<br>
>> upstream server.<br>
> <br>
> So... how do I put the incoming call on hold, when the dumb client I'm<br>
> starting from cannot do that bit?<br>
> <br>
> I already know (from this list) that Asterisk as a SIP client cannot do ore<br>
> than (a) place a call, (b) answer a call, and (c) hang up a call.<br>
> <br>
> So, I'm still intrigued as to how you think this might be possible.<br>
> <br>
> If it *is* possible, I'd be really interested, but all my researches so far<br>
> suggest that Asterisk, acting in the middle like this, just cannot add the<br>
> necessary "put call on hold" which the original client cannot do.<br>
> <br>
<br>
With Asterisk, keep Asterisk in the media path with direct_media=yes and <br>
use DTMF to hold, transfer, and other features using features.conf. <br>
Asterisk has to stay in the media path when NAT is involved anyway.<br></blockquote><div><br></div><div>You need to set direct_media=no to keep Asterisk in the media path.</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>
I doubt anything except Asterisk or other B2BUA software can do what you <br>
want.<br>
<br>
-- <br>
<a href="http://help.nyigc.net/" rel="noreferrer" target="_blank">http://help.nyigc.net/</a><br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div></div>