I am working on a project where we must connect to the * server behind a firewall. They can only open up port 80 udp. I have managed to get IAX working fine by specifying the port=80 in the iax.conf file. However I would like to get IAX2 working. There was a recommendation in the list 13 SEP 2003: http://lists.digium.com/pipermail/asterisk-users/2003-September/020560.html I tried to change the IAX_DEFAULT_PORTNO in iax2.h to 80, but then the internal server also tried to talk to the external server on port 80. Looks like IAX_DEFAULT_PORTNO sets both the origin and destination port numbers. So, if I want the internal IAX2 service to listen on port 80 and I want to register with the external IAX2 server using the standard port, is there another change I need to make to the IAX2 code? Thanks -- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 ***********************************************************************
Just use iax2 since iax2 can do everything iax can and then some. bkw On Tue, 16 Dec 2003, Walker Haddock wrote:> I am working on a project where we must connect to the * server behind a firewall. They can only open up port 80 udp. > > I have managed to get IAX working fine by specifying the port=80 in the iax.conf file. However I would like to get IAX2 working. > > There was a recommendation in the list 13 SEP 2003: > http://lists.digium.com/pipermail/asterisk-users/2003-September/020560.html > > I tried to change the IAX_DEFAULT_PORTNO in iax2.h to 80, but then the internal server also tried to talk to the external server on port 80. Looks like IAX_DEFAULT_PORTNO sets both the origin and destination port numbers. > > So, if I want the internal IAX2 service to listen on port 80 and I want to register with the external IAX2 server using the standard port, is there another change I need to make to the IAX2 code? > > Thanks > -- > ******** DataCrest, Inc. -- Technically Superior ****************** > Walker Haddock http://www.datacrest.com > DataCrest, Inc. e-mail: wh@datacrest.com > 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 > Birmingham, AL 35216 fax: 1-205-823-7838 > *********************************************************************** > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
I find reading what people have said actually improves my ability to help them :p -Adam> Just use iax2 since iax2 can do everything iax can and then some. > > bkw > > On Tue, 16 Dec 2003, Walker Haddock wrote: > > > I am working on a project where we must connect to the * server behind afirewall. They can only open up port 80 udp.> > > > I have managed to get IAX working fine by specifying the port=80 in theiax.conf file. However I would like to get IAX2 working.> > > > There was a recommendation in the list 13 SEP 2003: > >http://lists.digium.com/pipermail/asterisk-users/2003-September/020560.html> > > > I tried to change the IAX_DEFAULT_PORTNO in iax2.h to 80, but then theinternal server also tried to talk to the external server on port 80. Looks like IAX_DEFAULT_PORTNO sets both the origin and destination port numbers.> > > > So, if I want the internal IAX2 service to listen on port 80 and I wantto register with the external IAX2 server using the standard port, is there another change I need to make to the IAX2 code?> > > > Thanks > > -- > > ******** DataCrest, Inc. -- Technically Superior ****************** > > Walker Haddock http://www.datacrest.com > > DataCrest, Inc. e-mail: wh@datacrest.com > > 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 > > Birmingham, AL 35216 fax: 1-205-823-7838 > > *********************************************************************** > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
On Tuesday 16 December 2003 18:56, Walker Haddock wrote:> I am working on a project where we must connect to the * server > behind a firewall. They can only open up port 80 udp. > > I have managed to get IAX working fine by specifying the port=80 in > the iax.conf file. However I would like to get IAX2 working. > > There was a recommendation in the list 13 SEP 2003: > http://lists.digium.com/pipermail/asterisk-users/2003-September/02056 >0.html > > I tried to change the IAX_DEFAULT_PORTNO in iax2.h to 80, but then > the internal server also tried to talk to the external server on port > 80. Looks like IAX_DEFAULT_PORTNO sets both the origin and > destination port numbers. > > So, if I want the internal IAX2 service to listen on port 80 and I > want to register with the external IAX2 server using the standard > port, is there another change I need to make to the IAX2 code?You should be able to specify the port number in the register line: register => user:password@host:4569 -Tilghman