Re: [Astlinux-users] iptables/arno question

2009-09-07 Thread Terry Markovich
Something like this should work ( is whatever port you want to listen on): iptables -t nat -A PREROUTING -p udp --dport -j REDIRECT --to-ports 5060 Terry David Kerr wrote: > I'm wondering if there are any experts out there that can help me. > Asterisk is listening on port 5060 for S

Re: [Astlinux-users] Problem w/ Directed Pickup

2009-09-07 Thread Tom Mazzotta
Lonnie, Your memory is correct. I was already using that parameter as well as a few others that some Googling indicated as necessary: call-limit=6 notifyringing=yes limitonpeers=yes However, still no dice. Any other ideas? -Original Message- From: Lonnie Abelbeck [mailto:li...@lonnie.ab

Re: [Astlinux-users] Problem w/ Directed Pickup

2009-09-07 Thread Darrick Hartman
Tom, You may get more of a response on an Asterisk specific list. There shouldn't be anything specific to AstLinux that would break directed pickup, but that's not a feature I've played with too much. Darrick Tom Mazzotta wrote: > Lonnie, > > Your memory is correct. I was already using that

Re: [Astlinux-users] iptables/arno question

2009-09-07 Thread Lonnie Abelbeck
David, This method should work, but has the disadvantage of putting all SIP behind NAT... Assuming an internal LAN network: 10.10.10.1/24 1) in sip.conf set bindaddr=10.10.10.1 2) In the Firewall tab define NAT EXT->LAN for the 5060, etc ports to 10.10.10.1 port 5060 3) in sip.conf define

Re: [Astlinux-users] iptables/arno question

2009-09-07 Thread Philip Prindeville
On your "alternative" asterisk instance, instantiate it with: asterisk ... -C /etc/asterisk2/asterisk.conf and in that directory your /etc/asterisk2/sip.conf would contain a different "bindport = " value. Then in your extensions.conf file, you can just "Redirect" your calls to the primary in

Re: [Astlinux-users] iptables/arno question

2009-09-07 Thread David Kerr
Thanks for all the various suggestions. I'll give them a try and see if any works. David On Mon, Sep 7, 2009 at 1:06 PM, Philip Prindeville < philipp_s...@redfish-solutions.com> wrote: > On your "alternative" asterisk instance, instantiate it with: > > asterisk ... -C /etc/asterisk2/asterisk.con