In order to change the attribute in the SDP, you need manually to alter the SDP (at least for 1.5.x). Tha NAT-Helper module will not do this for you. Please see the Textops-Module on how to do this.
Carsten
2010/7/2 Laurent Schweizer laurent.schweizer@peoplefone.com
hello,
I use kamailio 1.5.4 with rtpproxy 1.2.1
I try to change the ptime (RTP packet size) with the Nathelper module .
to do it I call the function rtpproxy_offer with the option "z20" but the "a=ptime:30" in SDP is not changed
any idea ?
Regards
Laurent
Log of RTPproxy:
Jul 2 09:40:49 dns2 rtpproxy[19050]: DBUG:handle_command: received command "19072_4 UZ20c0,8,101 2ab4d3ad6ff9676a 217.162.26.26 3000 112a4c5d45;1"
Jul 2 09:40:49 dns2 rtpproxy[19050]: INFO:handle_command: new session 2ab4d3ad6ff9676a, tag 112a4c5d45;1 requested, type strong
Jul 2 09:40:49 dns2 rtpproxy[19050]: INFO:handle_command: new session on a port 54858 created, tag 112a4c5d45;1
Jul 2 09:40:49 dns2 rtpproxy[19050]: INFO:handle_command: pre-filling caller's address with 217.162.26.26:3000
Jul 2 09:40:49 dns2 rtpproxy[19050]: INFO:handle_command: RTP packets from caller will be resized to 20 milliseconds
Jul 2 09:40:49 dns2 rtpproxy[19050]: DBUG:doreply: sending reply "19072_4 54858 15.43.10.128 "
Jul 2 09:41:51 dns2 rtpproxy[19050]: INFO:process_rtp: session timeout
Jul 2 09:41:51 dns2 rtpproxy[19050]: INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped
Jul 2 09:41:51 dns2 rtpproxy[19050]: INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped
Jul 2 09:41:51 dns2 rtpproxy[19050]: INFO:remove_session: session on ports 54858/0 is cleaned up
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
On 07/02/2010 04:22 AM, Carsten Bock wrote:
In order to change the attribute in the SDP, you need manually to alter the SDP (at least for 1.5.x). Tha NAT-Helper module will not do this for you. Please see the Textops-Module on how to do this.
So, the 'z' option to force_rtp_proxy() will only request that rtpproxy perform repacketisation using a different duration, but not actually alter the SDP accordingly?
Correct. Maybe we could add this later, but for now, this is correct.
Carsten
2010/7/2 Alex Balashov abalashov@evaristesys.com
On 07/02/2010 04:22 AM, Carsten Bock wrote:
In order to change the attribute in the SDP, you need manually to alter
the SDP (at least for 1.5.x). Tha NAT-Helper module will not do this for you. Please see the Textops-Module on how to do this.
So, the 'z' option to force_rtp_proxy() will only request that rtpproxy perform repacketisation using a different duration, but not actually alter the SDP accordingly?
-- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.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
On 07/02/2010 04:27 AM, Carsten Bock wrote:
Correct. Maybe we could add this later, but for now, this is correct.
I see.
Well, this should probably be made clear in the documentation. I do not think it is unreasonable for someone to think that force_rtp_proxy("...zNN") performs necessary SDP body rewriting, since it does this for some other flags/options to it.
I suppose it is kind of silly for me to say; I have commit privileges for documentation, I should fix it myself. :-) Problem is I forget how to use git, since I never do.
On Friday 02 July 2010, Alex Balashov wrote:
[..] I suppose it is kind of silly for me to say; I have commit privileges for documentation, I should fix it myself. :-) Problem is I forget how to use git, since I never do.
Hi Alex,
ok, if you send me a patch, or add it to the tracker i'll of course gladly commit it for you. But i also must admit that i need from time to time a look to the git cheat sheet.. ;-)
Cheers,
Henning
Thanks for the info.
Regards
Laurent
De : Carsten Bock [mailto:lists@bock.info] Envoyé : vendredi 2 juillet 2010 10:23 À : Laurent Schweizer Cc : sr-users@lists.sip-router.org Objet : Re: [SR-Users] change ptime / RTP packet size
In order to change the attribute in the SDP, you need manually to alter the SDP (at least for 1.5.x). Tha NAT-Helper module will not do this for you. Please see the Textops-Module on how to do this.
Carsten
2010/7/2 Laurent Schweizer laurent.schweizer@peoplefone.com
hello,
I use kamailio 1.5.4 with rtpproxy 1.2.1
I try to change the ptime (RTP packet size) with the Nathelper module .
to do it I call the function rtpproxy_offer with the option "z20" but the "a=ptime:30" in SDP is not changed
any idea ?
Regards
Laurent
Log of RTPproxy:
Jul 2 09:40:49 dns2 rtpproxy[19050]: DBUG:handle_command: received command "19072_4 UZ20c0,8,101 2ab4d3ad6ff9676a 217.162.26.26 3000 112a4c5d45;1"
Jul 2 09:40:49 dns2 rtpproxy[19050]: INFO:handle_command: new session 2ab4d3ad6ff9676a, tag 112a4c5d45;1 requested, type strong
Jul 2 09:40:49 dns2 rtpproxy[19050]: INFO:handle_command: new session on a port 54858 created, tag 112a4c5d45;1
Jul 2 09:40:49 dns2 rtpproxy[19050]: INFO:handle_command: pre-filling caller's address with 217.162.26.26:3000
Jul 2 09:40:49 dns2 rtpproxy[19050]: INFO:handle_command: RTP packets from caller will be resized to 20 milliseconds
Jul 2 09:40:49 dns2 rtpproxy[19050]: DBUG:doreply: sending reply "19072_4 54858 15.43.10.128 "
Jul 2 09:41:51 dns2 rtpproxy[19050]: INFO:process_rtp: session timeout
Jul 2 09:41:51 dns2 rtpproxy[19050]: INFO:remove_session: RTP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped
Jul 2 09:41:51 dns2 rtpproxy[19050]: INFO:remove_session: RTCP stats: 0 in from callee, 0 in from caller, 0 relayed, 0 dropped
Jul 2 09:41:51 dns2 rtpproxy[19050]: INFO:remove_session: session on ports 54858/0 is cleaned up
_______________________________________________ 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