Quoting Ariel Batista <[EMAIL PROTECTED]>: [Say hi to Steve for me!]
> I need to get 2 Asterisk servers working together. I have been reading > I have tried the command in the 2nd box of > > [local] > switch => IAX2/redbox2:[EMAIL PROTECTED]/local > > What I am looking for is a real example of someone's working boxes. I > need to share the dialing rules and the trunks. In this case the Wiki (Names have been changed to protect the innocent) Hopefully this helps in your quest for knowledge! I think I've got all the relevant bits included. machine master iax.conf: [slave] type=user auth=plaintext context=outbound context=outbound2 ; (can have multiple if you want) secret=secret host=dynamic callerid="slave" trunk=yes notransfer=yes [slave] type=peer auth=plaintext context=outbound-nuphone secret=secret host=dynamic trunk=yes notransfer=yes in extensions.conf: [assigned-dids] ; uncomment a dial mechanism, first one goes to specific extension ; other one goes to dial parameter s. ;exten => 7046446999,1,Dial,IAX2/[EMAIL PROTECTED]/${EXTEN} ;exten => 7046446999,1,Dial,IAX2/[EMAIL PROTECTED] machine slave iax.conf: register => slave:[EMAIL PROTECTED] [master] type=peer host=iax-gw1.company.net secret=secret context=outbound trunk=yes canreinvite=no [master] type=user secret=secret context=acontext trunk=yes canreinvite=no In extensions.conf: [outbound] switch => IAX2/master:[EMAIL PROTECTED]/outbound Ray Burkholder 704 644 6999 x2002 http://www.oneunified.net [EMAIL PROTECTED] Asterisk Consulting Services, DID's, Termination, Origination ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ -- Scanned for viruses and dangerous content at http://www.oneunified.net and is believed to be clean. _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users