[Asterisk-Users] IAX2 Trunking help!

David Cook dbc_asterisk at advan.ca
Tue Jun 22 07:20:27 MST 2004


So you're saying that the following would be the same?

iax.conf
[YOUR_REC_SERVER]
secret=mysecret
host=my.receiving.server.ca
context=local

extensions.conf
exten => _5XXX,1,Dial(IAX2/YOUR_REC_SERVER/${EXTEN})

If so, what about the type=peer/user/friend thing? I did read the docs
but maybe I'm thick. Maybe the visual person in me needs to see a matrix.

Further, If I can get two boxes to talk together like this, what exactly
is the "register" for ... what does it actually do?

dbc.

Quoting Kevin Walsh <kevin at cursor.biz>:

> David Cook [dbc_asterisk at advan.ca] wrote:
> > [mycontext]
> > exten =>
> >
>
_5XXX,1,Dial(IAX2/REC_SERVER:mysecret at my.receiving.server.ca/${EXTEN}@local)
> > exten => _5XXX,2,Hangup exten => _5XXX,102,Hangup
> > 
> You really don't want your username and password to appear (in
> plain
> text) in your logs.
> 
> Put the sensitive details in iax.conf instead of extensions.conf.
> As well as being more secure, it'll make your Dial() string
> shorter,
> and will mean that you only have to change the connection details
> in
> one place, should the need arise in the future.
> 
> -- 
>    _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
>   _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s
> h
>  _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
> _/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
> 
> _______________________________________________
> 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
> 
-- 
David Cook



More information about the asterisk-users mailing list