Get help with installing, upgrading and running a PBX such as Asterisk.
User avatar
By rayrobson
Posts Avatar Topics
#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
0
Cisco 8841 3PCC

Before we go any further... Can you verify that the d…

VIP Membership

Good stuff, I see it now. Thanks @WelshPaul !

You can register multiple devices against the same SI…

I'm sure this is a config problem as it affects 3 off S…

Sign up for VIP membership