Has anyone actually successfully got a IAX trunk working Allstar Node to FreePBX? I have tried everything here and none have worked.
I have not done this with versions of freepbx of the last 8 years,
but I have done it more than once.
The issues you have could be many,
so, lets look at them one at a time.
Can you post your iax.conf for both systems. MASK PASSWORDS
As I remember it, freepbx actually uses msql db for storing settings. But it still prints them to the files.
My question would be if a modern freepbx system will read a edited file and absorb changes into the msql db.
In any case, if I can see the files, it would be a up to date of the actual settings.
You might also mention what you intend to dial at the other box. While one is obvious, the radio extensions, so what is it you want to do from ASL box at freepbx box ?
Just want to mention there is this post where we’ve already gone over it some:
And this article is mentioned in the post, which one of the members was able to use instead of the examples I had given:
Hope this helps
In case anyone ends up here with the same problem. Here is my solution (based on the last two links in the last post above me)
I am running IncrediblePBX (2027-D) on one Pi, and an Allstar node on a different Pi.
On the Allstar node I have this entry in iax.conf
[pbx_to_asl]; from pbx_to_allstar sip trunk in Incredible PBX
type=friend
username=asl_to_pbx
secret=[password]
context=radio-control
host=[incredible pbx IP address]
disallow=all
allow=ulaw
callerid="[something]"In Incredible PBX new trunk entry
Trunk Name- pbx_to_allstar (this name doesn’t matter)
Caller ID- [my node number]
–Dialed number rules - match pattern [my node number]
–iax settings
-–outgoing
Trunk Name- asl_to_pbx (this name matters)
PEER Details-
host=[ip address of Allstar node]
username=pbx_to_asl ; note this is the entry name in iax.conf in the allstar node
secret=[password]
type=peer ; this might be wrong…but it seems to work for now
context=radio-control ; entry in allstar extensions.conf
allow=all
–inbound
nothing
So big key to my setup is the Incredible PBX outgoing trunk name of asl_to_pbx with username of pbx_to_asl connects to the allstar iax.conf entry of [pbx_to_asl] with username of asl_to_pbx.
I had cryptic notes on this when I tried to rebuild my PBX after upgrading…so I only just now got it working again.
Hope this helps someone
You can use any pair you want, just realize how one points to the other.
And no I have no idea how any of this works…
Mike