# Inbound calls from PSTN to FreePBX through Grandstream GXW410X FXO Gateway fail

**URL:** <https://community.freepbx.org/t/inbound-calls-from-pstn-to-freepbx-through-grandstream-gxw410x-fxo-gateway-fail/49794>\
**Category:** General Help\
**Tags:** siptrunk\
**Created:** [May 13, 2018, 11:16pm UTC](https://community.freepbx.org/t/inbound-calls-from-pstn-to-freepbx-through-grandstream-gxw410x-fxo-gateway-fail/49794 "2018-05-13T23:16:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Computerman](https://community.freepbx.org/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@Computerman](https://community.freepbx.org/u/Computerman)\
**Post date:** [May 13, 2018, 11:16pm UTC](https://community.freepbx.org/t/inbound-calls-from-pstn-to-freepbx-through-grandstream-gxw410x-fxo-gateway-fail/49794/1 "2018-05-13T23:16:15Z")

</div>

I am trying to configure a Grandstream GXW410x as a trunk on my FreePBX server.  
While I am able to make outgoing calls through the GXW410 without an issue. When I receive an incoming call, the extensions never ring and the following error is displayed in the FreePBX log chan\_sip.c: username mismatch, have , digest has \<\>.  
I followed these [instructions](https://wiki.freepbx.org/display/FOP/Configuring+a+Grandstream+GXW-410X+Device+to+act+as+an+FXO+Gateway) to configure the GXW410 to work with FreePBX.  
I also tried adding match\_auth\_username=yes from some forum posts I found with similar issues with other gateways, but this did not resolve the error.

---

<div class="post-metadata">

**Author:** ![arielgrin](https://community.freepbx.org/letter_avatar_proxy/v4/letter/a/f17d59/32.png) [@arielgrin](https://community.freepbx.org/u/arielgrin)\
**Post date:** [May 14, 2018, 12:11am UTC](https://community.freepbx.org/t/inbound-calls-from-pstn-to-freepbx-through-grandstream-gxw410x-fxo-gateway-fail/49794/2 "2018-05-14T00:11:22Z")

</div>

Make sure that you name the trunk with numbers only and use that name as the autentication name on the gateway.

---

<div class="post-metadata">

**Author:** ![Computerman](https://community.freepbx.org/letter_avatar_proxy/v4/letter/c/8c91f0/32.png) [@Computerman](https://community.freepbx.org/u/Computerman)\
**Post date:** [June 16, 2018, 1:39am UTC](https://community.freepbx.org/t/inbound-calls-from-pstn-to-freepbx-through-grandstream-gxw410x-fxo-gateway-fail/49794/4 "2018-06-16T01:39:03Z")

</div>

I’m just getting back to this now. I tried changing the trunk name to numbers only and used that name for the auth name on the gateway, but it still as giving me the error that the digest user was \<\>.  
I did try the option insecure-invite that I saw in a different forum post and the calls from the trunk are now making it into FreePBX. I’m not sure why the secret is coming through blank unless there is a bug with the Grandstream.

---

<div class="post-metadata">

**Author:** ![system](https://community.freepbx.org/uploads/default/original/3X/f/7/f7056d57e04fdbf71c6ad967e1ced351317f5c3f.png) [@system](https://community.freepbx.org/u/system)\
**Post date:** [June 16, 2019, 1:39am UTC](https://community.freepbx.org/t/inbound-calls-from-pstn-to-freepbx-through-grandstream-gxw410x-fxo-gateway-fail/49794/5 "2019-06-16T01:39:05Z")

</div>

Closed on June 16, 2019, 1:39am UTC

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