Re: [asterisk-users] Asterisk behind RTPproxy | On-Demand SDP engagement

2016-02-18 Thread SamyGo
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 
wrote:

>
>
> On Thu, Feb 18, 2016 at 3:05 PM, SamyGo  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
>
-- 
_
-- 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

Re: [asterisk-users] Asterisk behind RTPproxy | On-Demand SDP engagement

2016-02-18 Thread Richard Mudgett
On Thu, Feb 18, 2016 at 3:05 PM, SamyGo  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

[asterisk-users] Asterisk behind RTPproxy | On-Demand SDP engagement

2016-02-18 Thread SamyGo
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
-- 
_
-- 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