[VoIP] While we're at it

Greg Blakely greg at vyger.net
Sat Oct 27 15:09:17 CDT 2007


Let me look.  John Covert sent me something about IAX2 dialing, and I
don't know if it includes a port or not. 

> -----Original Message-----
> From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] 
> On Behalf Of John Novack
> Sent: Saturday, October 27, 2007 2:34 PM
> To: Voice Over IP Tandem for Analog Switches
> Subject: Re: [VoIP] While we're at it
> 
> I am curious as well, because I don't see any port reference 
> in the Enum/DNS Would we have to set up a test box to use SIP?
> Since there is only one public IP, the router has to forward 
> by port number, but the CALLING box only  knows a protocol, I 
> don't see how JJ's scheme will work UNLESS we have one do SIP 
> and the other do IAX.
> 
> My Asterisk box is sick, and I will need to do a rebuild this 
> weekend, but I was thinking I may switch to a thin client 
> AstLinux in the meantime, so it ought to be an interesting weekend!
> 
> John Novack
>  
> 
> john jones wrote:
> > While we're discussing office codes and numbering plans, 
> I'd like to throw another suggestion out there.  There are 
> now several people out there (myself included) who have 
> multiple asterisk machines running in order to have a 
> "production" box and a "test" box.   I'd like to have one of 
> my office codes use IAX2 on port 4569 and another one use 
> IAX2 on port 4570.  This eliminates the need for multiple 
> public IP's and makes port forwarding on the Internet facing 
> router very easy.   I suspect almost all users have there 
> firewalls/Internet routers set up to allow any outbound 
> traffic so this seems to me to be a relatively simple change.
> >
> > For example, on my office code 687  dig reveals
> >
> > ;; ANSWER SECTION:
> >
> > 1.7.8.6.1.std.ckts.info. 2      IN      NAPTR   100 10 "u" 
> "E2U+IAX2" "!^\\+*(.*)$!iax2:inbound at linksys.jj3601.com/\\1!" .
> >
> > And my iax.conf contains
> >
> > root at Demo_OpenWRT_688:/etc/asterisk# cat iax.conf
> >
> > ; Inter-Asterisk eXchange driver definition ; ; This 
> configuration is 
> > re-read at reload ; or with the CLI command reload iax2
> >
> > [general]
> > trunk=yes
> >
> > port=4569
> >
> > iaxcompat=yes
> > bandwidth=medium
> >
> > disallow=all                    ; same as bandwidth=high
> > ;disallow=g723.1                ; Hm...  Proprietary, don't 
> use it...
> > ;disallow=lpc10                 ; Icky sound quality...  Mr. Roboto.
> > allow=gsm                       ; Always allow GSM, it's cool :)
> > allow=ulaw
> > ;allow=alaw
> > ;allow=gsm
> > ;allow=g726
> > allow=adpcm
> > ;allow=lpc10
> > ;allow=speex
> > ;allow=ilbc;
> >
> >
> > jitterbuffer=no
> > forcejitterbuffer=no
> > ;
> > tos=reliability
> > ;
> > autokill=yes
> > ;
> > [guest]
> > type=user
> > context=mainmenu-iax
> > sendani=yes
> > callerid="JJ-Linksys"
> > ;
> >
> > [inbound]
> > type=user
> > context=cnet-in
> > username=inbound
> > insecure=very
> > sendani=yes
> > callerid="John Jones Demo WRTSL54GS"
> >
> >
> >
> > Or am I making this more complicated and just need to 
> change  the port= statement on one box?
> >
> >
> > John
> >
> >
> >
> > _______________________________________________
> > VoIP mailing list
> > VoIP at ckts.info
> > http://lists.ckts.info/mailman/listinfo/voip
> > Project Web Page: http://www.ckts.info/
> >
> >   
> 
> --
> Dog is my co-pilot
> 
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
> 
> 


More information about the VoIP mailing list