SamyGo
2016-Feb-18 21:05 UTC
[asterisk-users] Asterisk behind RTPproxy | On-Demand SDP engagement
Hi All, I've been wondering if I can instruct asterisk in the dialplan to engage the Media handling for a particular call or not. I've SIP users behind Kamailio & RTPProxy, and I can make use of sip.conf setting "directmediadeny|directmediapermit" to offload media from asterisk for peer-to-peer calls BUT what if someone wants to record a call or engage some feature-code ? Will asterisk re-negotiate/re-invite both peers to have Media flowing through asterisk and start recording !? Looking for some ideas and hints. Thanks and best regards, Sammy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160218/a8c42204/attachment.html>
Richard Mudgett
2016-Feb-18 21:42 UTC
[asterisk-users] Asterisk behind RTPproxy | On-Demand SDP engagement
On Thu, Feb 18, 2016 at 3:05 PM, SamyGo <govoiper at gmail.com> wrote:> Hi All, > I've been wondering if I can instruct asterisk in the dialplan to engage > the Media handling for a particular call or not. > > I've SIP users behind Kamailio & RTPProxy, and I can make use of sip.conf > setting "directmediadeny|directmediapermit" to offload media from asterisk > for peer-to-peer calls BUT what if someone wants to record a call or engage > some feature-code ? > > Will asterisk re-negotiate/re-invite both peers to have Media flowing > through asterisk and start recording !? > > Looking for some ideas and hints. >Asterisk will not allow direct media for a call when it has an interest in the media stream. In other words, if you enable a feature-code (such as the Dial xXtThHkK option flags), call recording, etc. then Asterisk will not do direct media for that call. Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160218/a0831476/attachment.html>
SamyGo
2016-Feb-18 22:08 UTC
[asterisk-users] Asterisk behind RTPproxy | On-Demand SDP engagement
That makes sense, so its not possible to have option 'tT' in DIAL() and have directmedia at the same time. Thanks Richard, Regards, Sammy On Thu, Feb 18, 2016 at 4:42 PM, Richard Mudgett <rmudgett at digium.com> wrote:> > > On Thu, Feb 18, 2016 at 3:05 PM, SamyGo <govoiper at gmail.com> wrote: > >> Hi All, >> I've been wondering if I can instruct asterisk in the dialplan to engage >> the Media handling for a particular call or not. >> >> I've SIP users behind Kamailio & RTPProxy, and I can make use of sip.conf >> setting "directmediadeny|directmediapermit" to offload media from asterisk >> for peer-to-peer calls BUT what if someone wants to record a call or engage >> some feature-code ? >> >> Will asterisk re-negotiate/re-invite both peers to have Media flowing >> through asterisk and start recording !? >> >> Looking for some ideas and hints. >> > > Asterisk will not allow direct media for a call when it has an interest in > the media stream. > In other words, if you enable a feature-code (such as the Dial xXtThHkK > option flags), call > recording, etc. then Asterisk will not do direct media for that call. > > Richard > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160218/8e4d2ee2/attachment.html>
Reasonably Related Threads
- URGENTS: seek people for video tests with asterisk/ser/rtpproxy + eyebeam
- RES: How to dial extensions asynchronous-sequentially ?
- RES: RES: How to dial extensions asynchronous-sequentially ?
- How to dial extensions asynchronous-sequentially ?
- Adding Variable in all AMI events