Hi all.
I am sure this has been much covered but when searching for it I come up with stuff that is close but not the whole 9 yards.
I originally had an asterisk box with two digium cards, TDM400 (for fax machines) and an E1 card. They mostly played well together provided you loaded them in the correct order.
Recently I bought a Sangnoma a101 and built a freepbx server and installed the TDM400 and called it pbx1. These guys just would not work together. Period.
So I put the tdm400 in its own box and created a new freepbx box called pbx2.
pbx1 deals with all the voice related calls. However there is a fax number on our digital circuit. I need to forward calls based on the DID of 888890 from the trunk of pbx1 through to pbx2 and forward it to an extension where a fax machine waits to connect.
So my plan was to create an IAX2 trunk between the two using the context from-internal. That would allow them to talk nice and share resources.
[pbx01]
disallow=all
allow=alaw&g729
type=friend
username=pbx
secret=fr3nchs0l3123
auth=plaintext
host=192.168.2.161
context=from-iax
peercontext=from-internal
qualify=yes
trunk=yes
[pbx02]
disallow=all
allow=alaw&g729
type=friend
username=pbx
secret=fr3nchs0l3123
auth=plaintext
host=192.168.2.160
context=from-iax
peercontext=from-internal
qualify=yes
trunk=yes
When I do iax2 show peers I can see that all looks well.
So how do I created a route using the DID of 888890
pbx01 —> iax2trunk ----> pbx02 ----> ext 7501
currently I am getting all resources busy.
perhaps this needs to be defined in cust extensions?
All help gratefully received.
Matt