Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-06-01 Thread Miha

HI

engage_rtp_proxy() work ok. I was having some other issue with dialog. 
Tnx to @Bogdan I figure it out.



br

miha


On 31/05/2016 15:54, Sasmita Panda wrote:
In my case its working great . So I haven't done such experiments to 
know what is happening with dialog module  . We are using this form 
years .


 If you got to know then let me know also . That may help me in 
future .


*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 6:56 PM, Miha > wrote:


@Sasmita I had writen cfg script like this and it works. I tried
than with engage_rtp_proxy() but did not work automatically, that
is why i asked :)

So, can be some issue with dialog module? Not configured properly?


tnx

miha


On 31/05/2016 15:21, Sasmita Panda wrote:

Yes . This should happen . But I don't know the exact problem .
What I explain is the way we are using rtpproxy .
This is clearly mention in the document also .. You can go
through opensips.org 

This is what we are doing .  Rest I am not an expertise in
opensips .
route {
...
 if (is_method("INVITE")) {
 if (has_body("application/sdp")) {
 if (rtpproxy_offer())
 t_on_reply("1");
 } else {
 t_on_reply("2");
 }
 }
 if (is_method("ACK") && has_body("application/sdp"))
 rtpproxy_answer();
...
}

onreply_route[1]
{
...
 if (has_body("application/sdp"))
 rtpproxy_answer();
...
}

onreply_route[2]
{
...
 if (has_body("application/sdp"))
 rtpproxy_offer();
...
}

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 6:32 PM, Max Mühlbronner mailto:m...@42com.com>> wrote:

Hi,


@Miha: Are you sure that it does not automatically set the
rtpproxies for 200OK & ACK?

@Sasmita: According to the documentation it is not necessary
to invoke engage_rtp_proxy() for replies as this is handled
by the dialog module.


"Function must only be called for the initial INVITE and
internally takes care of rewriting the body of 200 OKs and
ACKs. "



Best Regards

Max M.


On 31.05.2016 14:42, Miha wrote:

@Sasmita, totally clear :)

I asked wrong question :)


What is the difference between using engage_rtp_proxy() or
using rtpproxy_offer(), rtpproxy_answer()?


tnx

miha


On 31/05/2016 14:39, Sasmita Panda wrote:

If you are using in INVITE , then it should be
offer . Because firstly we are offering media to someone .
If its 200 Ok then it will be answer because the 2nd party
is answering the call .

  If there is no sdp in INVITE but in ACK , then it
will get reversed . In 200 OK you should offer and in ACK
you have to answer .
This can be done in loop .

 I hope I make you understand .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 6:02 PM, Miha mailto:m...@softnet.si> 
> wrote:

ok tnx. I understand documentation on wrong way.

But then, what is the difference with  using rtpproxy
offer, answer ?


br

mia


On 31/05/2016 14:17, Sasmita Panda wrote:

If there is sdp in ACK and u wanted to engage rtp
proxy , the
 you have to write it inside ACK also ... By writing
for INVITE
cant help you to update ACK also . For 200 OK , you
must write it
in reply route .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq
mailto:jo...@democon.be>
 > wrote:

put it also in reply route.

2016-05-31 13:42 GMT+02:00 Miha mailto:m...@softnet.si>
 >:

HI

if I use engage_rtp_proxy(), I can use it only
on initial
INVITE and opensips should automatically
rewritten also
200 OK and ACK with SDP, right?
But when I am using this function, I can see
from trace
that only SDP for initial invite is rewritten,
200 ok

Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Sasmita Panda
In my case its working great . So I haven't done such experiments to know
what is happening with dialog module  . We are using this form years .

 If you got to know then let me know also . That may help me in future .

*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Tue, May 31, 2016 at 6:56 PM, Miha  wrote:

> @Sasmita I had writen cfg script like this and it works. I tried than with
> engage_rtp_proxy() but did not work automatically, that is why i asked :)
>
> So, can be some issue with dialog module? Not configured properly?
>
>
> tnx
>
> miha
>
>
> On 31/05/2016 15:21, Sasmita Panda wrote:
>
> Yes . This should happen . But I don't know the exact problem . What I
> explain is the way we are using rtpproxy .
> This is clearly mention in the document also .. You can go through
> opensips.org
>
> This is what we are doing .  Rest I am not an expertise in opensips .
>
> route {
> ...
> if (is_method("INVITE")) {
> if (has_body("application/sdp")) {
> if (rtpproxy_offer())
> t_on_reply("1");
> } else {
> t_on_reply("2");
> }
> }
> if (is_method("ACK") && has_body("application/sdp"))
> rtpproxy_answer();
> ...
> }
>
> onreply_route[1]
> {
> ...
> if (has_body("application/sdp"))
> rtpproxy_answer();
> ...
> }
>
> onreply_route[2]
> {
> ...
> if (has_body("application/sdp"))
> rtpproxy_offer();
> ...
> }
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
> On Tue, May 31, 2016 at 6:32 PM, Max Mühlbronner  wrote:
>
>> Hi,
>>
>>
>> @Miha: Are you sure that it does not automatically set the rtpproxies for
>> 200OK & ACK?
>>
>> @Sasmita: According to the documentation it is not necessary to invoke
>> engage_rtp_proxy() for replies as this is handled by the dialog module.
>>
>>
>> "Function must only be called for the initial INVITE and internally takes
>> care of rewriting the body of 200 OKs and ACKs. "
>>
>>
>>
>> Best Regards
>>
>> Max M.
>>
>>
>> On 31.05.2016 14:42, Miha wrote:
>>
>> @Sasmita, totally clear :)
>>
>> I asked wrong question :)
>>
>>
>> What is the difference between using engage_rtp_proxy() or using
>> rtpproxy_offer(), rtpproxy_answer()?
>>
>>
>> tnx
>>
>> miha
>>
>>
>> On 31/05/2016 14:39, Sasmita Panda wrote:
>>
>> If you are using in INVITE , then it should be offer . Because
>> firstly we are offering media to someone . If its 200 Ok then it will be
>> answer because the 2nd party is answering the call .
>>
>>   If there is no sdp in INVITE but in ACK , then it will get reversed
>> . In 200 OK you should offer and in ACK you have to answer .
>> This can be done in loop .
>>
>>  I hope I make you understand .
>>
>> */Thanks & Regards/*
>> /Sasmita Panda/
>> /Network Testing and Software Engineer/
>> /3CLogic , ph:07827611765/
>>
>> On Tue, May 31, 2016 at 6:02 PM, Miha < m...@softnet.si
>>  > wrote:
>>
>> ok tnx. I understand documentation on wrong way.
>>
>> But then, what is the difference with  using rtpproxy offer, answer ?
>>
>>
>> br
>>
>> mia
>>
>>
>> On 31/05/2016 14:17, Sasmita Panda wrote:
>>
>> If there is sdp in ACK and u wanted to engage rtp proxy , the
>>  you have to write it inside ACK also ... By writing for INVITE
>> cant help you to update ACK also . For 200 OK , you must write it
>> in reply route .
>>
>> */Thanks & Regards/*
>> /Sasmita Panda/
>> /Network Testing and Software Engineer/
>> /3CLogic , ph:07827611765/
>>
>> On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq
>> < jo...@democon.be 
>> > wrote:
>>
>> put it also in reply route.
>>
>> 2016-05-31 13:42 GMT+02:00 Miha < 
>> m...@softnet.si
>>  >:
>>
>> HI
>>
>> if I use engage_rtp_proxy(), I can use it only on initial
>> INVITE and opensips should automatically rewritten also
>> 200 OK and ACK with SDP, right?
>> But when I am using this function, I can see from trace
>> that only SDP for initial invite is rewritten, 200 ok
>> with sdp is not changed. Must I do something else?
>>
>> Rtpproxy is not running in bridge mode.
>>
>>
>> tnx
>> miha
>>
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org 
>>  
>> 
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org 
>>  
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Miha
@Sasmita I had writen cfg script like this and it works. I tried than 
with engage_rtp_proxy() but did not work automatically, that is why i 
asked :)


So, can be some issue with dialog module? Not configured properly?


tnx

miha


On 31/05/2016 15:21, Sasmita Panda wrote:
Yes . This should happen . But I don't know the exact problem . What I 
explain is the way we are using rtpproxy .
This is clearly mention in the document also .. You can go through 
opensips.org 


This is what we are doing .  Rest I am not an expertise in opensips .
route {
...
 if (is_method("INVITE")) {
 if (has_body("application/sdp")) {
 if (rtpproxy_offer())
 t_on_reply("1");
 } else {
 t_on_reply("2");
 }
 }
 if (is_method("ACK") && has_body("application/sdp"))
 rtpproxy_answer();
...
}

onreply_route[1]
{
...
 if (has_body("application/sdp"))
 rtpproxy_answer();
...
}

onreply_route[2]
{
...
 if (has_body("application/sdp"))
 rtpproxy_offer();
...
}

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 6:32 PM, Max Mühlbronner > wrote:


Hi,


@Miha: Are you sure that it does not automatically set the
rtpproxies for 200OK & ACK?

@Sasmita: According to the documentation it is not necessary to
invoke engage_rtp_proxy() for replies as this is handled by the
dialog module.


"Function must only be called for the initial INVITE and
internally takes care of rewriting the body of 200 OKs and ACKs. "



Best Regards

Max M.


On 31.05.2016 14:42, Miha wrote:

@Sasmita, totally clear :)

I asked wrong question :)


What is the difference between using engage_rtp_proxy() or using
rtpproxy_offer(), rtpproxy_answer()?


tnx

miha


On 31/05/2016 14:39, Sasmita Panda wrote:

If you are using in INVITE , then it should be offer .
Because firstly we are offering media to someone . If its 200 Ok
then it will be answer because the 2nd party is answering the
call .

  If there is no sdp in INVITE but in ACK , then it will get
reversed . In 200 OK you should offer and in ACK you have to
answer .
This can be done in loop .

 I hope I make you understand .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 6:02 PM, Miha mailto:m...@softnet.si> 
> wrote:

ok tnx. I understand documentation on wrong way.

But then, what is the difference with  using rtpproxy offer,
answer ?


br

mia


On 31/05/2016 14:17, Sasmita Panda wrote:

If there is sdp in ACK and u wanted to engage rtp proxy , the
 you have to write it inside ACK also ... By writing for
INVITE
cant help you to update ACK also . For 200 OK , you must
write it
in reply route .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq
mailto:jo...@democon.be>
 > wrote:

put it also in reply route.

2016-05-31 13:42 GMT+02:00 Miha mailto:m...@softnet.si>
 >:

HI

if I use engage_rtp_proxy(), I can use it only on
initial
INVITE and opensips should automatically rewritten
also
200 OK and ACK with SDP, right?
But when I am using this function, I can see from
trace
that only SDP for initial invite is rewritten, 200 ok
with sdp is not changed. Must I do something else?

Rtpproxy is not running in bridge mode.


tnx
miha



___
Users mailing list
Users@lists.opensips.org 


http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org 


http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org 


http://lists.opensips.org/cgi-bin/mailman/listinfo/users




Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Miha

@Max, yes I am sure. Did some traces...

That is way I asked what I could be doing wrong. I read that there is an 
issue doing it with rtpproxy in bridge, but in my case it is not in bridge.



tnx

miha


On 31/05/2016 15:02, Max Mühlbronner wrote:

Hi,


@Miha: Are you sure that it does not automatically set the rtpproxies 
for 200OK & ACK?


@Sasmita: According to the documentation it is not necessary to invoke 
engage_rtp_proxy() for replies as this is handled by the dialog module.



"Function must only be called for the initial INVITE and internally 
takes care of rewriting the body of 200 OKs and ACKs. "




Best Regards

Max M.


On 31.05.2016 14:42, Miha wrote:

@Sasmita, totally clear :)

I asked wrong question :)


What is the difference between using engage_rtp_proxy() or using 
rtpproxy_offer(), rtpproxy_answer()?



tnx

miha


On 31/05/2016 14:39, Sasmita Panda wrote:
If you are using in INVITE , then it should be offer . 
Because firstly we are offering media to someone . If its 200 Ok 
then it will be answer because the 2nd party is answering the call .


  If there is no sdp in INVITE but in ACK , then it will get 
reversed . In 200 OK you should offer and in ACK you have to answer .

This can be done in loop .

 I hope I make you understand .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 6:02 PM, Miha > wrote:


ok tnx. I understand documentation on wrong way.

But then, what is the difference with  using rtpproxy offer, 
answer ?



br

mia


On 31/05/2016 14:17, Sasmita Panda wrote:

If there is sdp in ACK and u wanted to engage rtp proxy , the
 you have to write it inside ACK also ... By writing for INVITE
cant help you to update ACK also . For 200 OK , you must write it
in reply route .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq
mailto:jo...@democon.be>> wrote:

put it also in reply route.

2016-05-31 13:42 GMT+02:00 Miha mailto:m...@softnet.si>>:

HI

if I use engage_rtp_proxy(), I can use it only on initial
INVITE and opensips should automatically rewritten also
200 OK and ACK with SDP, right?
But when I am using this function, I can see from trace
that only SDP for initial invite is rewritten, 200 ok
with sdp is not changed. Must I do something else?

Rtpproxy is not running in bridge mode.


tnx
miha



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Sasmita Panda
Yes . This should happen . But I don't know the exact problem . What I
explain is the way we are using rtpproxy .
This is clearly mention in the document also .. You can go through
opensips.org

This is what we are doing .  Rest I am not an expertise in opensips .

route {
...
if (is_method("INVITE")) {
if (has_body("application/sdp")) {
if (rtpproxy_offer())
t_on_reply("1");
} else {
t_on_reply("2");
}
}
if (is_method("ACK") && has_body("application/sdp"))
rtpproxy_answer();
...
}

onreply_route[1]
{
...
if (has_body("application/sdp"))
rtpproxy_answer();
...
}

onreply_route[2]
{
...
if (has_body("application/sdp"))
rtpproxy_offer();
...
}


*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Tue, May 31, 2016 at 6:32 PM, Max Mühlbronner  wrote:

> Hi,
>
>
> @Miha: Are you sure that it does not automatically set the rtpproxies for
> 200OK & ACK?
>
> @Sasmita: According to the documentation it is not necessary to invoke
> engage_rtp_proxy() for replies as this is handled by the dialog module.
>
>
> "Function must only be called for the initial INVITE and internally takes
> care of rewriting the body of 200 OKs and ACKs. "
>
>
>
> Best Regards
>
> Max M.
>
>
> On 31.05.2016 14:42, Miha wrote:
>
> @Sasmita, totally clear :)
>
> I asked wrong question :)
>
>
> What is the difference between using engage_rtp_proxy() or using
> rtpproxy_offer(), rtpproxy_answer()?
>
>
> tnx
>
> miha
>
>
> On 31/05/2016 14:39, Sasmita Panda wrote:
>
> If you are using in INVITE , then it should be offer . Because
> firstly we are offering media to someone . If its 200 Ok then it will be
> answer because the 2nd party is answering the call .
>
>   If there is no sdp in INVITE but in ACK , then it will get reversed
> . In 200 OK you should offer and in ACK you have to answer .
> This can be done in loop .
>
>  I hope I make you understand .
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
> On Tue, May 31, 2016 at 6:02 PM, Miha   > wrote:
>
> ok tnx. I understand documentation on wrong way.
>
> But then, what is the difference with  using rtpproxy offer, answer ?
>
>
> br
>
> mia
>
>
> On 31/05/2016 14:17, Sasmita Panda wrote:
>
> If there is sdp in ACK and u wanted to engage rtp proxy , the
>  you have to write it inside ACK also ... By writing for INVITE
> cant help you to update ACK also . For 200 OK , you must write it
> in reply route .
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
> On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq
> mailto:jo...@democon.be> >
> wrote:
>
> put it also in reply route.
>
> 2016-05-31 13:42 GMT+02:00 Miha   >:
>
> HI
>
> if I use engage_rtp_proxy(), I can use it only on initial
> INVITE and opensips should automatically rewritten also
> 200 OK and ACK with SDP, right?
> But when I am using this function, I can see from trace
> that only SDP for initial invite is rewritten, 200 ok
> with sdp is not changed. Must I do something else?
>
> Rtpproxy is not running in bridge mode.
>
>
> tnx
> miha
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org 
> 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org 
> 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org 
> 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org 
> 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing l

Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Max Mühlbronner

Hi,


@Miha: Are you sure that it does not automatically set the rtpproxies 
for 200OK & ACK?


@Sasmita: According to the documentation it is not necessary to invoke 
engage_rtp_proxy() for replies as this is handled by the dialog module.



"Function must only be called for the initial INVITE and internally 
takes care of rewriting the body of 200 OKs and ACKs. "




Best Regards

Max M.


On 31.05.2016 14:42, Miha wrote:

@Sasmita, totally clear :)

I asked wrong question :)


What is the difference between using engage_rtp_proxy() or using 
rtpproxy_offer(), rtpproxy_answer()?



tnx

miha


On 31/05/2016 14:39, Sasmita Panda wrote:
If you are using in INVITE , then it should be offer . 
Because firstly we are offering media to someone . If its 200 Ok then 
it will be answer because the 2nd party is answering the call .


  If there is no sdp in INVITE but in ACK , then it will get 
reversed . In 200 OK you should offer and in ACK you have to answer .

This can be done in loop .

 I hope I make you understand .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 6:02 PM, Miha > wrote:


ok tnx. I understand documentation on wrong way.

But then, what is the difference with  using rtpproxy offer, 
answer ?



br

mia


On 31/05/2016 14:17, Sasmita Panda wrote:

If there is sdp in ACK and u wanted to engage rtp proxy , the
 you have to write it inside ACK also ... By writing for INVITE
cant help you to update ACK also . For 200 OK , you must write it
in reply route .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq
mailto:jo...@democon.be>> wrote:

put it also in reply route.

2016-05-31 13:42 GMT+02:00 Miha mailto:m...@softnet.si>>:

HI

if I use engage_rtp_proxy(), I can use it only on initial
INVITE and opensips should automatically rewritten also
200 OK and ACK with SDP, right?
But when I am using this function, I can see from trace
that only SDP for initial invite is rewritten, 200 ok
with sdp is not changed. Must I do something else?

Rtpproxy is not running in bridge mode.


tnx
miha



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Miha

@Sasmita, totally clear :)

I asked wrong question :)


What is the difference between using engage_rtp_proxy() or using 
rtpproxy_offer(), rtpproxy_answer()?



tnx

miha


On 31/05/2016 14:39, Sasmita Panda wrote:
If you are using in INVITE , then it should be offer . Because 
firstly we are offering media to someone . If its 200 Ok then it will 
be answer because the 2nd party is answering the call .


  If there is no sdp in INVITE but in ACK , then it will get 
reversed . In 200 OK you should offer and in ACK you have to answer .

This can be done in loop .

 I hope I make you understand .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 6:02 PM, Miha > wrote:


ok tnx. I understand documentation on wrong way.

But then, what is the difference with  using rtpproxy offer, answer ?


br

mia


On 31/05/2016 14:17, Sasmita Panda wrote:

If there is sdp in ACK and u wanted to engage rtp proxy , the
 you have to write it inside ACK also ... By writing for INVITE
cant help you to update ACK also . For 200 OK , you must write it
in reply route .

*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq
mailto:jo...@democon.be>> wrote:

put it also in reply route.

2016-05-31 13:42 GMT+02:00 Miha mailto:m...@softnet.si>>:

HI

if I use engage_rtp_proxy(), I can use it only on initial
INVITE and opensips should automatically rewritten also
200 OK and ACK with SDP, right?
But when I am using this function, I can see from trace
that only SDP for initial invite is rewritten, 200 ok
with sdp is not changed. Must I do something else?

Rtpproxy is not running in bridge mode.


tnx
miha



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Sasmita Panda
If you are using in INVITE , then it should be offer . Because
firstly we are offering media to someone . If its 200 Ok then it will be
answer because the 2nd party is answering the call .

  If there is no sdp in INVITE but in ACK , then it will get reversed .
In 200 OK you should offer and in ACK you have to answer .
This can be done in loop .

 I hope I make you understand .

*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Tue, May 31, 2016 at 6:02 PM, Miha  wrote:

> ok tnx. I understand documentation on wrong way.
>
> But then, what is the difference with  using rtpproxy offer, answer ?
>
>
> br
>
> mia
>
> On 31/05/2016 14:17, Sasmita Panda wrote:
>
> If there is sdp in ACK and u wanted to engage rtp proxy , the  you have to
> write it inside ACK also ... By writing for INVITE cant help you to update
> ACK also . For 200 OK , you must write it in reply route .
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
> On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq  wrote:
>
>> put it also in reply route.
>>
>> 2016-05-31 13:42 GMT+02:00 Miha :
>>
>>> HI
>>>
>>> if I use engage_rtp_proxy(), I can use it only on initial INVITE and
>>> opensips should automatically rewritten also 200 OK and ACK with SDP, right?
>>> But when I am using this function, I can see from trace that only SDP
>>> for initial invite is rewritten, 200 ok with sdp is not changed. Must I do
>>> something else?
>>>
>>> Rtpproxy is not running in bridge mode.
>>>
>>>
>>> tnx
>>> miha
>>>
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Miha

ok tnx. I understand documentation on wrong way.

But then, what is the difference with  using rtpproxy offer, answer ?


br

mia


On 31/05/2016 14:17, Sasmita Panda wrote:
If there is sdp in ACK and u wanted to engage rtp proxy , the  you 
have to write it inside ACK also ... By writing for INVITE cant help 
you to update ACK also . For 200 OK , you must write it in reply route .


*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/

On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq > wrote:


put it also in reply route.

2016-05-31 13:42 GMT+02:00 Miha mailto:m...@softnet.si>>:

HI

if I use engage_rtp_proxy(), I can use it only on initial
INVITE and opensips should automatically rewritten also 200 OK
and ACK with SDP, right?
But when I am using this function, I can see from trace that
only SDP for initial invite is rewritten, 200 ok with sdp is
not changed. Must I do something else?

Rtpproxy is not running in bridge mode.


tnx
miha



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Sasmita Panda
If there is sdp in ACK and u wanted to engage rtp proxy , the  you have to
write it inside ACK also ... By writing for INVITE cant help you to update
ACK also . For 200 OK , you must write it in reply route .

*Thanks & Regards*
*Sasmita Panda*
*Network Testing and Software Engineer*
*3CLogic , ph:07827611765*

On Tue, May 31, 2016 at 5:35 PM, Johan De Clercq  wrote:

> put it also in reply route.
>
> 2016-05-31 13:42 GMT+02:00 Miha :
>
>> HI
>>
>> if I use engage_rtp_proxy(), I can use it only on initial INVITE and
>> opensips should automatically rewritten also 200 OK and ACK with SDP, right?
>> But when I am using this function, I can see from trace that only SDP for
>> initial invite is rewritten, 200 ok with sdp is not changed. Must I do
>> something else?
>>
>> Rtpproxy is not running in bridge mode.
>>
>>
>> tnx
>> miha
>>
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Johan De Clercq
put it also in reply route.

2016-05-31 13:42 GMT+02:00 Miha :

> HI
>
> if I use engage_rtp_proxy(), I can use it only on initial INVITE and
> opensips should automatically rewritten also 200 OK and ACK with SDP, right?
> But when I am using this function, I can see from trace that only SDP for
> initial invite is rewritten, 200 ok with sdp is not changed. Must I do
> something else?
>
> Rtpproxy is not running in bridge mode.
>
>
> tnx
> miha
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] engage_rtp_proxy()

2016-05-31 Thread Miha

HI

if I use engage_rtp_proxy(), I can use it only on initial INVITE and 
opensips should automatically rewritten also 200 OK and ACK with SDP, right?
But when I am using this function, I can see from trace that only SDP 
for initial invite is rewritten, 200 ok with sdp is not changed. Must I 
do something else?


Rtpproxy is not running in bridge mode.


tnx
miha



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] engage_rtp_proxy and unforce_rtp_proxy

2014-07-16 Thread Ali Pey
Thank you Razvan. Great info.

Regards,
Ali Pey


On Wed, Jul 16, 2014 at 3:28 AM, Răzvan Crainea  wrote:

> Hi, Ali!
>
> Rtpproxy offers an interface to communicate with it over network, through
> the communication socket (the -s parameter or the RTPProxy server). You can
> send over UDP a message similar to "COOKIE I", and RTPProxy will dump all
> the ongoing sessions.
>
> Best regards,
>
> Razvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
> 
>
>
> On 07/15/2014 08:59 PM, Bogdan-Andrei Iancu wrote:
>
>> Ali,
>>
>> In rtpproxy, maybe Razvan can help you.
>>
>> Otherwise you can mark the dialogs in OpenSIPS (with profiles ) and
>> check it via MI.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>> 
>>
>> On 15.07.2014 20:51, Ali Pey wrote:
>>
>>> Thanks Bogdan.
>>>
>>> Is there a way to see active sessions on the rtpproxy instances? I'm
>>> running rtpproxy on a different server on multiple interfaces in
>>> bridge mode.
>>>
>>> Regards,
>>> Ali
>>>
>>>
>>> On Tue, Jul 15, 2014 at 1:46 PM, Bogdan-Andrei Iancu
>>> mailto:bog...@opensips.org>> wrote:
>>>
>>> Hi Ali,
>>>
>>> Nope...when using engage, the re-arming (at re-invites) and
>>> termination (when dialog is ended) are automatically done.
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developer
>>> http://www.opensips-solutions.com
>>> 
>>>  <
>>> 
>>> https://contactmonkey.com/
>>> 
>>> api/tracker?cm_session=e8bf4d0b-e9f9-42da-8832-
>>> 6272fe80eeb4&cm_type=link&cm_link=dd652bed-9e0d-4b92-a52b-
>>> d42fb12badce&cm_destination=http://www.opensips-solutions.com>
>>>
>>>
>>> On 15.07.2014 20:42, Ali Pey wrote:
>>>
 Hello,

 If I use engage_rtp_proxy, do I still need to
 do unforce_rtp_proxy when the call ends?

 Also, what are the differences between using engage_rtp_proxy
 vs rtpproxy_offer and rtpproxy_answer?

 Thanks,
 Ali Pey



 ___
 Users mailing list
 Users@lists.opensips.org  

 
 http://lists.opensips.org/cgi-
 bin/mailman/listinfo/users
  <
 
 https://contactmonkey.com/
 
 api/tracker?cm_session=e8bf4d0b-e9f9-42da-8832-
 6272fe80eeb4&cm_type=link&cm_link=e9696622-d31d-43ef-9051-
 78c4e36b193a&cm_destination=http://lists.opensips.org/cgi-
 bin/mailman/listinfo/users>

>>>
>>>
>>>
>>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] engage_rtp_proxy and unforce_rtp_proxy

2014-07-15 Thread Bogdan-Andrei Iancu

Hi Ali,

Nope...when using engage, the re-arming (at re-invites) and termination 
(when dialog is ended) are automatically done.


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 15.07.2014 20:42, Ali Pey wrote:

Hello,

If I use engage_rtp_proxy, do I still need to do unforce_rtp_proxy 
when the call ends?


Also, what are the differences between using engage_rtp_proxy 
vs rtpproxy_offer and rtpproxy_answer?


Thanks,
Ali Pey



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] engage_rtp_proxy and unforce_rtp_proxy

2014-07-15 Thread Ali Pey
Hello,

If I use engage_rtp_proxy, do I still need to do unforce_rtp_proxy when the
call ends?

Also, what are the differences between using engage_rtp_proxy
vs rtpproxy_offer and rtpproxy_answer?

Thanks,
Ali Pey
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users