[Asterisk-Users] IAX2 Trunking help!

Kevin Walsh kevin at cursor.biz
Tue Jun 22 07:08:33 MST 2004


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
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/




More information about the asterisk-users mailing list