[SR-Users] Problem with rtpproxy and rtpproxy_manage()

aft aftnix at gmail.com
Thu May 8 13:25:58 CEST 2014


On Wed, May 7, 2014 at 3:17 PM, aft <aftnix at gmail.com> wrote:
> On Wed, May 7, 2014 at 2:50 PM, Daniel-Constantin Mierla
> <miconda at gmail.com> wrote:
>> Hello,
>>
>> you should provide a ngrep output of such call (incoming invite to the
>> forwarded ack for 200ok), we can check the sdp.

[1] This is the capture made at the softphone's end :
http://pastebin.com/Lda0FYjp

This is the capture made at the proxy's end :

http://pastebin.com/g53pMGAF

[2] Another thing is this does not happen everytime. It happens like
50% of the time.

[3] If i don't do any repacketization, then 100% calls succeeds
without any problem. This problem comes up only when the
"repacketization" feature is turned on.

[4] Conceptually its bizarre, because if turn on the "repacketization"
at the proxy, how the switch/gateway knows at advance that there is
going to be repacketization at the proxy's end? So my suspicision is
that when instructing rtpproxy to do repacketization, kamailio is
doing something wrong in SDP so that the rtp packets are not flowing
through the proxy server. At first look, SDP's looked OK to me though.
>>
>
> I will capture such a call and post it as soon as possible
>
>> On the other hand, I didn't have good experiences with rtpproxy application
>> from git head, can you try with 1.2.1?
>
> Well the same thing happens with 1.2.1 also. Reasons for using the
> git-head is to see whether the problem went away.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 07/05/14 08:34, aft wrote:
>>>
>>> Hi,
>>>
>>> I'm using kamailio from latest git-HEAD. The rtpproxy i'm using also
>>> from latest git.
>>>
>>> Our network topology is following :
>>>
>>> sip-softphone--------->kamailio/rtpproxy-------->softswitch---->gateway
>>>
>>> Because of saving bandwidth we need to use the "re-packetization"
>>> feature of rtpproxy.
>>>
>>> When we don't use it, it works perfectly without any glitches.
>>>
>>> Now if we use the repacketization feature like following :
>>>
>>>   if (is_request()) {
>>>                  rtpproxy_manage("co");
>>>          }
>>>          if (is_reply()) {
>>>                  rtpproxy_manage("z80");
>>>          }
>>>
>>> Then a bizzare thing happens. Suddenly rtp packets from gateway stops
>>> coming. So we don't have any voice in softphone, although everything
>>> seems ok at the "mobile phone's end."
>>>
>>> This is bizzare at multiple levels, as you can see we are using
>>> repacketize feature to increase the payload size from "proxy to
>>> softphone" leg. So we actually don't touch the packets from "softphone
>>> to proxy" leg. So how the gateway predicts this and decides not to
>>> send packets is beyond my understanding.
>>>
>>> As far as i can understand, rtpproxy_manage() is doing something to
>>> SDP which makes it impossible to send packets through the proxy.
>>>
>>> I will provide further information if anybody wants to look at it.
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>>
>>
>> --
>> Daniel-Constantin Mierla - http://www.asipto.com
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>
>>
>> _______________________________________________
>> 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
>
>
>
> --
> -Cheers
> -Arif



-- 
-Cheers
-Arif



More information about the sr-users mailing list