Re: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread David Cook
I was just trying to solve this one myself. I found this method worked for me. I'm still calling this Method 1 in my document because I don't fully understand the switch and the register versions and pros/cons to implementation of each. But this one does work. Method 1 Receiving Server Iax.conf

RE: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread Kevin Walsh
Tony Nichols [EMAIL PROTECTED] wrote: I'm trying to get two * boxes to talk no matter what variation I try I get No Authority Found and connection refused from 192.168.1.5 [snip] Server b config (192.168.2.2): [pbx] type=peer host=dynamic trunk=yes secret=test qualify=yes Use

RE: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread Kevin Walsh
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

RE: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread David Cook
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

Re: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread Andrew Kohlsmith
On Tuesday 22 June 2004 10:08, Kevin Walsh wrote: 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

Re: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread steve
On Tue, 22 Jun 2004, Tony Nichols wrote: I'm trying to get two * boxes to talk no matter what variation I try I get No Authority Found and connection refused from 192.168.1.5 I've googled, I've site searched to no avail. I think you need to match a peer at one end to a user at the

RE: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread Kevin Walsh
David Cook [EMAIL PROTECTED] 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

RE: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread David Cook
Perfect! Thanks for the clarification. That's what my brain needed - on both points. dbc. Quoting Kevin Walsh [EMAIL PROTECTED]: If that's on your outgoing side then you'll also need type = peer in there. The incoming side would have type = user. Outgoing = peer, incoming = user. Friend

RE: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread Tony Nichols
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

RE: [Asterisk-Users] IAX2 Trunking help!

2004-06-22 Thread Paul Mahler
Of David Cook Sent: Tuesday, June 22, 2004 5:48 AM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] IAX2 Trunking help! I was just trying to solve this one myself. I found this method worked for me. I'm still calling this Method 1 in my document because I don't fully understand the switch