- Tue 27th Jul 2021, 14:46
#6318
I have two asterisk servers (1 running asterisk (box1) the other running freepbx(box2)
no matter what I do, I can't seem to get them to properly send phone calls to each other
Box 1
Ip 192.168.1.57
Users in users.conf
[1001]
fullname = rick
secret = xxxx
hassip = yes
context = users
host = dynamic
[6002]
fullname = Example Joe
secret = 1234
hassip = yes
context = users
host = dynamic
Users connect to phone and can call each other
IAX2 conf
[pbx-peer]
context=from-internal
host=192.168.1.131
qualify=yes
trunk=yes
type=peer
[pbx-user]
context=from-internal
host=192.168.1.131
qualify=yes
trunk=yes
type=user
---------------
Box 2
Ip 192.168.1.131
Freepbx
Users using pjsip (3001 and 3002), can call each other
IAX2 Trunk settings
pbx-peer
context=from-internal
host=192.168.1.57
qualify=yes
trunk=yes
type=peer
pbx-user
context=from-internal
host=192.168.1.57
qualify=yes
trunk=yes
type=user
Outbound route
Through the trunk for sequence, dial pattern 1xxx
Iax2 show peers on either of the machines shows the iax2 link is up
When I try to call. I see:
IAX2/pbx-peer-19655 chan end
PJSIP/3002-0000002b hangup
no other useful logs, just lots of spam messages, phone says call circuit is busy a the moment
no matter what I do, I can't seem to get them to properly send phone calls to each other
Box 1
Ip 192.168.1.57
Users in users.conf
[1001]
fullname = rick
secret = xxxx
hassip = yes
context = users
host = dynamic
[6002]
fullname = Example Joe
secret = 1234
hassip = yes
context = users
host = dynamic
Users connect to phone and can call each other
IAX2 conf
[pbx-peer]
context=from-internal
host=192.168.1.131
qualify=yes
trunk=yes
type=peer
[pbx-user]
context=from-internal
host=192.168.1.131
qualify=yes
trunk=yes
type=user
---------------
Box 2
Ip 192.168.1.131
Freepbx
Users using pjsip (3001 and 3002), can call each other
IAX2 Trunk settings
pbx-peer
context=from-internal
host=192.168.1.57
qualify=yes
trunk=yes
type=peer
pbx-user
context=from-internal
host=192.168.1.57
qualify=yes
trunk=yes
type=user
Outbound route
Through the trunk for sequence, dial pattern 1xxx
Iax2 show peers on either of the machines shows the iax2 link is up
When I try to call. I see:
IAX2/pbx-peer-19655 chan end
PJSIP/3002-0000002b hangup
no other useful logs, just lots of spam messages, phone says call circuit is busy a the moment
How did this post make you feel?