On Tue, 2004-06-22 at 10:20, David Cook wrote: > 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] > > _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/ > > If I remove the trunk=yes and the context=local, then change to type user it seems to work...... I will do some more testing to see if all the different extensions work. I'm a little bewildered however .... seems like peer should have been correct, and trunking=yes. Guess as long as I can direct calls to/from each location (4 total) that's all that counts!
_______________________________________________ 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