Re: [Asterisk-Users] need help configuring IAX to make outbound calls through a remote server

2004-01-22 Thread C. Maj
On Wed, 21 Jan 2004, Paul Mahler waxed:

 I am trying to make outbound calls from my Asterisk client through a remote
 Asterisk server with IAX. 
 
 In iax.conf on both sides 
 
 [dar]
 context=trusted
 secret=xx
 type=friend
 host=192.168.1.1

I'm not going to try and fix all of this, but if you've got
the same hostname on both hosts, one of them doesn't know
about the other.  You need to set the host differently on
each of the hosts.  Ie, on 192.168.1.1, you need to set
host=192.168.1.2 and on 192.168.1.2, you need to set
host=192.168.1.1.

 in extensions.conf  at the client making the call
 
 Exten=_1NXXNXX,1,Dial(IAX2/dar:[EMAIL PROTECTED]/)
 
 What goes in extensions.conf at the remote server? What is needed for the
 remote server to accept the call from my client, figure out the dialed
 number and then dial it outbound on some line? 

You'll need to have a trusted context in each, for
starters.  But there's a lot more dialplan work you'll need
to do, depending on where your outbound lines are, what
numbers they can dial without incurring toll charges, etc.

--Chris


-- 

Chris Maj cmaj_hat_freedomcorpse_hot_info
Pronunciation Guide:  Maj == May
Fingerprint: 43D6 799C F6CF F920 6623  DC85 C8A3 CFFE F0DE C146

___
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


[Asterisk-Users] need help configuring IAX to make outbound calls through a remote server

2004-01-21 Thread Paul Mahler








I am trying to make outbound calls from my Asterisk client through
a remote Asterisk server with IAX. 



In iax.conf on both sides 



[dar]

context=trusted

secret=xx

type=friend

host=192.168.1.1



in extensions.conf at the client making the call



Exten=_1NXXNXX,1,Dial(IAX2/dar:[EMAIL PROTECTED]/)



What goes in extensions.conf at the remote server? What is
needed for the remote server to accept the call from my client, figure out the
dialed number and then dial it outbound on some line? 



Thanks!



Paul







Paul Mahler 

mail:[EMAIL PROTECTED]

phone: 650.207.9855

fax: 877.408.0105