[asterisk-users] SCCP port numbers used for audio stram?

Kristian Kielhofner kkielhofner at star2star.com
Fri Sep 12 10:29:30 CDT 2008


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



More information about the asterisk-users mailing list