What you mean under "full set of flags"? At reply I use mirror (+/-) flags off course. More, it work without branches fine ( i select only one endpoint). I have issue only with branches.
23.10.2014 18:56 пользователь "Richard Fuchs" <rfuchs@sipwise.com> написал:
>
> On 10/23/14 06:03, Yuriy Gorlichenko wrote:
> > Hello all. I use rtpengine and rtpproxy-ng module at kamailio for
> > proxying RTP and modifying SDP between endpoints. I use two types of
> > clients - such as WSS based and UDP based clients.
> >
> > I have a trouble with append_branch and rtpengine handling for this
> > packets.
> >
> > I try to implement this logic of my script
> >
> > Logic of my script:
> >
> > --checking location table for rows with needed account
> > --get info from contact at loop
> >
> > for every step
> >
> > --check technology (sip or ws)
> > --append_branch with existing destination for this account
> > --rewrite packet with rtpengine to needed technology
> >
> >
> > after loop forward packets via t_relay
> >
> >
> > At listing bellow rtpproxy_manage have no flag "b" that implement needed
> > functionality. It not included at the script because I tried include it
> > but rtpengine says that ca nnot handle this request. As i understand
> > this flag worked with rtpproxy and rtpproxy-ng apps only. Not with
> > rtpengine.
> >
> >
> > At my test I have 2 endpoints with WS and UDP phones (at fist step ir WS
> > and 2 step it UDP). All calls going form asterisk via UDP. When I do
> > these steps (at my script) I see packet at TCP dump and saw that sended
> > only one packet to UDP but body of packet is WS. Then I saw log of
> > kamailio. I see that at second step packet changed body to WS body (so
> > strange because other steps before and after goes for UDP (as at logic
> > of script))
> >
> > If I set "b" flag I can call only UDP endpoint, but at log I see as I
> > say that rtpengine can not do thomething with SIP packets and send with
> > t_relay uncghanged UDP packet only.
>
> If you include the full set of flags in both cases, it should work
> without the "b" flag. IOW, include "-sp" when sending to an RTP endpoint
> (or perhaps "+sp") and "+SP" when sending to a WebRTC endpoint.
>
> cheers
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users