db_nz@paradise.net.nz
2005-Jun-13 19:00 UTC
[Asterisk-Users] Need help connecting two * pcs with *@home
I have read through the info available on the list and searched for things with google. I have found quite a bit of info on the subject, mainly to do with 'simply add this to iax.conf and this to extentions.conf and it will work'. So I tried all of those things and I can't for the life of me get this thing to work properly. What I want to be able to do is dial ext 2009 from server b (2009 doesnt exist on this server) and have it ring 2009 on server a. If that is difficult to do, I can always revert to dialing a prefix, eg. 22009 to call server a.
Andy Hamilton
2005-Jun-13 20:14 UTC
[Asterisk-Users] Need help connecting two * pcs with *@home
On 6/13/05, db_nz@paradise.net.nz <db_nz@paradise.net.nz> wrote:> What I want to be able to do is dial ext 2009 from server b (2009 doesnt exist > on this server) and have it ring 2009 on server a. If that is difficult to do, > I can always revert to dialing a prefix, eg. 22009 to call server a.If you're using IAX, you may find the following of some use: Server A: In iax.conf: [general] register => andy:mypassword@myipaddressorhost.com [andy] type=friend context=otherservervoip auth=rsa inkeys=otherserver In extensions.conf: [otherservervoip] exten = _66XXX,1,Dial(IAX2/andy:mypassword@myiporhost.com/${EXTEN:2}) Server B: [andy] type=friend secret=mypassword username=andy host=dynamic context=default outkey= otherservervoip I gleaned most of this from the wiki (voip-info.org). Highly recommended and valuable resource. Be prepared to play around with this stuff a bit first before it works. I think you'll find the documentation extremely helpful. -Andy