OCG Technical Support
2008-Sep-12 15:19 UTC
[asterisk-users] SCCP port numbers used for audio stram?
I have a 7921 wireless phone working with Asterisk, and I want to tighten the wide open port range of my IPTABLES now. I tried allowing only SCCP port (2000) in/out and found that my audio was gone. A quick look at my iptables message shows source port 15886 and dest port 25968 used: FORWARD - Drop: IN=eth1 OUT=eth2 SRC=172.31.253.4 DST=172.31.254.102 LEN=200 TOS=0x18 PREC=0xA0 TTL=63 ID=0 DF PROTO=UDP SPT=15886 DPT=25968 LEN=180 Can anyone tell my 1. which port range I have to open for the audio stream? 2. Is there a way to force SCCP and the phone to use a different port range for audio? Thanks MD -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080912/c1bbc947/attachment-0001.htm
Kristian Kielhofner
2008-Sep-12 15:29 UTC
[asterisk-users] SCCP port numbers used for audio stram?
On Fri, Sep 12, 2008 at 11:19 AM, OCG Technical Support <support at ocg.ca> wrote:> I have a 7921 wireless phone working with Asterisk, and I want to tighten > the wide open port range of my IPTABLES now. > > > > I tried allowing only SCCP port (2000) in/out and found that my audio was > gone. A quick look at my iptables message shows source port 15886 and dest > port 25968 used: > > FORWARD - Drop: IN=eth1 OUT=eth2 SRC=172.31.253.4 DST=172.31.254.102 LEN=200 > TOS=0x18 PREC=0xA0 TTL=63 ID=0 DF PROTO=UDP SPT=15886 DPT=25968 LEN=180 > > > > Can anyone tell my > > > > 1. which port range I have to open for the audio stream? > > 2. Is there a way to force SCCP and the phone to use a different port > range for audio? > > > > Thanks > > MD >SCCP (like SIP, MGCP, etc) uses RTP for audio transport. You will need to modify rtp.conf to change the port range Asterisk uses. -- Kristian Kielhofner http://blog.krisk.org
Eric "ManxPower" Wieling
2008-Sep-12 15:38 UTC
[asterisk-users] SCCP port numbers used for audio stram?
SCCP (aka Skinny), H323, MGCP, and SIP all use the RTP protocol for audio. For all signalling protocols (except maybe H323) use rtp.conf for the RTP ports. OCG Technical Support wrote:> > > I have a 7921 wireless phone working with Asterisk, and I want to > tighten the wide open port range of my IPTABLES now. > > > > I tried allowing only SCCP port (2000) in/out and found that my audio > was gone. A quick look at my iptables message shows source port 15886 > and dest port 25968 used: > > FORWARD - Drop: IN=eth1 OUT=eth2 SRC=172.31.253.4 DST=172.31.254.102 > LEN=200 TOS=0x18 PREC=0xA0 TTL=63 ID=0 DF PROTO=UDP SPT=15886 DPT=25968 > LEN=180 > > > > Can anyone tell my > > > > 1. which port range I have to open for the audio stream? > > 2. Is there a way to force SCCP and the phone to use a different > port range for audio? > > > > Thanks > > MD > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, T-1, PRI, Frame Relay, Linux, and network design. Based near Birmingham, AL. Now accepting clients worldwide.