[Asterisk-Users] IAX2 Trunk Problems with NAT

Liaan vd Merwe liaan at yahoo.com
Mon Feb 7 05:12:01 MST 2005


v\:* {	BEHAVIOR: url(#default#VML)}o\:* {	BEHAVIOR: url(#default#VML)}w\:* {	BEHAVIOR: url(#default#VML)}..shape {	BEHAVIOR: url(#default#VML)}st1\:*{behavior:url(#default#ieooui) }     ok.
your options are:
setup publishing rule on your IPtables to allow access to you internal *  from external *
or:
register to the external server using the internalserver-peer username:pass
then you can, in your extension.conf, call dial(iax2/internal-peer)
 
let me know if you need some help with this
regards
liaan
 
  ----- Original Message ----- 
  From:   Mustafa N.   Deeb 
  To: 'Asterisk Users Mailing List -   Non-Commercial Discussion' 
  Sent: Monday, February 07, 2005 1:01   PM
  Subject: RE: [Asterisk-Users] IAX2 Trunk   Problems with NAT
  

    
No ,   
  
I’m using the other   type configuration since the NAT server IP doesn’t   change..
  
 
  
On the External   Server
  
 
  
[internalserver-peer]
  
username=external-user
  
type=peer
  
trunk=yes
  
secret=password
  
host={external NAT IP   ADDRESS}
  
 
  
[internal-user]
  
type=user
  
trunk=yes
  
secret=password
  
context=from-internal
  
 
  
 
  
on the internal   server
  
 
  
[external-peer]
  
username=internal-user
  
type=peer
  
trunk=yes
  
secret=password
  
host={external IP   ADDRESS}
  
 
  
[external-user]
  
type=user
  
trunk=yes
  
secret=password
  
context=from-internal
    
---------------------------------
  
    
From:   asterisk-users-bounces at lists.digium.com   [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Liaan vd Merwe
Sent: Monday, February 07, 2005 12:28   PM
To: Mustafa at palnet.com; Asterisk Users Mailing List - Non-Commercial   Discussion
Subject: Re: [Asterisk-Users] IAX2 Trunk   Problems with NAT

  
 
    
 

    
How did you configure the trunk   between the 2 servers?

    
using register =>   user:pass at external server

    
or using   extension?

    
 

          
----- Original Message -----     

        
From: Mustafa N.     Deeb 

        
To: 'Asterisk Users Mailing List -     Non-Commercial Discussion' 

        
Sent: Monday,     February 07, 2005 12:21 PM

        
Subject: RE:     [Asterisk-Users] IAX2 Trunk Problems with     NAT

        
 

    
Yes
    
 
    
 
            
---------------------------------
    
    
From: asterisk-users-bounces at lists.digium.com     [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Liaan vd Merwe
Sent: Monday, February 07, 2005 12:17     PM
To: Mustafa at palnet.com; Asterisk Users Mailing List - Non-Commercial     Discussion
Subject: Re: [Asterisk-Users] IAX2     Trunk Problems with NAT

    
 
        
on both     servers?

                
----- Original Message -----       

            
From: Mustafa N.       Deeb 

            
To: 'Asterisk Users Mailing List       - Non-Commercial Discussion' 

            
Sent:       Monday, February 07, 2005 12:12 PM

            
Subject: RE:       [Asterisk-Users] IAX2 Trunk Problems with       NAT

            
 

      
Weird
      
 
      
It is empty ,       even during a call
      
 
      
pbx*CLI> iax2       show registry
      
Host                        Username          Perceived                   Refresh  State
      
pbx*CLI>
      
 
            
 

      
 
                  
---------------------------------
      
      
From: asterisk-users-bounces at lists.digium.com       [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Liaan vd       Merwe
Sent: Monday,       February 07, 2005 12:03 PM
To: Mustafa at palnet.com; Asterisk Users Mailing List - Non-Commercial       Discussion
Subject: Re: [Asterisk-Users] IAX2       Trunk Problems with NAT

      
 

  
  
---------------------------------
  Do you Yahoo!?
All your favorites on one personal page  Try My Yahoo!  
  
---------------------------------
  

_______________________________________________
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!?
 The all-new My Yahoo! – Get yours free!    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050207/9b5e78ea/attachment.htm


More information about the asterisk-users mailing list