[SR-Users] incorrect port 0 in reply from rtp proxy
Alex Balashov
abalashov at evaristesys.com
Tue Jun 7 05:52:53 CEST 2011
What are the syntax issues?
P.S. has_sdp() doesn't actually exist.
--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/
On Jun 6, 2011, at 11:48 PM, Mokhtar Bengana <mokhtar.bengana at gmail.com> wrote:
> 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
>>
>
> _______________________________________________
> 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