Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread Răzvan Crainea
Hello!

Are you sure that the session exists (it was previously created by 
rtpproxy_offer/answer()) before trying to copy the stream?

Best regards,
Răzvan

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39423074___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread Peter Lemenkov
@DunkyG E8 means that session doesn't exist. You have either to create it first 
or to pass proper CallID, From/To-tags

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39423290___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread DunkyG
Hi Răzvan,

Thanks for getting back to me, if the truth be known, No I am not sure.   I am 
calling rtpproxy_manage() from inside kamailio and since Kamailio does not log 
any error and the rtp stream from wireshark shows the kamailio box (same box 
that the rtpproxy is running on) then I assumed this is working.

where exactly should I check this  rtpproxy_offer/answer() ?


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39423430___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread Peter Lemenkov
@DunkyG @razvancrainea just fyi - latest devel Wireshark versions contains a 
RTPproxy dissector which makes the debugging of the issues like that much more 
easier. Please try it!

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39423448___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread DunkyG
does anyone know how to switch on RTPproxy logging or a command that can show 
me the status of the proxy while I have a call running through it so that I can 
check the details I am passing in my command are correct.


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39424864___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread Răzvan Crainea
You should send either I (to get all ongoing sessions) or Q command to 
RTPProxy. Check the Control Protocol: 
http://www.rtpproxy.org/wiki/RTPproxy/Protocol

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39425933___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread DunkyG
Thanks, I sent the "I" and it returns
active sessions : 0 
active streams :0 
so I suspect I have the rtpproxy_offer/answer()  in the wrong place.  Can 
anyone show me a quick example of where I should put the command 
rtpproxy_offer/answer in the kamailio config?

Thanks again.


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39427075___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread Răzvan Crainea
You should probably ask that on the Kamailio's list. If you are thinking of 
using OpenSIPS instead, you can take a look at this example: 
https://github.com/OpenSIPS/opensips/blob/master/modules/rtpproxy/examples/alg.cfg

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39427786___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread DunkyG
Thanks.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39430060___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread DunkyG
Hi Guys,

I finally figured it out.  RTPProxy was working, the reason my I option came 
back with no sessions is because Kamailio was sending to 127.0.0.1 and I was 
talking to 192.168.5.12. Since I changed Kamailio to point to 192.168.5.12, I 
can see the sessions and my command executes returned a ZERO 0  which I assume 
means everything is ok?


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39445103___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread Peter Lemenkov
@DunkyG yes, "0" means ok. Btw you can use recent Wireshark version and see 
everything in details (just another one attempt of a shameless self-promo).

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39446380___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread DunkyG
I would love to use it, but to be honest I found the instructions confusing.  I 
am not a Linux guy, so if the instructions are not step 1. step 2. and so forth 
I just get lost.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39446737___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread Peter Lemenkov
@DunkyG just install from this link - that's it:

https://wireshark.org/download.html#development-rel

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39447293___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-03 Thread DunkyG
Hi All,

i have used the following command
ABC4 C 3c30e14e668a-mwjt7xmtm0pg@snom360-000413239ECB 192.168.5.170:40794 
o1wz1n2vm4;1

as I do not have a to_tag to submit and found this in the RTPproxy sessions.  
Once i execute the command it returns 0 but from there nothing appears to 
happen.  The receiver on 172.168.5.170:40794 shows no activity and a tcpdump 
logging out any traffic going to 192.168.5.170 but the dump reports nothing.

I then tried this again to push the traffic to VLC player for the purpose of 
testing, but I don't see anything.

I then tried replacing the remote udp address with a file but I don't see any 
file created.  

Does anyone have any other ideas of what I could try?

Thanks


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39532724___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-04 Thread DunkyG
Here is my debug log.  as you can see I send the command with a remote udp 
address and port, however it would appear that RTPProxy is just ignoring the 
port. Is this correct?  can it be changed to use the port if specified?

 192.168.5.170:41238


Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: DBUG:doreply: sending reply "ABC2 
sessions created: 4#012active sessions: 1#012active streams: 2#012#011C 
NmI4NmM0YWZhMDEyNTA3OGUyNzExYzIwYmNhNWRlOWY./b060f716;1: caller = 
192.168.5.12:38413/192.168.5.1:17803, callee = 
192.168.5.12:40905/192.168.5.90:21635, stats = 0/66/66/0, ttl = 
-1/-1#012#011NmI4NmM0YWZhMDEyNTA3OGUyNzExYzIwYmNhNWRlOWY./b060f716;1: caller = 
192.168.5.12:38412/192.168.5.1:8000, callee = 
192.168.5.12:40904/192.168.5.90:21634, stats = 0/0/0/0, ttl = 59/60#012"
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: DBUG:handle_command: received command 
"ABC4 C NmI4NmM0YWZhMDEyNTA3OGUyNzExYzIwYmNhNWRlOWY. 192.168.5.170:41238 
b060f716;1"
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: ERR:ropen: directory for saving local 
recordings is not configured
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: INFO:handle_copy: starting recording 
RTP session on port 38412
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: ERR:ropen: directory for saving local 
recordings is not configured
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: INFO:handle_copy: starting recording 
RTCP session on port 38413
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: DBUG:doreply: sending reply "ABC4 
0#012"
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: DBUG:handle_command: received command 
"ABC2 Q NmI4NmM0YWZhMDEyNTA3OGUyNzExYzIwYmNhNWRlOWY. b060f716;1 "
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: DBUG:doreply: sending reply "ABC2 60 
80 13 93 0#012"
Apr  4 22:40:02 CJ-HQPROX rtpproxy[1937]: DBUG:handle_command: received command 
"ABC2 I "


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39556395___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-07 Thread DunkyG
can anyone help?
i have issued the command
FORKAUDIOTOSERVER C 3c37a825927c-25qfdoh64vxg@snom360-000413239ECB 
192.168.5.170:57313 12ul3kjwoe;1

i receive a response of (0) zero suggesting everything is ok.
while running tcpdump  to monitor the rtp streams during a call, I can see the 
rtp stream from my phone to the destination and back.  I can also see the RTP 
file being created on the box but I do not see any attempt to sent rtp to the 
forked server.



---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39812441___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-08 Thread Răzvan Crainea
You should prefix the socket with 'udp:', e.g. udp:192.168.5.170:57313

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39839241___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-08 Thread DunkyG
Closed #189.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-08 Thread DunkyG
Thanks, that fixed my issue.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-39858246___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-16 Thread DunkyG
Reopened #189.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-16 Thread DunkyG
Hi All,
after sending the command ABC4 C 3c30e14e668a-mwjt7xmtm0pg@snom360-000413239ECB 
192.168.5.170:40794 o1wz1n2vm4;1 and listening on VLC player, it would appear 
that the RTP proxy is only sending one channel and not both.

Does anyone know how I can instruct the rtp proxy to send both channels?


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-40570606___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-16 Thread Răzvan Crainea
You should try sending the C command twice: once as you already did and the 
second one with the tags reversed.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-40581110___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-16 Thread DunkyG
Thanks for the suggestion however, the first command returns a (0) zero meaning 
all ok.  the second returns E8.
First 
ABC4 C 3c30e14e668a-mwjt7xmtm0pg@snom360-000413239ECB 192.168.5.170:40794 
o1wz1n2vm4;1 

Second
ABC4 C 3c30e14e668a-mwjt7xmtm0pg@snom360-000413239ECB 192.168.5.170:40794 
1;o1wz1n2vm4


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-40584406___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-16 Thread DunkyG
I am really not getting thing thing.

I issue the command to copy the audio and it fails. 
Apr 16 23:00:44 CJ-HQPROX rtpproxy[2038]: DBUG:handle_command: received command 
"FORKAUDIOTOSERVER C YmZlZGE0M2Y2MDBjOTFhNDZjZTBiYzU3NDllNTY2Yzk. 
udp:192.168.5.170:34032 83059e23 5rv6642a81B1H"
Apr 16 23:00:44 CJ-HQPROX rtpproxy[2038]: INFO:handle_command: copy request 
failed: session YmZlZGE0M2Y2MDBjOTFhNDZjZTBiYzU3NDllNTY2Yzk., tags 
83059e23/5rv6642a81B1H not found
Apr 16 23:00:44 CJ-HQPROX rtpproxy[2038]: DBUG:doreply: sending reply 
"FORKAUDIOTOSERVER E8#012"


However I issue the same command only this time to delete the stream and it's 
fine.   

Apr 16 23:01:02 CJ-HQPROX rtpproxy[2038]: DBUG:handle_command: received command 
"1082_46 D YmZlZGE0M2Y2MDBjOTFhNDZjZTBiYzU3NDllNTY2Yzk. 83059e23 5rv6642a81B1H"
Apr 16 23:01:02 CJ-HQPROX rtpproxy[2038]: INFO:handle_delete: forcefully 
deleting session 1 on ports 44872/38870
Apr 16 23:01:02 CJ-HQPROX rtpproxy[2038]: INFO:remove_session: RTP stats: 0 in 
from callee, 1742 in from caller, 1742 relayed, 0 dropped
Apr 16 23:01:02 CJ-HQPROX rtpproxy[2038]: INFO:remove_session: RTCP stats: 0 in 
from callee, 8 in from caller, 8 relayed, 0 dropped
Apr 16 23:01:02 CJ-HQPROX rtpproxy[2038]: INFO:remove_session: session on ports 
44872/38870 is cleaned up
Apr 16 23:01:02 CJ-HQPROX rtpproxy[2038]: DBUG:doreply: sending reply "1082_46 
0#012"

Has anyone ever got this to work? 

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-40595583___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-16 Thread DunkyG
Does anyone know of any kind of paid support for RTPProxy?


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189#issuecomment-40596743___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] RTP Proxy C (Copy/Fork) audio (#189)

2014-04-22 Thread Bogdan Andrei IANCU
Closed #189.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/189___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel