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!!!