You could temporarily change rtp.conf to use just 4 ports (say 10001-10004) and monitor 10001 and 10002. On a production system you would have to do something with a tool like netstat to try and predict which ports in the range would be used.
From: [email protected] [mailto:[email protected]] On Behalf Of ISABEL ORDAS ARNAL Sent: Thursday, October 20, 2011 8:28 AM To: [email protected] Subject: [asterisk-users] RTP ports used by Asterisk in dialplan Dear all, Do you know if there is a way to know the 2 RTP ports that Asterisk is using for audio flow in a call in the dialplan? I would like to launch a Linux shell command tcpdump to capture audio flow in those 2 RTP ports before call starts and stop capturing at the end of the call. Regards, Isabel _____ Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo. This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at. http://www.tid.es/ES/PAGINAS/disclaimer.aspx
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
