Re: [SR-Users] rtpproxy-ng and late SDP

2015-05-19 Thread Richard Fuchs

On 18/05/15 03:53 AM, Sebastian Damm wrote:

Hi Alex,

On Thu, May 14, 2015 at 5:47 AM, Alex Balashov
abalas...@evaristesys.com mailto:abalas...@evaristesys.com wrote:

According to the rtpengine module documentation for
rtpproxy_manage(), that's exactly what rtpproxy_manage() does:



http://kamailio.org/docs/modules/4.2.x/modules/rtpengine.html#rtpengine.f.rtpengine_manage

i.e.

- If INVITE with SDP, then do rtpengine_offer()
- If INVITE with SDP, when the tm module is loaded, mark transaction
with internal flag FL_SDP_BODY to know that the 1xx and 2xx are for
rtpengine_answer()
- If ACK with SDP, then do rtpengine_answer()
- If reply with SDP to INVITE having code 1xx and 2xx, then do
rtpengine_answer() if the request had SDP or tm is not loaded,
otherwise do rtpengine_offer()



What I'm missing there is how to handle an INVITE without SDP. Does that
mean, that if we haven't called rtpproxy_manage() on the INVITE, the 1xx
or 2xx reply will trigger an rtpproxy_offer instead of rtpproxy_answer?


That's what's supposed to happen, yes.

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


Re: [SR-Users] rtpproxy-ng and late SDP

2015-05-18 Thread Sebastian Damm
Hi Alex,

On Thu, May 14, 2015 at 5:47 AM, Alex Balashov abalas...@evaristesys.com
wrote:

 According to the rtpengine module documentation for rtpproxy_manage(),
 that's exactly what rtpproxy_manage() does:



 http://kamailio.org/docs/modules/4.2.x/modules/rtpengine.html#rtpengine.f.rtpengine_manage

 i.e.

 - If INVITE with SDP, then do rtpengine_offer()
 - If INVITE with SDP, when the tm module is loaded, mark transaction with
 internal flag FL_SDP_BODY to know that the 1xx and 2xx are for
 rtpengine_answer()
 - If ACK with SDP, then do rtpengine_answer()
 - If reply with SDP to INVITE having code 1xx and 2xx, then do
 rtpengine_answer() if the request had SDP or tm is not loaded, otherwise do
 rtpengine_offer()



What I'm missing there is how to handle an INVITE without SDP. Does that
mean, that if we haven't called rtpproxy_manage() on the INVITE, the 1xx or
2xx reply will trigger an rtpproxy_offer instead of rtpproxy_answer?

Best Regards,
Sebastian
___
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


[SR-Users] rtpproxy-ng and late SDP

2015-05-13 Thread Sebastian Damm
Hi,

I'm working on a setup, where I have to support late SDP. It is working
right now, but I have to use an explicit rtpproxy_offer() when processing
the reply to an INVITE without SDP.

Is there a way to have rtpproxy_manage() handle those calls automatically?
I was thinking of setting a flag in the request which is used by the
rtpproxy_manage() function later.

Best Regards,
Sebastian
___
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


Re: [SR-Users] rtpproxy-ng and late SDP

2015-05-13 Thread Alex Balashov

Hello Sebastian,

On 05/13/2015 10:12 AM, Sebastian Damm wrote:


Is there a way to have rtpproxy_manage() handle those calls
automatically? I was thinking of setting a flag in the request which
is used by the rtpproxy_manage() function later.


According to the rtpengine module documentation for rtpproxy_manage(), 
that's exactly what rtpproxy_manage() does:



http://kamailio.org/docs/modules/4.2.x/modules/rtpengine.html#rtpengine.f.rtpengine_manage

i.e.

- If INVITE with SDP, then do rtpengine_offer()
- If INVITE with SDP, when the tm module is loaded, mark transaction 
with internal flag FL_SDP_BODY to know that the 1xx and 2xx are for 
rtpengine_answer()

- If ACK with SDP, then do rtpengine_answer()
- If reply with SDP to INVITE having code 1xx and 2xx, then do 
rtpengine_answer() if the request had SDP or tm is not loaded, otherwise 
do rtpengine_offer()


-- Alex

--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

___
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