From: Chris G. N. <cg...@gl...> - 2004-05-21 00:04:18
|
so, after a first pass on the sources, perhaps add a new interface/beef = up lib/libiax2/src/iax.c to have: int iax_init(int preferredportno, int ipflavor) { .... netfd =3D socket(AF_INET, ip_flavor, IPPROTO_IP); } and the existing routine would become a wrapper... int iax_init(int preferredportno) {=20 return(iax_init(preferredportno, SOCK_DGRAM))=20 } ???? Chris -----Original Message----- From: Steve Kann [mailto:st...@st...] Sent: Thu 5/20/2004 10:53 AM To: Chris G. Nicholas Cc: iax...@li... Subject: Re: [Iaxclient-devel] firewalls and TCP connections ... ? Chris G. Nicholas wrote: >If this is already done, packaged, and reasonably priced, and can still = work with the other free iax clients and servers, sounds like a way to = go... > >Can you provide more info on this setup? > =20 > Unfortunately, our solution is not for sale, but you can probably find=20 other similar solutions with your friend google: I think zebedee does this; it can even encrypt/compress things=20 [compression probably not too helpful]. http://www.winton.org.uk/zebedee/ Also This might work: http://tunnel.mrq3.com/ >thanks! >Chris =20 > > > >-----Original Message----- >From: Steve Kann [mailto:st...@st...] >Sent: Thu 5/20/2004 9:23 AM >To: Chris G. Nicholas >Cc: iax...@li... >Subject: Re: [Iaxclient-devel] firewalls and TCP connections ... ? >Chris G. Nicholas wrote: > > =20 > >>just learning about Asterix; cool! >> >>Apologies in advance if this has been answered before. =20 >> >>Even though I fully realize TCP/IP connections suck compared to UDP = for streaming media, unfortunately the only port one can generally count = on, particularly at industry conferences, is outbound port 80 using TCP = connections from behind a NAT. (hence the famous John Walker = 'speakfree' end-of-life lament...) >> >>Just wondering if anyone has thought about the feasibility of a TCP = connection option in iaxclient, initially just connecting to an = external/simple/stupid tunnel proxy that turns around and connects to an = Asterix PBX, or even just building in port 80/TCP support into Asterix = itself... >>=20 >> >> =20 >> > >Actually, we do IAX over either straight TCP, or actual rfc-compliant=20 >HTTP.=20 > >Unfortunately, we do this with a proprietary program [external to=20 >iaxclient], and can't release it, but I think there are similar=20 >solutions available. They don't need to be built into iaxclient to use = >them. The same reasons that make IAX work well with NATs make it work=20 >fine with tunnels as well. > > >So basically, what you need to do is this: > > Client machine =20 >Network Server >[Iaxclient <-UDP-> tunnel ] [<- HTTP or TCP -> ] [ tunnel<-UDP-> = asterisk ] > >The tunnel programs at either side are what you need, and it needs to=20 >support UDP tunneling. > >-SteveK > > > > > =20 > |