Re: [Asterisk-Users] Random 1-way audio on IAX2 Connections

2006-05-03 Thread Tom Engleward
--- Tim Panton [EMAIL PROTECTED] wrote:
 If you are using IAX2, you don't need to port
 forward the ports.
 Just have PBX2 register _often_ and that will keep a
 mapping in your  
 router.
Where is this set? Is this the minregexpire and
maxregexpire settings in iax.conf, which default to 60
seconds? (And what's the purpose of the min and
max; why isn't there just one setting, simply
regexpire?)
And is the default of 60 seconds considered often?

Finally, what's the difference between registering
often and setting qualify=yes?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Random 1-way audio on IAX2 Connections

2006-05-02 Thread Tim Panton


On 29 Apr 2006, at 03:10, Aryn Nakaoka wrote:


I have 2 Asterisk servers connected via IAX2 connections.



PBX1 is on the internet with a public IP Address

- with PRI

PBX 2 is behind a NAT router with IAX2 Ports forwarded



1-way audio is an issue with incoming and outgoing calls using the  
PRI. However whenever 1-way audio occurs, PBX2 can call PBX1  
extensions and there are no issues. As well as a restart of  
asterisk on PBX2 clears up the problem.


If you are using IAX2, you don't need to port forward the ports.
Just have PBX2 register _often_ and that will keep a mapping in your  
router.

(also you _don't_ need to enable _any_ TCP ports - IAX2 is UDP only)






Any bugs in IAX2?


If the problem does not go away when you turn off port forwarding, do  
an iax2 debug on PBX1 and

send me a log of a call that fails and I'll take a look.

Tim.

Tim Panton
[EMAIL PROTECTED]



___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Random 1-way audio on IAX2 Connections

2006-05-02 Thread Tim Panton


On 2 May 2006, at 15:32, Tom Engleward wrote:


--- Tim Panton [EMAIL PROTECTED] wrote:

If you are using IAX2, you don't need to port
forward the ports.
Just have PBX2 register _often_ and that will keep a
mapping in your
router.

Where is this set? Is this the minregexpire and
maxregexpire settings in iax.conf, which default to 60
seconds? (And what's the purpose of the min and
max; why isn't there just one setting, simply
regexpire?)
And is the default of 60 seconds considered often?

Finally, what's the difference between registering
often and setting qualify=yes?


'Often' is often enough for your Nat router.

60 secs seems enough for the ones I've used.

If I recall it right:

Qualify sends an IAX POKE, (expecting a PONG) whereas
registration sends a full REGREQ which requires more
processing power at the far end (typically a database lookup
of your user name and an MD5 of your password) and an extra
2 packets to complete the exchange.

You are 'encouraged' to qualify, but I like to register, mostly
out of habit I suppose.

Tim.

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Random 1-way audio on IAX2 Connections

2006-04-28 Thread billy








Id set your box to DMZ on the
router  see if the problem exists first. If so, you probably forgot to
forward something.

Make sure that you forwarded both TCP
 UDP ports.



Billy P.











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aryn Nakaoka
Sent: Friday, April 28, 2006 10:10
PM
To:
asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Random
1-way audio on IAX2 Connections





I have 2 Asterisk servers connected via IAX2 connections.



PBX1 is on the internet with a public IP Address


- with PRI

PBX 2 is behind a NAT router with IAX2 Ports forwarded



1-way audio is an issue with incoming and outgoing calls
using the PRI. However whenever 1-way audio occurs, PBX2 can call PBX1
extensions and there are no issues. As well as a restart of asterisk on PBX2
clears up the problem.



Any bugs in IAX2?



Thanks

aryn













Aryn H. K. Nakaoka
Tri-net Solutions
733 Bishop St. #170
Honolulu,
 HI 96813

http://www.trinet-hi.com
Main :
808.841.1000
Direct: 808.356.2901
Bridge: 808.356.2998
Fax : 808.356.2901



AIM : NTY2K
MSN : [EMAIL PROTECTED]
sidekick : [EMAIL PROTECTED]
















___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users