[Asterisk-Users] Restricting/Negotiating H323 Port Ranges

woody+asterisk at solutionsfirst.com.au woody+asterisk at solutionsfirst.com.au
Tue Jan 20 22:01:39 MST 2004


> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com 
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of 
> Eric Wieling
> Sent: Wednesday, 21 January 2004 14:44
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] Restricting/Negotiating H323 Port Ranges
> 
> chan_openh323 uses it's own RTP stack, not Asterisk's RTP stack.  The
> chan_h323 can comes with Asterisk uses Asterisk's RTP stack.

Yes, but I think the port range 10000-50000 is for RTP, I am wanting to set
the middle port range:

i.e. 3 port ranges:

1) Listening/Connecting: TCP 1720
2) Something Else: TCP 2020
3) RTP: UDP/TCP 10000-50000

I can see where to set port ranges 1 & 3, I don't know if port range 2 can
be set somewhere, or if it is "negotiated" via traffic on port range 1.

Does anybody know enough about H323 to help me out?

Cheers,
Woody

> On Tue, 2004-01-20 at 19:12, 
> woody+asterisk at solutionsfirst.com.au wrote:
> > Our VoIP provider wants to use a restricted set of ports 
> for H323.  All
> > their current users have hardware at the customer premises 
> which does this
> > successfully for them.
> > 
> > We are trying to set up Asterisk to do the same (with their 
> co-operation).
> > 
> > I am not familiar with the H323 terms for these 
> connections, so bear with
> > me...
> > 
> > The (Connect/Listen) Port is 1720 (set in (o)h323.conf)
> > Tcp Range 10000-50000 (set in oh323.conf or rtp.conf)
> > Udp Range 10000-50000 (set in oh323.conf or rtp.conf)
> > 
> > Now my tcp dump shows this with oh323 when I try to make a call to
> > number at provider:
> > 
> > Connect from high range port (10006) to provider 1720
> > They have a few exchanges....
> > 
> > Then asterisk connects from port 10007 to provider:2033
> > 
> > My provider wants this to be port 2020 all the time, but 
> the port number
> > just keeps increasing by one.
> > 
> > So the next call will involve a port of 2034 at their end.
> > 
> > Is there somewhere in either channel to restrict this 
> middle port range to
> > just 2020?
> > 
> > Or is there some negotiation which asterisk/openh323 
> libraries don't do?
> > 
> > Cheers,
> > Woody
> > 
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> -- 
> Go to http://www.digium.com/index.php?menu=documentation and look at
> the "Unofficial Links" section.  This section has links to a wide
> variety of 3rd party Asterisk related pages.  My page is the
> "Asterisk Resource Pages".
> 
> BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 





More information about the asterisk-users mailing list