Need help getting a Grandstream GXW410X working with a hosted freepbx set up

I am trying to get a Grandstream GXW410X working with a hosted freepbx set up.

I tried to do a chan_sip trunk.

Here are my setttings

Trunk Name = Same as SIP user ID on the grandstream
type=friend
qualify=yes
secret=XXXX (same as secret on the grandstream_
host=XXXX The public ip of the grandstream. I did go ahead and forward ports 5160 to the grandstream IP
context=from-trunk
insecure=port
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=ulaw
port=5160

I had tried it without the port. I get an all circuits are busy.

Dial(“Local/8818482107702@from-internal-0000000b;2”, “SIP/700/18XXXXXXXX@GXW4104-1,300,T”) in new stack
[2019-07-03 23:39:38] WARNING[3031][C-00001b15] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
Any suggestiosn?

Thank you

Although a statically configured setup might work around some obscure problems, using registration is much simpler and I recommend you try that first.

Use these settings in the Peer Details for your trunk:

type=friend
qualify=yes
username=XXXX (same as SIP user ID on the Grandstream)
secret=XXXX (same as secret on the grandstream)
host=dynamic
nat=yes
context=from-trunk
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=ulaw

User Details section should be left blank.

In the GXW (these are guesses because I don’t have this specific device):
SIP Server: (PBX IP address : port), e.g. 1.2.3.4:5160
SIP Registration: Yes
Stage Method: 1
Unconditional Call Forward to VOIP: (your DID number matching your Inbound Route), e.g. 8482371234

If you still have trouble, report whether GXW shows as registered, what goes wrong on outgoing and incoming calls and a log (including SIP trace) of a failing call.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.