[Kamailio-Devel] Question about the newer funcionts rtpproxy_stream2xxx
Daniel-Constantin Mierla
miconda at gmail.com
Sun Dec 28 11:42:30 CET 2008
Hello,
On 12/27/08 15:37, Raúl Alexis Betancor Santana wrote:
> Hi all, reading the docs of the newer nathelper module on kamailio devel, I
> found a mention on Example 1.22 about:
>
> ...
> if (is_method("INVITE")) {
> rtpproxy_offer();
> if (detect_hold()) {
> rtpproxy_stream2uas("/var/rtpproxy/prompts/music_on_hold", -1);
> } else {
> rtpproxy_stop_stream2uas();
> };
> };
> ...
>
> But as far as I know, there is no detect_hold function on any module I
> know ... or is a function in some devel module not published yet?
>
maybe Maxim can tell more ... it could be just a pseudo-code or, indeed,
some unpublished feature yet.
The new sdp parser could be used to implement it, or the code from
nathelper module.
> Talking about this .. are there any method to detect "hold" request appart
> from using the textops module and parsing the SDP ?
>
Right now, in the config, textops is the choice.
Happy holidays!
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Devel
mailing list