[Asterisk-Users] IAX connection refused between 2 asterisks 1.2.5

Marco Mouta marco.mouta at gmail.com
Tue Apr 4 17:34:37 MST 2006


Just perfect! Thank you very much for your help so fast and fully explained!!!

BTW, I'm using TE110P ---> Digium board :)

Best regards,
Marco Mouta

On 4/4/06, Joshua Colp <jcolp at digium.com> wrote:
> Just because it's easier I'll do my rant up here. Don't over complicate
> things when you're doing setups like this. And please use separate user
> and peer entries instead of a friend, it makes things easier. So here we go:
>
>
> [frombrasil]
> type=peer
> host=dynamic
> secret=55118080
> disallow=all
> allow=gsm
> allow=g729
> trunk=yes
> notransfer=yes
>
> [testbrasil]
> type=peer
> host=dynamic
> secret=212121
> disallow=all
> allow=gsm
> trunk=yes
> notransfer=yes
>
> Here we go - two peer entries which another box can then register to using:
>
> register => frombrasil:55118080 at address-for-your-asterisk
> register => testbrasil:212121 at address-for-your-asterisk
>
> If you want to call them:
>
> IAX2/laranja at frombrasil/EXTENSION
> IAX2/batata at testbrasil/EXTENSION
>
> And now some simple user entries:
>
> [laranja]
> type=user
> secret=55118080
> context=wherever you want
> disallow=all
> allow=gsm
> allow=g729
> trunk=yes
> notransfer=yes
>
> [batata]
> type=user
> secret=212121
> context=wherever you want
> disallow=all
> allow=gsm
> trunk=yes
> notransfer=yes
>
> Marco Mouta wrote:
> > [general]
> > bindport = 4569           ; Port to bind to (IAX is 4569)
> > bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
> > disallow=all
> > allow=gsm
> > allow=alaw
> > allow=ulaw
> >
> > mailboxdetail=yes
> >
> >
> >
> >
> >
> > [frombrasil]
> > type=friend
> > disallow=all
> > allow=gsm
> > allow=g729
> > username=laranja
> > permit=0.0.0.0/0.0.0.0
> > context=from-brasil
> > secret=55118080
> > trunk=yes
> > host=dynamic
> > notransfer=yes
> >
> > [testbrasil]
> > type=friend
> > disallow=all
> > allow=gsm
> > username=batata
> > permit=0.0.0.0/0.0.0.0
> > context=from-brasil
> > secret=212121
> > trunk=yes
> > host=dynamic
> > notransfer=yes
> >
> >
>
> --
> Joshua Colp
> Software Developer
> Digium
> P - 256-428-6066
> C - 506-878-0147
> jcolp at digium.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
>



More information about the asterisk-users mailing list