[Asterisk-Dev] IAX Trunking between 2 Asterisks

Kang.ChenJi at c3smail.monmouth.army.mil Kang.ChenJi at c3smail.monmouth.army.mil
Thu Oct 9 12:37:39 MST 2003


Hi Duncan,

Thank you very much for your help. I have following 2 questions:

1.    How do you verify the this trunk working properly? Any "show"
commands?

2.    If I have 2 SIP phones, one registered on ServerA, and the other one
registered on ServerB. Can I call from
      one SIP phone to the other by using the IAX trunk?

Thank you in advance,
Kang



                                                                                                                                              
                      duncan                                                                                                                  
                      <duncan at impede.net>             To:       asterisk-dev at lists.digium.com                                                 
                      Sent by:                        cc:                                                                                     
                      asterisk-dev-admin at lists        Subject:  Re: [Asterisk-Dev] IAX Trunking between 2 Asterisks                           
                      .digium.com                                                                                                             
                                                                                                                                              
                                                                                                                                              
                      10/09/2003 01:02 PM                                                                                                     
                      Please respond to                                                                                                       
                      asterisk-dev                                                                                                            
                                                                                                                                              
                                                                                                                                              





>Any one can give me some instruction on how to configure IAX trunk between
>2 Asterisks?

well ive just done it and got it working properly (i hope) thanks to
everyone in the #asterisk channel over the past few days.  heres the
configs:


ServerA

iax.conf:
-----------------------------------
[general]
port=5036
bandwidth=low
disallow=all
allow=gsm

jitterbuffer=yes
tos=lowdelay

register => trunk_demo:trunk_d3m0 at serverb

[trunk_demo]
type=friend
host=dynamic
trunk=yes
auth=md5,plaintext,rsa
secret=trunk_d3m0
username=trunk_demo
qualify=yes
context=trunk



ServerB



iax.conf
-----------------------------------
[general]
port=5036
bandwidth=low
disallow=all
allow=gsm

jitterbuffer=yes
tos=lowdelay

register => trunk_demo:trunk_d3m0 at servera

[trunk_demo]
type=friend
host=dynamic
trunk=yes
auth=md5,plaintext,rsa
secret=trunk_d3m0
username=trunk_demo
qualify=yes
context=trunk

extensions.conf
-----------------------------------
exten => _X.,1,Dial,IAX2/trunk_demo:trunk_d3m0 at servera/${EXTEN}



hope this helps


duncan

_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev








More information about the asterisk-dev mailing list