[SR-Users] incorrect port 0 in reply from rtp proxy

Mokhtar Bengana mokhtar.bengana at gmail.com
Tue Jun 7 05:48:55 CEST 2011


Andrew,

I am trying to use rtpproxy_offer/answer on the ONREPLY ROUTE but I am
having some syntax issues. Here is the example I am using. Any help
with the syntax appreciated.


route {
...
    if (is_method("INVITE")) {
        if (has_sdp()) {
            if (rtpproxy_offer())
                t_on_reply("1");
        } else {
            t_on_reply("2");
        }
    }
    if (is_method("ACK") && has_sdp())
        rtpproxy_answer();
...
}

onreply_route[1]
{
...
    if (has_sdp())
        rtpproxy_answer();
...
}

onreply_route[2]
{
...
    if (has_sdp())
        rtpproxy_offer();
...
}

On Mon, Jun 6, 2011 at 5:37 AM, Andrew Pogrebennyk
<andrew.pogrebennyk at portaone.com> wrote:
> Mokhtar, could you please make sure that you are calling route(RTPPROXY) in
> reply route as well, as Alex suggested?
>
> On 03.06.2011 16:33, Mokhtar Bengana wrote:
>>
>> This is how I configured rtpproxy. Not sure why rtpproxy is not
>> engaged both ways. Thanks for your help.
>
> --
> Sincerely,
> Andrew Pogrebennyk
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list