Hi, I solved my issue. There was nothing wrong with my configuration.
RTPProxy wasn't being enforced because the SIP Phone wasn't being detected as
being behind NAT.
I disabled SIP ALG on my ADSL Modem and now RTPProxy is being enforced and I'm able to
do the recording. Now I have to find out how can I play the stored audio.
Thanks for your help
Héctor
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: Dienstag, 23. März 2010 16:01
To: Ortiz Héctor, SCS-SIS-ICC-SPC-SBU
Cc: users(a)lists.kamailio.org
Subject: Re: [Kamailio-Users] Recording RTP session
Am 23.03.2010 09:57, schrieb Hector.Ortiz(a)swisscom.com:
How can I then troubleshoot that it is really
enforcing it?
You have to put xlog() statements in your config (e.g. after an if ()
statement in the blocks) and then watch syslog for the xlog messages -
this is the way how you trace how a message is processed by the script.
btw: if you always want to enforce the media relay then remove the if()
conditions before the force_rtp_proxy calls.
klaus