[Asterisk-Users] IAX2 Trunk Problems with NAT

Liaan vd Merwe liaan at yahoo.com
Mon Feb 7 01:09:57 MST 2005


@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }P.MsoNormal {	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}LI.MsoNormal {	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}DIV.MsoNormal {	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}A:link {	COLOR: blue; TEXT-DECORATION: underline}SPAN.MsoHyperlink {	COLOR: blue; TEXT-DECORATION: underline}A:visited {	COLOR: purple; TEXT-DECORATION: underline}SPAN.MsoHyperlinkFollowed {	COLOR: purple; TEXT-DECORATION: underline}SPAN.EmailStyle17 {	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose}DIV.Section1 {	page: Section1}Hallo
i had same problem
you need to staticly set the register refresh variable in the iax2.h file and recompile. (cannot remember exact variable.. will look if you cannot find it.
put this on the external server.
I had to drop mine down to 14 sec, the default is 60.
the problem is that the nat translations seems to only stay for 15 sec. dont know why.
 
cheers
 
  ----- Original Message ----- 
  From:   Mustafa N.   Deeb 
  To: 'Asterisk Users Mailing List -   Non-Commercial Discussion' 
  Sent: Monday, February 07, 2005 9:45   AM
  Subject: [Asterisk-Users] IAX2 Trunk   Problems with NAT
  

    
Hi, 
  
 
  
I have successfully configured an   IAX trunk between 2 asterisks, calls can go through both ways without any   problems, NAT in the middle of course (iptables)
  
 
  
Now , leave them for a while   ,   and make a call from the external server , it doesn’t go   through, 
  
 
  
Dial from the internal one,   everything works fine again..
  
 
  
 
  
Now , it is clearly  a   problem in the NAT engine, although IAX shouldn’t have this   problem    
  
 
  
is there something I can do to   prevent asterisk from tearing down the trunk while it is not   used
  
 
  
or , modify the iptables so that    to allow the incoming UDP connections
  
 
  
 
  
Cheers
  
 
  
h

  
  
---------------------------------
  

_______________________________________________
Asterisk-Users   mailing   list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To   UNSUBSCRIBE or update options visit:
     http://lists.digium.com/mailman/listinfo/asterisk-users
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050207/51eceabc/attachment.htm


More information about the asterisk-users mailing list