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 <[EMAIL PROTECTED]>:

> David Cook [EMAIL PROTECTED] wrote:
> > [mycontext]
> > exten =>
> >
>
_5XXX,1,Dial(IAX2/REC_SERVER:[EMAIL PROTECTED]/[EMAIL PROTECTED])
> > 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
>  _/ _/    _/          _/ _/     _/    _/  _/_/    [EMAIL PROTECTED]
> _/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
-- 
David Cook
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to