GS HT503 FXO cannot get to work

I have spent a day and a half on this and tried litterly everything and I can’t get past “All circuits are busy”.

I have followed this: https://wiki.freepbx.org/pages/viewpage.action?pageId=33293313#ConfiguringaGrandstreamHT503DevicetoactasanFXOGateway(andthewhysbehindsettingupanFXOappliance)-Stage2inDetail

Didn’t work, I have scoured google and the internet and nothing seems to work. The FXS port is working fine, but the FXO to connect the POTS line to freepbx as a trunk wont.

My current configs are:

Trunk:

General Settings

Trunk Name:
8675309
Outbound CallerID:
8675309
CID Options:
Maximum Channels:
1
Asterisk Trunk Dial Options
Tt
Override
Continue if Busy: Check to always try next trunk
Disable Trunk: Disable
Dialed Number Manipulation Rules

(
fprepend
) +
1
|
NXXNXXXXXX
insert remove
(
prepend
) +
prefix
|
match pattern
insert remove

  • Add More Dial Pattern Fields Clear all Fields
    Dial Rules Wizards:
    Outbound Dial Prefix:
    Export Dialplans as CSV: Export
    Outgoing Settings

Trunk Name:
8675309
PEER Details:

username=8675309
type=friend
secret=test54321
qualify=yes
port=5062
nat=never
host=dynamic
context=from-pstn
canreinvite=no

Incoming Settings

USER Context:
USER Details:

Registration

Register String:

Outbound route:

Note: Extension Routes is not registered
Route Name:
8675309
Route CID:
Override Extension
Route Password:
Route Type: Emergency Intra-Company
Music On Hold?
Time Group:
Route Position
Additional Settings

Note that the meaning of these options has changed. Please read the wiki for futher information on these changes.

Call Recording: ForceYesDon’t CareNoNever
PIN Set:
Dial Patterns that will use this Route

(
prepend
) +
prefix
| [
1NXXNXXXXXX
/
CallerID
] insert remove
(
prepend
) +
prefix
| [
NXXNXXXXXX
/
CallerID
] insert remove
(
prepend
) +
prefix
| [
match pattern
/
CallerID
] insert remove

  • Add More Dial Pattern Fields
    Dial patterns wizards:
    Export Dialplans as CSV: Export
    Trunk Sequence for Matched Routes

0 Click here to remove this trunk
1
Add Trunk
Optional Destination on Congestion

FXO:

Account Active: No Yes
Primary SIP Server:
10.0.0.50
(e.g., sip.mycompany.com, or IP address)
Failover SIP Server:
(Optional, used when primary server no response)
Prefer Primary SIP Server: No Yes ( yes - will register to Primary Server if Failover registration expires)
Outbound Proxy:
(e.g., proxy.myprovider.com, or IP address, if any)
SIP Transport: UDP TCP TLS (default is UDP)
NAT Traversal: No Keep-Alive STUN UPnP
SIP User ID:
8675309
(the user part of an SIP address)
Authenticate ID:
8675309
(can be identical to or different from SIP User ID)
Authenticate Password:
(purposely not displayed for security protection)
Name:
(optional, e.g., John Doe)

DNS Mode: A Record SRV NAPTR/SRV Use Configured IP
DNS SRV use Registered IP: No Yes
Primary IP:
Backup IP1:
Backup IP2:
Tel URI:
SIP Registration: No Yes
Unregister On Reboot: No Yes
Outgoing Call without Registration: No Yes

HT503:

Product Model: HT-503 V2.0A
Software Version: Program – 1.0.15.5 Bootloader – 1.0.0.18 Core – 1.0.15.4 Base – 1.0.15.5
Extra – 1.0.15.3 CPE – 0.0.1.91
System Up Time: 12:05:15 up 12:06
PPPoE Link Up: Disabled
NAT: Unknown NAT
Port Status:
Port Hook User ID Registration
FXS On Hook 125 Registered
FXO Idle 8675309 Registered

Any help is appreciated!!!

Check the dialplan on the HT503, usually stays in the FXO line

FXO: Dial plan:

Do Not Escape ‘#’ as %23 in SIP URI: No Yes
Disable Multiple m line in SDP: No Yes
Ring Timeout:
60
(10-300, default is 60 seconds)
Early Dial: No Yes (use “Yes” only if proxy supports 484 response)
Dial Plan Prefix:
(this prefix string is added to each dialed number)
Use # as Dial Key: No Yes (if set to Yes, “#” will function as the “Dial” key)
Dial Plan:
{* xx | 1xx | 7xx | 2xxxxxx | 9xxxxxx | 1xxxxxxxxxx | xxxxxxxxxx | 0 [1-4]}
SUBSCRIBE for MWI: No, do not send SUBSCRIBE for Message Waiting Indication
Yes, send periodical SUBSCRIBE for Message Waiting Indication
Anonymous Call Rejection: No Yes
Special Feature:
Session Expiration:
180
(in seconds. default 180 seconds)
Min-SE:
90
(in seconds. default and minimum 90 seconds)
Caller Request Timer: No Yes (Request for timer when making outbound calls)
Callee Request Timer: No Yes (When caller supports timer but did not request one)
Force Timer: No Yes (Use timer even when remote party does not support)
UAC Specify Refresher: UAC UAS Omit (Recommended)
UAS Specify Refresher: UAC UAS (When UAC did not specify refresher tag)
Force INVITE: No Yes (Always refresh with INVITE instead of UPDATE)
INVITE Ring-No-Answer Timeout (sec):
40
(5-300 seconds. Default 40 seconds)
Enable 100rel: No Yes
Add Auth Header On Initial REGISTER: No Yes

Checks if one of these dialing rules fits the dialing pattern you are sending to the HT503

sending 19512134748

The number you sent fits this pattern!
There should be no dialing pattern

I removed that from the FXO dial plan and still get the same issue.

I got it working following this guys settings:

https://forums.grandstream.com/forums/index.php?topic=25740.msg70817#msg70817